-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Dedot keys for jolokia metricsets #5957
Conversation
@ruflin This method should also apply |
9b00fd5
to
3ebbb25
Compare
@andrewkroh Could you have a look at this one. It should be ready to go. |
CHANGELOG.asciidoc
Outdated
@@ -35,6 +35,7 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di | |||
- Rename `heap_init` field to `heap.init`. {pull}5320[5320] | |||
- Rename `http.response.status_code` field to `http.response.code`. {pull}5521[5521] | |||
- Rename `golang.heap.system.optained` field to `golang.heap.system.obtained`. {issue}5703[5703] | |||
- De dot keys in jolokia/jmx metricset to prevent collisions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add the PR number.
CHANGELOG.asciidoc
Outdated
@@ -37,6 +37,7 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di | |||
- Rename `http.response.status_code` field to `http.response.code`. {pull}5521[5521] | |||
- Rename `golang.heap.system.optained` field to `golang.heap.system.obtained`. {issue}5703[5703] | |||
- Support haproxy stats gathering using http (additionaly to tcp socket). {pull}5819[5819] | |||
- De dot keys in jolokia/jmx metricset to prevent collisions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add the PR number.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added and rebased PR.
This should prevent name collisions and allow filtering on these fields. The feature is enabled by default and cannot be disable as otherwise ingestion could stop as Elasticsearch is returning an error. Currently not config option is provided as this should not be disabled. * Introduces DeDot function in common package * Adds tests to jmx for new functionality * Use new function also for docker labels Related to elastic#5942 Closes elastic#5916
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This should prevent name collisions and allow filtering on these fields. The feature is enabled by default and cannot be disable as otherwise ingestion could stop as Elasticsearch is returning an error. Currently not config option is provided as this should not be disabled.
Related to #5942
Closes #5916