Skip to content

Commit f4816b1

Browse files
committed
OBSDOCS-1394: Issue in file observability/monitoring/accessing-third-party-monitoring-apis.adoc
1 parent 325c16e commit f4816b1

4 files changed

+4
-4
lines changed

modules/accessing-metrics-outside-cluster.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $ TOKEN=$(oc whoami -t)
3434
+
3535
[source,terminal]
3636
----
37-
$ HOST=$(oc -n openshift-monitoring get route thanos-querier -ojsonpath={.status.ingress[].host})
37+
$ HOST=$(oc -n openshift-monitoring get route thanos-querier -ojsonpath='{.status.ingress[].host}')
3838
----
3939

4040
. Set the namespace to the namespace in which your service is running by using the following command:

modules/monitoring-accessing-third-party-monitoring-web-service-apis.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ $ TOKEN=$(oc whoami -t)
3232
+
3333
[source,terminal]
3434
----
35-
$ HOST=$(oc -n openshift-monitoring get route alertmanager-main -ojsonpath={.status.ingress[].host})
35+
$ HOST=$(oc -n openshift-monitoring get route alertmanager-main -ojsonpath='{.status.ingress[].host}')
3636
----
3737

3838
. Query the service API receivers for Alertmanager by running the following command:

modules/monitoring-determining-why-prometheus-is-consuming-disk-space.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ endif::openshift-dedicated,openshift-rosa-hcp,openshift-rosa[]
7575
+
7676
[source,terminal]
7777
----
78-
$ HOST=$(oc -n openshift-monitoring get route prometheus-k8s -ojsonpath={.status.ingress[].host})
78+
$ HOST=$(oc -n openshift-monitoring get route prometheus-k8s -ojsonpath='{.status.ingress[].host}')
7979
----
8080
+
8181
.. Extract an authentication token by running the following command:

modules/monitoring-querying-metrics-by-using-the-federation-endpoint-for-prometheus.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $ TOKEN=$(oc whoami -t)
5757
+
5858
[source,terminal]
5959
----
60-
$ HOST=$(oc -n openshift-monitoring get route prometheus-k8s-federate -ojsonpath={.status.ingress[].host})
60+
$ HOST=$(oc -n openshift-monitoring get route prometheus-k8s-federate -ojsonpath='{.status.ingress[].host}')
6161
----
6262

6363
. Query metrics from the `/federate` route.

0 commit comments

Comments
 (0)