From 0c4d7378d6687ec246e6fac8cfa61a3dd6a75789 Mon Sep 17 00:00:00 2001 From: Tolya Korniltsev Date: Thu, 23 Nov 2023 18:11:36 +0700 Subject: [PATCH] pyroscope.scrape: change error log level to not swallow errors (#5840) --- component/pyroscope/scrape/scrape_loop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/pyroscope/scrape/scrape_loop.go b/component/pyroscope/scrape/scrape_loop.go index 2b74930ed191..a1f7d2a6c1b7 100644 --- a/component/pyroscope/scrape/scrape_loop.go +++ b/component/pyroscope/scrape/scrape_loop.go @@ -228,7 +228,7 @@ func (t *scrapeLoop) scrape() { } } if err := t.fetchProfile(scrapeCtx, profileType, buf); err != nil { - level.Debug(t.logger).Log("msg", "fetch profile failed", "target", t.Labels().String(), "err", err) + level.Error(t.logger).Log("msg", "fetch profile failed", "target", t.Labels().String(), "err", err) t.updateTargetStatus(start, err) return }