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] Parse distribution metrics and ignore them #3458

Merged
merged 1 commit into from
Jul 31, 2017

Conversation

olivielpeau
Copy link
Member

What does this PR do?

Parses distribution metrics and ignores them.

Motivation

distribution is a new dogstatsd metric type that this implementation doesn't
support.

Instead of failing on known but unsupported metric types, ignore these
metrics and continue parsing the rest of the packet.

Without this, sending a new "distribution" type metric in a datagram
makes dogstatsd drop the whole datagram.

Additional Notes

This change has virtually no impact on the performance of the dogstatsd
parser.

Instead of failing on known but unsupported metric types, ignore these
metrics and continue parsing the rest of the packet.

Without this, sending a new "distribution" type metric in a datagram
makes dogstatsd drop the whole datagram.

This change has virtually no impact on the performance of the dogstatsd
parser.
@olivielpeau olivielpeau added this to the 5.17 milestone Jul 27, 2017
@hush-hush hush-hush merged commit 6c96bdd into master Jul 31, 2017
@hush-hush hush-hush deleted the olivielpeau/accept-d-packets-dogstatsd branch July 31, 2017 08:17
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.

2 participants