Skip to content

Commit

Permalink
pyroscope.scrape: change error log level to not swallow errors (graf…
Browse files Browse the repository at this point in the history
…ana#5840)

(cherry picked from commit 2242e4a)
  • Loading branch information
korniltsev authored and rfratto committed Nov 30, 2023
1 parent 72d715f commit de50c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/pyroscope/scrape/scrape_loop.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit de50c82

Please sign in to comment.