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
  • Loading branch information
korniltsev authored and hainenber committed Nov 25, 2023
1 parent 18a48d2 commit 0c4d737
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 0c4d737

Please sign in to comment.