We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d6c8ef commit 1396152Copy full SHA for 1396152
prometheus/collector/collector.go
@@ -336,7 +336,7 @@ func (c *Collector) run() {
336
c.logger.With(
337
slog.Float64("duration", c.lastScrapeDuration.Seconds()),
338
slog.Time("nextRun", c.nextScrapeTime.UTC()),
339
- ).Info("finished metrics collection", slog.Duration("duration", *c.sleepTime))
+ ).Info("finished metrics collection")
340
}
341
342
// collectRun starts collector run and handles panics
0 commit comments