Skip to content

Commit 886d759

Browse files
committed
Made a few changes
1 parent 8686746 commit 886d759

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

modules/observe/proc-admin-enabling-metrics-ocp-operator.adoc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,24 @@ metadata:
3333
spec:
3434
namespaceSelector:
3535
matchNames:
36-
- {my-product-namespace} <2>
36+
- {my-product-namespace} <4>
3737
selector:
3838
matchLabels:
39-
app.kubernetes.io/instance: developer-hub <4>
39+
app.kubernetes.io/instance: developer-hub <5>
4040
app.kubernetes.io/name: {product-custom-resource-type}
4141
endpoints:
4242
- port: http-metrics
4343
path: '/metrics'
4444
----
45-
<1> The name of your ServiceMonitor resource, for example, `developer-hub-service-monitor`.
46-
<2> The namespace where your ServiceMonitor lives and where your {product-very-short} instance is installed.
45+
<1> The name of your `ServiceMonitor` resource, for example, `developer-hub-service-monitor`.
46+
<2> The namespace where your `ServiceMonitor` lives.
4747
<3> The name of the {ocp-short} project where your {product} instance is running.
48-
<4> The name of your {product-very-short} deployment.
48+
<4> The namespace where your {product-very-short} instance is installed.
49+
<5> The name of your {product-very-short} deployment.
4950
[NOTE]
5051
+
5152
====
52-
`spec.selector.matchLabels` configuration must match the labels of your {product-very-short} installation. To confirm the label names, go to Project > Services and get the labels for `backstage-developer-hub`.
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`.
5354
====
5455

5556
. Apply the `ServiceMonitor` CR by running the following command:

0 commit comments

Comments
 (0)