Hey there,
i'm trying to get following metrics out of the tomcat:
My config:
jmx.mappings:
- mbean: 'Catalina:type=Manager,host=localhost,context=/guidemo'
attributes:
- attr: activeSessions
field: manager.guidemoActiceSessions
The exception message is:
2022-03-03T10:58:03.200+0100 ERROR module/wrapper.go:259 Error fetching data for metricset jolokia.jmx: 1 error: metric key 'activeSessions' for mbean 'Catalina:context=/guidemo,host=localhost,type=Manager' not found in mapping