Skip to content

Fix JMX invalid composite value type log message#3849

Merged
JonasKunz merged 3 commits intoelastic:mainfrom
JonasKunz:fix-jmx-log
Oct 25, 2024
Merged

Fix JMX invalid composite value type log message#3849
JonasKunz merged 3 commits intoelastic:mainfrom
JonasKunz:fix-jmx-log

Conversation

@JonasKunz
Copy link
Contributor

@JonasKunz JonasKunz commented Oct 24, 2024

What does this PR do?

For JMX metrics we support composite values: Each entry becomes a separate metric.
However, this only works as long as the values of the entries in the composite are numbers. Otherwise we'll print a warning.

This warning was a bit misleading, because it would print the entire composite instead of just the offending value, which gets fixed by this PR.

Checklist

  • This is a bugfix

@JonasKunz JonasKunz requested a review from SylvainJuge October 24, 2024 15:03
SylvainJuge
SylvainJuge previously approved these changes Oct 24, 2024
@JonasKunz JonasKunz merged commit 1545f3b into elastic:main Oct 25, 2024
@JonasKunz JonasKunz deleted the fix-jmx-log branch October 25, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants