Consolidate drive health related metrics into single metric (#19706)

Instead of having "online" and "healing" as two metrics, replace with a
single metric "health" which can have following values:

0 = offline
1 = healthy
2 = healing
This commit is contained in:
Shireesh Anjal
2024-05-12 22:53:50 +05:30
committed by GitHub
parent e8d14c0d90
commit 074d70112d
3 changed files with 20 additions and 19 deletions

View File

@@ -186,8 +186,7 @@ func newMetricGroups(r *prometheus.Registry) *metricsV3Collection {
driveAvailabilityErrorsMD,
driveWaitingIOMD,
driveAPILatencyMD,
driveHealingMD,
driveOnlineMD,
driveHealthMD,
driveOfflineCountMD,
driveOnlineCountMD,