Jolokia module with variable JMX paths

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.
e.g.
"Tomcat.Manager./my-app.localhost.active_sessions"

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?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.