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 NameGraph Description
Jetty Busy ThreadsNumber of threads currently busy in thread pool.
Jetty Idle ThreadsNumber of Idle threads in thread pool.
Jetty Max ThreadsMaximum number of threads in thread pool.
Jetty Min ThreadsMinimum number of threads in thread pool
Jetty ThreadsNumber of threads in the pool.
Jetty Thread Queue SizeSize of the job queue.

Jetty Server Session Stats

Graph NameGraph Description
Jetty Current SessionsNumber of current sessions in application.
Jetty Max SessionsNumber of Maximum sessions in application
p>Jetty Total SessionsNumber of total sessions in application.