Skip to content

Commit e60f061

Browse files
authored
Merge pull request #36567 from lpettyjo/OSDOCS-2191
OSDOCS-2191: New metrics for LSO
2 parents 4262d7f + e481349 commit e60f061

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * storage/persistent_storage/persistent-storage-local.adoc
4+
5+
[id="local-storage-metrics_{context}"]
6+
= Local Storage Operator Metrics
7+
8+
{product-title} provides the following metrics for the Local Storage Operator:
9+
10+
* `lso_discovery_disk_count`: total number of discovered devices on each node
11+
12+
* `lso_lvset_provisioned_PV_count`: total number of PVs created by `LocalVolumeSet` objects
13+
14+
* `lso_lvset_unmatched_disk_count`: total number of disks that Local Storage Operator did not select for provisioning because of mismatching criteria
15+
16+
* `lso_lvset_orphaned_symlink_count`: number of devices with PVs that no longer match `LocalVolumeSet` object criteria
17+
18+
* `lso_lv_orphaned_symlink_count`: number of devices with PVs that no longer match `LocalVolume` object criteria
19+
20+
* `lso_lv_provisioned_PV_count`: total number of provisioned PVs for `LocalVolume`
21+
22+
To use these metrics, be sure to:
23+
24+
* Enable support for monitoring when installing the Local Storage Operator.
25+
26+
* When upgrading to {product-title} 4.9 or later, enable metric support manually by adding the `operator-metering=true` label to the namespace.

storage/persistent_storage/persistent-storage-local.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ include::modules/persistent-storage-local-discovery.adoc[leveloffset=+1]
3434

3535
include::modules/persistent-storage-local-tolerations.adoc[leveloffset=+1]
3636

37+
include::modules/persistent-storage-local-metrics.adoc[leveloffset=+1]
38+
39+
For more information about metrics, see xref:../../monitoring/managing-metrics.adoc#managing-metric[Managing metrics].
40+
3741
== Deleting the Local Storage Operator resources
3842

3943
include::modules/persistent-storage-local-removing-devices.adoc[leveloffset=+2]

0 commit comments

Comments
 (0)