From 622813343f930c121c8b1c061d6dd6f02d96015f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Fri, 27 Sep 2024 12:01:30 +0200 Subject: [PATCH] collector: change log level to info for succeeded (#1644) --- pkg/collector/prometheus.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/collector/prometheus.go b/pkg/collector/prometheus.go index ee7883de..bfd2f1d4 100644 --- a/pkg/collector/prometheus.go +++ b/pkg/collector/prometheus.go @@ -273,7 +273,7 @@ func (p *Prometheus) execute(name string, c Collector, scrapeCtx *types.ScrapeCo return failed } - p.logger.Info(fmt.Sprintf("collector %s succeeded after %s, resulting in %d metrics", name, duration, numMetrics)) + p.logger.Debug(fmt.Sprintf("collector %s succeeded after %s, resulting in %d metrics", name, duration, numMetrics)) return success }