Jetty Server Monitoring

Overview

Jetty is a Java HTTP (Web) server and Java Servlet container. While Web Servers are usually associated with serving documents to people, Jetty is now often used for machine-to-machine communications, usually within larger software frameworks. Jetty is developed as a free and open source project as part of the Eclipse Foundation.

This monitor provides performance metrics for following stats:

  • Thread pool Stats: It is very important to limit the task queue of Jetty. By default, the queue is unbounded. As a result, if under high load in excess of the processing power of the webapp, jetty will keep many requests on the queue. Even after the load has stopped, Jetty will appear to have stopped responding to new requests as it still has many requests on the queue to handle.
  • Session Stats: Sessions are a concept within the Servlet API, which allow requests to store and retrieve information across the time a user spends in an application. Choosing the correct session manager implementation is an important consideration for every application as each can fit and perform optimally in different situations.

Jetty Thread Pool Stats

Graph Name Graph Description
Jetty Busy Threads Number of threads currently busy in thread pool.
Jetty Idle Threads Number of Idle threads in thread pool.
Jetty Max Threads Maximum number of threads in thread pool.
Jetty Min Threads Minimum number of threads in thread pool
Jetty Threads Number of threads in the pool.
Jetty Thread Queue Size Size of the job queue.

Jetty Server Session Stats

Graph Name Graph Description
Jetty Current Sessions Number of current sessions in application.
Jetty Max Sessions Number of Maximum sessions in application
p>Jetty Total Sessions Number of total sessions in application.