Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions modules/persistent-storage-local-metrics.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@

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

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

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

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