You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<1> The name of your `ServiceMonitor` resource, for example, `developer-hub-service-monitor`.
46
-
<2> The namespace where your `ServiceMonitor` will live.
47
-
<3> The label name identifying the `ServiceMonitor` CR instance.
48
-
<4> The namespace where your {product-very-short} instance is installed.
49
-
<5> The name of your {product-very-short} deployment.
50
-
[NOTE]
46
+
<2> The namespace where your `ServiceMonitor` will live, for example, `{my-product-namespace}`.
47
+
<3> The label name identifying the `ServiceMonitor` CR instance, for example, `{my-product-cr-name}`.
48
+
<4> The namespace where your {product-very-short} instance is installed, for example, `{my-product-namespace}`.
49
+
<5> The name of your {product-very-short} deployment, for example, `developer-hub`.
50
+
<6> The type of custom resource that you want to use, for example, `{product-custom-resource-type}`.
51
51
+
52
+
[NOTE]
52
53
====
53
-
`spec.selector.matchLabels` configuration must match the labels of your {product-very-short} installation. To confirm the label names, go to Project > Services and verify the labels for `backstage-developer-hub`.
54
+
`spec.selector.matchLabels` configuration must match the labels of your {product-very-short} installation.
54
55
====
55
56
56
57
. Apply the `ServiceMonitor` CR by running the following command:
@@ -64,4 +65,4 @@ oc apply -f <filename>
64
65
65
66
. From the *Developer* perspective in the {ocp-short} web console, select the *Observe* view.
66
67
. Click the *Metrics* tab to view metrics for {product} pods.
67
-
. From the OpenShift Console in the Developer view, click **Project > Services** and verify the labels for `backstage-developer-hub`.
68
+
. From the OpenShift Console in the Developer view, click **Project > Services** and verify the labels for `backstage-developer-hub`.
0 commit comments