collector: change log level to info for succeeded (#1644)

This commit is contained in:
Jan-Otto Kröpke 2024-09-27 12:01:30 +02:00 committed by GitHub
parent 65d19f433e
commit 622813343f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ func (p *Prometheus) execute(name string, c Collector, scrapeCtx *types.ScrapeCo
return failed 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 return success
} }