fix MISSING in Debug log
This commit is contained in:
parent
046324f098
commit
bddc702ef3
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ func (c Collector) Describe(ch chan<- *prometheus.Desc) {
|
||||||
|
|
||||||
// Collect implements Prometheus.Collector.
|
// Collect implements Prometheus.Collector.
|
||||||
func (c Collector) Collect(ch chan<- prometheus.Metric) {
|
func (c Collector) Collect(ch chan<- prometheus.Metric) {
|
||||||
logger := log.With(c.logger, "scraper")
|
logger := log.With(c.logger, "module", "scraper")
|
||||||
level.Debug(logger).Log("msg", "Starting scrape")
|
level.Debug(logger).Log("msg", "Starting scrape")
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
c.collect(ch, logger)
|
c.collect(ch, logger)
|
||||||
|
|
Loading…
Reference in a new issue