collector: change log level to info for succeeded (#1644)
This commit is contained in:
parent
65d19f433e
commit
622813343f
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue