Skip to content

fix: sample rate error logs #5276

Open
korniltsev-grafanista wants to merge 1 commit into
mainfrom
fix/samplerate
Open

fix: sample rate error logs #5276
korniltsev-grafanista wants to merge 1 commit into
mainfrom
fix/samplerate

Conversation

@korniltsev-grafanista

Copy link
Copy Markdown
Contributor
I see a lot of errors ts=2026-06-19T10:46:30.348505Z caller=ingest_handler.go:142 level=error err="sample rate must be
  positive" msg="invalid sample rate: \"0\""

I see quite a lot of errors on my pyroscope containers. They seem to mostly come from pyrroscope-go non CPU profiles. Historically sample rate of zero was sent from multiple sdks.

In this change we do not reset sample rate to 100 and do not log the errors if sample rate is 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant