mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-02-11 13:31:45 +01:00
Add counts in healthcheck for logging output
This commit is contained in:
@@ -243,6 +243,8 @@ func (m *MemoryStore) HealthCheck(cluster string,
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
missingCount = len(missingList)
|
||||||
|
degradedCount = len(degradedList)
|
||||||
uniqueList := mergeList(missingList, degradedList)
|
uniqueList := mergeList(missingList, degradedList)
|
||||||
healthyCount = len(expectedMetrics) - len(uniqueList)
|
healthyCount = len(expectedMetrics) - len(uniqueList)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user