Add diagnostic output for healthcheck

This commit is contained in:
2026-02-07 06:17:34 +01:00
parent 1145b31a49
commit a8194de492

View File

@@ -152,7 +152,10 @@ func (m *MemoryStore) HealthCheck(cluster string,
healthyCount := len(expectedMetrics) - degradedCount - missingCount healthyCount := len(expectedMetrics) - degradedCount - missingCount
if degradedCount > 0 { if degradedCount > 0 {
cclog.ComponentDebug("metricstore", "HealthCheck: node", hostname, "degraded metrics:", degradedList) cclog.ComponentInfo("metricstore", "HealthCheck: node ", hostname, "degraded metrics:", degradedList)
}
if missingCount > 0 {
cclog.ComponentInfo("metricstore", "HealthCheck: node ", hostname, "missing metrics:", missingList)
} }
switch { switch {