Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-4.18] OCPBUGS-50524: Add cluster:master_nodes metric retrieval in docs #9449

Open
wants to merge 1 commit into
base: release-4.18
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/user/openstack/observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ once every 30 seconds.

[ocp-federation-docs]: https://docs.openshift.com/container-platform/4.17/observability/monitoring/accessing-third-party-monitoring-apis.html#monitoring-querying-metrics-by-using-the-federation-endpoint-for-prometheus_accessing-monitoring-apis-by-using-the-cli

In this example, we will only request two metrics: `kube_node_info` and
`kube_persistentvolume_info` (see the `params.match[]` query below).
In this example, we will only request three metrics: `kube_node_info`, `kube_persistentvolume_info`
and `cluster:master_nodes` (see the `params.match[]` query below).

While connected to the RHOSO cluster, apply this manifest:

Expand All @@ -319,7 +319,7 @@ metadata:
spec:
params:
'match[]':
- '{__name__=~"kube_node_info|kube_persistentvolume_info"}'
- '{__name__=~"kube_node_info|kube_persistentvolume_info|cluster:master_nodes"}'
metricsPath: '/federate'
authorization:
type: Bearer
Expand Down