fix MISSING in Debug log

This commit is contained in:
Adora Laura Kalb 2024-04-17 20:08:30 +02:00
parent 046324f098
commit bddc702ef3
Signed by: adoralaura
GPG key ID: E2E0F82107536C1B

View file

@ -52,7 +52,7 @@ func (c Collector) Describe(ch chan<- *prometheus.Desc) {
// Collect implements Prometheus.Collector.
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")
start := time.Now()
c.collect(ch, logger)