We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents efe1c52 + 3ab5c83 commit f1b1919Copy full SHA for f1b1919
cmd/thanos/receive.go
@@ -456,8 +456,8 @@ func runReceive(
456
})
457
}
458
459
- level.Debug(logger).Log("msg", "setting up periodic top metrics collection")
460
- {
+ if receiveMode == receive.IngestorOnly {
+ level.Debug(logger).Log("msg", "setting up periodic top metrics collection")
461
topMetricNumSeries := promauto.With(reg).NewGaugeVec(prometheus.GaugeOpts{
462
Name: "thanos_receive_top_metric_num_series",
463
Help: "Number of series in top metric.",
0 commit comments