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
java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.util.LinkedHashMap
at org.datadog.jmxfetch.Instance.<init>(Instance.java:71)
at org.datadog.jmxfetch.App.init(App.java:485)
at org.datadog.jmxfetch.App.start(App.java:241)
at org.datadog.jmxfetch.App.main(App.java:122)
We should fix JMX-fetch so it can accept tags in both formats.
The text was updated successfully, but these errors were encountered:
JMX-fetch only expects tags to be listed as a map in the YAML file but there are cases when they might be arrays. One example is the output of the template parsing in Service Discovery, see https://github.com/DataDog/dd-agent/blob/69d58afeea2126ab2a7e1e1efba6f3cbdafc7f33/utils/service_discovery/sd_docker_backend.py#L410-#L420
In such cases the error looks like this:
We should fix JMX-fetch so it can accept tags in both formats.
The text was updated successfully, but these errors were encountered: