I'd like to export the number of active sessions in Tomcat. This has a path in JMX that looks like:
"Tomcat.Manager.[context].localhost.active_sessions" where [context] is the path for the application.
All my webapps run in their own JVM so there is only ever 1 entry here, but are on different contexts.
Is there a way to configure the Metricbeat Jolokia module to import this?