Jetty

Enable JMX

If JMX is not enabled, the following message is displayed in the UI:

Jmx module is not enabled in jetty. 
Please enable it to be able to collect data. You can do so by adding --module=jmx to start.ini.

For Jetty version 8 and lower, uncomment etc/jetty-jmx.xml in the start.ini file. Make sure that the jetty-jmx.xml is the first XML file listed in the list.

Metrics collection

Configuration data

  • Version
  • Start time
  • Queued Thread Pool (min/max threads)
  • Connectors
  • Web Apps

    • Name
    • Context Path
    • State
    • War File Path
    • Temporary Directory
    • Classpath

Performance metrics

Queued Thread Pool Stats

Metric Description Granularity
Idle Threads The total number of idle threads in the jetty pool. 1 second
Busy Threads The total number of busy threads in the jetty pool. 1 second
Total Threads The total number of threads (both idle and busy) in the jetty pool. 1 second
Threads Queue Size Queue size of the thread pool. 1 second

Web Apps

Metric Description Granularity
Active Sessions The number of active sessions for the web application. 1 second