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

JMX exporter: quoted property values captured incorrectly #195

Closed
abkieling opened this issue Nov 20, 2018 · 1 comment
Closed

JMX exporter: quoted property values captured incorrectly #195

abkieling opened this issue Nov 20, 2018 · 1 comment

Comments

@abkieling
Copy link
Contributor

abkieling commented Nov 20, 2018

Object names with quoted property values are being incorrectly captured by regular expression defined in the JMX exporter configuration.

Current behavior
The quotes and the value enclosed by the quotes are being captured.

Expected behavior
Only the value enclosed by quotes should be captured.

Example of Prometheus metric after name object name property has been converted to processor label:

org_apache_camel_ExternalRedeliveries{context="MyCamel",processor="\"log1\"",type="processors",} 0.0

See file with more examples: metrics.txt

@abkieling
Copy link
Contributor Author

PR #194 fixes this issue

@abkieling abkieling changed the title JMX exporter: quoted key property values captured incorrectly JMX exporter: quoted property values captured incorrectly Nov 20, 2018
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

No branches or pull requests

1 participant