client_java icon indicating copy to clipboard operation
client_java copied to clipboard

Request: simpleclient_tomcat - collector for Tomcat server

Open devminded opened this issue 3 years ago • 3 comments

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. ;)

devminded avatar Jan 29 '22 21:01 devminded

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).

arixmkii avatar Jul 08 '22 13:07 arixmkii

looking forward to this

abhisheksurve45 avatar Oct 10 '22 07:10 abhisheksurve45