change log msg on clusterMetrics

This commit is contained in:
Christoph Kluge
2026-02-02 14:45:19 +01:00
parent 7b4e2fcf59
commit 13cca1ee62

View File

@@ -923,7 +923,7 @@ func (r *queryResolver) ClusterMetrics(ctx context.Context, cluster string, metr
if !okData && len(ser.Data) != 0 {
collectorData[metric] = make([]schema.Float, len(ser.Data))
} else if !okData {
cclog.Debugf("ClusterMetrics Skip Init: No Data -> %s at %s; Size %d", metric, ser.Hostname, len(ser.Data))
cclog.Debugf("[SCHEMARESOLVER] clusterMetrics skip init: no data -> %s at %s; size %d", metric, ser.Hostname, len(ser.Data))
}
// Sum if init'd and matching size
if okData && len(ser.Data) == len(collectorData[metric]) {
@@ -935,7 +935,7 @@ func (r *queryResolver) ClusterMetrics(ctx context.Context, cluster string, metr
}
}
} else if okData {
cclog.Debugf("ClusterMetrics Skip Sum: Data Diff -> %s at %s; Want Size %d, Have Size %d", metric, ser.Hostname, len(collectorData[metric]), len(ser.Data))
cclog.Debugf("[SCHEMARESOLVER] clusterMetrics skip sum: data diff -> %s at %s; want size %d, have size %d", metric, ser.Hostname, len(collectorData[metric]), len(ser.Data))
}
}
}