client_java
client_java copied to clipboard
Request: simpleclient_tomcat - collector for Tomcat server
Purpose
Provide a collector for tomcat that can capture tomcat runtime metrics
Collector
- Uptime, tomcat version, build, etc
- thread pools/executors (name as label)
- min
- max
- in use
- idle
- thread churn/creation rate
- connectors (name, port, protocol as labels)
- min
- max
- queue depth (accept queue and in-progress requests)
- timeouts
- handle http/2 protocol and channels as well
- Sessions
- JDBC pools
- Access (realm, logins, blocked, jail, role, etc)
Integration
- Be able to use as a simple collector in existing web applications (nice when running a single app/tomcat in a Docker container)
- Be able to deploy as a war or java-agent (when running traditional war deployments in Tomcat application servers)
- Convince Tomcat maintainers to provide built-in support for Prometheus instead of JMXProxyServlet. ;)
There was a project I used some time ago (but now it is unmaintained) https://github.com/nlighten/tomcat_exporter Might be it still works (obviously only for Tomcat 9).
looking forward to this