Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dogstatsd: Drop metrics according to sample rate #884

Merged
merged 1 commit into from
Jun 14, 2019

Conversation

martin-sucha
Copy link
Contributor

Sample rate is for allowing to lower traffic generated by
the statsd packets so the observations need to be dropped.
statsd server will multiple the metrics with the inverse
of sample rate to compenstate.

Fixes #778

@peterbourgon
Copy link
Member

Thank you! The build failures are unrelated and should be fixed on master; can you rebase and push again?

Sample rate is for allowing to lower traffic generated by
the statsd packets so the observations need to be dropped.
statsd server will multiple the metrics with the inverse
of sample rate to compenstate.

Fixes go-kit#778
@martin-sucha martin-sucha force-pushed the ms/778-fix-sampling branch from a2ee23a to a182728 Compare June 13, 2019 15:16
@martin-sucha
Copy link
Contributor Author

Rebased.

@peterbourgon
Copy link
Member

Thank you!

@peterbourgon peterbourgon merged commit ab8826b into go-kit:master Jun 14, 2019
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.

dogstatsd reports incorrect metrics when sampleRate < 1
2 participants