Skip to content

Comments

dogstatsd: Drop metrics according to sample rate#884

Merged
peterbourgon merged 1 commit intogo-kit:masterfrom
kiwicom:ms/778-fix-sampling
Jun 14, 2019
Merged

dogstatsd: Drop metrics according to sample rate#884
peterbourgon merged 1 commit intogo-kit:masterfrom
kiwicom:ms/778-fix-sampling

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