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

[jmxattribute] remove | characters from tags #89

Merged
merged 1 commit into from
Apr 26, 2016

Conversation

yannmh
Copy link
Member

@yannmh yannmh commented Apr 5, 2016

DogStatsd fails parsing statsd datagrams with | characters in the
metric tags.
Sanitize the metric tags: remove all | occurences in MBeans parameter
names and values.

@yannmh yannmh added the bug label Apr 5, 2016
@yannmh yannmh added this to the 0.11.0 milestone Apr 5, 2016
@olivielpeau olivielpeau self-assigned this Apr 5, 2016
DogStatsd fails parsing statsd datagrams with `|` characters in the
metric tags.
Sanitize the metric tags: remove all `|` occurences in MBeans parameter
names and values.
@yannmh yannmh force-pushed the yann/sanitize_metric_names_and_tags branch from 25df0e9 to 527dbf3 Compare April 5, 2016 15:42
@olivielpeau
Copy link
Member

Nice fix 👍 feel free to merge!

@yannmh yannmh merged commit 43875c5 into master Apr 26, 2016
@yannmh yannmh deleted the yann/sanitize_metric_names_and_tags branch April 26, 2016 16:11
yannmh added a commit to DataDog/dd-agent that referenced this pull request May 13, 2016
**Changes**
* [BUGFIX] Report properly beans with ':' in the name. See [#90][],
* [#91][], [#95][] (Thanks [@Bluestix][])
* [BUGFIX] Sanitize metric names and tags, i.e. remove illegal
* characters. See [#89][]
* [BUGFIX] Support `javax.management.Attribute` attribute types. See
* [#92][] (Thanks [@nwillems][])
* [FEATURE] Add user tags to service checks. See [#96][]
* [FEATURE] Allow group name substitutions in attribute/alias
* parameters. See [#94][], [#97][] (Thanks [@alz][])

<!--- The following link definition list is generated by PimpMyChangelog
--->
[#89]: DataDog/jmxfetch#89
[#90]: DataDog/jmxfetch#90
[#91]: DataDog/jmxfetch#91
[#92]: DataDog/jmxfetch#92
[#94]: DataDog/jmxfetch#94
[#95]: DataDog/jmxfetch#95
[#96]: DataDog/jmxfetch#96
[#97]: DataDog/jmxfetch#97
[@alz]: https://github.com/alz
[@Bluestix]: https://github.com/bluestix
[@nwillems]: https://github.com/nwillems
yannmh added a commit to DataDog/dd-agent that referenced this pull request May 13, 2016
**Changes**
* [BUGFIX] Report properly beans with ':' in the name. See [#90][],
* [#91][], [#95][] (Thanks [@Bluestix][])
* [BUGFIX] Sanitize metric names and tags, i.e. remove illegal
* characters. See [#89][]
* [BUGFIX] Support `javax.management.Attribute` attribute types. See
* [#92][] (Thanks [@nwillems][])
* [FEATURE] Add user tags to service checks. See [#96][]
* [FEATURE] Allow group name substitutions in attribute/alias
* parameters. See [#94][], [#97][] (Thanks [@alz][])

<!--- The following link definition list is generated by PimpMyChangelog
--->
[#89]: DataDog/jmxfetch#89
[#90]: DataDog/jmxfetch#90
[#91]: DataDog/jmxfetch#91
[#92]: DataDog/jmxfetch#92
[#94]: DataDog/jmxfetch#94
[#95]: DataDog/jmxfetch#95
[#96]: DataDog/jmxfetch#96
[#97]: DataDog/jmxfetch#97
[@alz]: https://github.com/alz
[@Bluestix]: https://github.com/bluestix
[@nwillems]: https://github.com/nwillems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants