You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are mbeans that can contain multiple quoted properties, and we are failing to correctly parse them.
In #17374 I have added a test case that reproduces the issue.
We parse mbeans to be able to match responses containing attributes of multiple mbeans. Mappings are defined using mbean names and their properties, but mbean names can be canonicalized on the responses, if they are, we need to canonicalize the ones in the configuration too.
There is a flag in jolokia requests to disable canonicalization of names in responses, but we found that this doesn't work in some scenarios, as when wildcards are used, so since #7321 we always parse and canonicalize mbeans.
There are mbeans that can contain multiple quoted properties, and we are failing to correctly parse them.
In #17374 I have added a test case that reproduces the issue.
We parse mbeans to be able to match responses containing attributes of multiple mbeans. Mappings are defined using mbean names and their properties, but mbean names can be canonicalized on the responses, if they are, we need to canonicalize the ones in the configuration too.
There is a flag in jolokia requests to disable canonicalization of names in responses, but we found that this doesn't work in some scenarios, as when wildcards are used, so since #7321 we always parse and canonicalize mbeans.
Discovered in: https://discuss.elastic.co/t/metricbeat-jolokia-module-not-capturing-all-data/225333
The text was updated successfully, but these errors were encountered: