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
I'm trying to fetch attributes that are java.lang.Object which seem to be supported based off of this. The issue is the collector crashes when trying to collect that attribute. Here is the output of a Data attribute for Spring actuator using the jmxterm-1.0-DATADOG-uber.jar:
All of which seem to be doubles that should be parsable by jmxfetch. My conf for this bean is:
- include:
bean:
- org.springframework.boot:type=Endpoint,name=metricsEndpoint
attribute:
- Data
The jmxfetch process finds the value when I use /etc/init.d/datadog-agent jmx list_matching_attributes, and in the jmxfetch.log I get this error:
2017-01-02 08:24:23,095 | WARN | JMXAttribute | Unable to get metrics from org.springframework.boot:type=Endpoint,name=metricsEndpoint - Data
java.lang.NumberFormatException
at org.datadog.jmxfetch.JMXAttribute.getValueAsDouble(JMXAttribute.java:250)
at org.datadog.jmxfetch.JMXSimpleAttribute.getValue(JMXSimpleAttribute.java:103)
at org.datadog.jmxfetch.JMXSimpleAttribute.getMetrics(JMXSimpleAttribute.java:32)
at org.datadog.jmxfetch.JMXAttribute.getMetricsCount(JMXAttribute.java:185)
at org.datadog.jmxfetch.Instance.getMatchingAttributes(Instance.java:256)
at org.datadog.jmxfetch.Instance.init(Instance.java:133)
at org.datadog.jmxfetch.App.init(App.java:354)
at org.datadog.jmxfetch.App.main(App.java:92)
Any insight into how to configure the yaml file to properly read this would be very helpful. Thank you!
The text was updated successfully, but these errors were encountered:
I'm trying to fetch attributes that are
java.lang.Object
which seem to be supported based off of this. The issue is the collector crashes when trying to collect that attribute. Here is the output of a Data attribute for Spring actuator using thejmxterm-1.0-DATADOG-uber.jar
:All of which seem to be doubles that should be parsable by
jmxfetch
. My conf for this bean is:The jmxfetch process finds the value when I use
/etc/init.d/datadog-agent jmx list_matching_attributes
, and in thejmxfetch.log
I get this error:Any insight into how to configure the yaml file to properly read this would be very helpful. Thank you!
The text was updated successfully, but these errors were encountered: