mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-03-15 04:17:30 +01:00
Make checkpointInterval an option config option again.
Also applies small fixes Entire-Checkpoint: c11d1a65fae4
This commit is contained in:
@@ -66,7 +66,10 @@ func (l *Level) collectMetricStatus(m *MemoryStore, expectedMetrics []string, he
|
||||
if degraded[metricName] {
|
||||
continue // already degraded, cannot improve
|
||||
}
|
||||
mc := m.Metrics[metricName]
|
||||
mc, ok := m.Metrics[metricName]
|
||||
if !ok {
|
||||
continue // unknown metric, will be reported as missing
|
||||
}
|
||||
b := l.metrics[mc.offset]
|
||||
if b.bufferExists() {
|
||||
if !b.isBufferHealthy() {
|
||||
|
||||
Reference in New Issue
Block a user