Skip to content

Commit 7116493

Browse files
committed
Incorporated comments
1 parent e6fdc26 commit 7116493

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,24 @@ Currently, the {product} Operator does not support creating a `ServiceMonitor` c
2525
apiVersion: monitoring.coreos.com/v1
2626
kind: ServiceMonitor
2727
metadata:
28-
name: <developer-hub-service-monitor-name> <1>
29-
namespace: <rhdh-namespace-name> <2>
28+
name: _<developer_hub_service_monitor_name>_ <1>
29+
namespace: _<rhdh_namespace_name>_ <2>
3030
labels:
31-
app.kubernetes.io/instance: <rhdh-cr-name> <3>
31+
app.kubernetes.io/instance: _<rhdh_cr_name>_ <3>
3232
app.kubernetes.io/name: {product-custom-resource-type}
3333
spec:
3434
namespaceSelector:
3535
matchNames:
36-
- <rhdh-namespace-name> <4>
36+
- _<rhdh_namespace_name>_ <4>
3737
selector:
3838
matchLabels:
39-
app.kubernetes.io/instance: <deployment-name> <5>
40-
app.kubernetes.io/name: <rhdh-cr-type> <6>
39+
app.kubernetes.io/instance: _<deployment_name>_ <5>
40+
app.kubernetes.io/name: _<rhdh_cr_type>_ <6>
4141
endpoints:
4242
- port: http-metrics
4343
path: '/metrics'
4444
----
45-
<1> The name of your `ServiceMonitor` resource, for example, `developer-hub-service-monitor`.
45+
<1> The name of your `ServiceMonitor` resource, for example, `developer_hub_service_monitor`.
4646
<2> The namespace where your `ServiceMonitor` will live, for example, `{my-product-namespace}`.
4747
<3> The label name identifying the `ServiceMonitor` CR instance, for example, `{my-product-cr-name}`.
4848
<4> The namespace where your {product-very-short} instance is installed, for example, `{my-product-namespace}`.

0 commit comments

Comments
 (0)