Skip to content

Commit ff71534

Browse files
committed
OCPBUGS-20159: Document how to enable LSO metrics after installation
1 parent ceacc5e commit ff71534

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

Diff for: modules/persistent-storage-local-metrics.adoc

+8-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@
1919

2020
* `lso_lv_provisioned_PV_count`: total number of provisioned PVs for `LocalVolume`
2121

22-
To use these metrics, be sure to:
22+
To use these metrics, enable them by doing one of the following:
2323

24-
* Enable support for monitoring when installing the Local Storage Operator.
24+
* When installing the Local Storage Operator from _OperatorHub_ in the web console, select the _Enable Operator recommended cluster monitoring on this Namespace_ checkbox.
2525

26-
* When upgrading to {product-title} 4.9 or later, enable metric support manually by adding the `operator-metering=true` label to the namespace.
26+
* Manually add the `openshift.io/cluster-monitoring=true` label to the Operator namespace by running the following command:
27+
+
28+
[source,terminal]
29+
----
30+
$ oc label ns/openshift-local-storage openshift.io/cluster-monitoring=true
31+
----

0 commit comments

Comments
 (0)