---
title: Glassfish
description: Monitor the health of your Glassfish applications and services
breadcrumbs: Docs > Integrations > Glassfish
---

# Glassfish
Supported OS marketplaceIntegration version1.0.0   Applications OverviewHTTP Service OverivewJVM, Network, and Transaction Service Overviews
## Overview{% #overview %}

GlassFish is the Eclipse implementation of Jakarta EE (formerly the reference implementation from Oracle) and supports Jakarta REST, Jakarta CDI, Jakarta Security, Jakarta Persistence, Jakarta Transactions, Jakarta Servlet, Jakarta Faces, Jakarta Messaging, and more. This allows developers to create enterprise applications that are portable and scalable, and that integrate with legacy technologies. The Glassfish integration allows users to monitor several different modules within Glassfish, such as applications, the HTTP service, the JMS service, JVM metrics, networking, and the transaction service.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **rapdev.glassfish.application.active\_servlets\_loaded**(count)                 | Number of servlets loaded                                                                                                |
| **rapdev.glassfish.application.avg\_processing\_time**(gauge)                    | Average request processing time*Shown as millisecond*                                                                    |
| **rapdev.glassfish.application.errors**(count)                                   | Number of requests with response code greater than or equal to 400*Shown as error*                                       |
| **rapdev.glassfish.application.jsp\_pages\_active**(count)                       | Number of active JSP pages*Shown as page*                                                                                |
| **rapdev.glassfish.application.jsp\_pages\_errors**(count)                       | Number of errors triggered by JSP page invocations*Shown as page*                                                        |
| **rapdev.glassfish.application.jsp\_pages\_loaded**(count)                       | Number of JSP pages loaded*Shown as page*                                                                                |
| **rapdev.glassfish.application.jsp\_pages\_reloaded**(count)                     | Number of JSP pages that were reloaded*Shown as page*                                                                    |
| **rapdev.glassfish.application.requests**(count)                                 | Number of requests processed*Shown as request*                                                                           |
| **rapdev.glassfish.application.response\_time\_max**(gauge)                      | Longest response time for a request*Shown as millisecond*                                                                |
| **rapdev.glassfish.application.servlet.avg\_response\_time**(gauge)              | Average response time for a servlet*Shown as millisecond*                                                                |
| **rapdev.glassfish.application.servlet.errors**(count)                           | Number of requests with response code greater than or equal to 400 for a servlet*Shown as error*                         |
| **rapdev.glassfish.application.servlet.requests**(count)                         | Number of requests processed for a servlet*Shown as request*                                                             |
| **rapdev.glassfish.application.servlet.response\_time\_aggregate**(gauge)        | Aggregate response time for a servlet*Shown as millisecond*                                                              |
| **rapdev.glassfish.application.servlet.response\_time\_max**(gauge)              | Max response time for a servlet*Shown as millisecond*                                                                    |
| **rapdev.glassfish.application.sessions\_activated**(count)                      | Number of sessions activated*Shown as session*                                                                           |
| **rapdev.glassfish.application.sessions\_active**(count)                         | Number of currently active sessions*Shown as session*                                                                    |
| **rapdev.glassfish.application.sessions\_created**(count)                        | Number of sessions created*Shown as session*                                                                             |
| **rapdev.glassfish.application.sessions\_expired**(count)                        | Number of sessions expired*Shown as session*                                                                             |
| **rapdev.glassfish.application.sessions\_passivated**(count)                     | Number of sessions passivated*Shown as session*                                                                          |
| **rapdev.glassfish.application.sessions\_persisted**(count)                      | Number of sessions persisted*Shown as session*                                                                           |
| **rapdev.glassfish.application.sessions\_rejected**(count)                       | Number of sessions rejected*Shown as session*                                                                            |
| **rapdev.glassfish.deployment.active\_applications\_deployed**(count)            | Number of currently deployed applications                                                                                |
| **rapdev.glassfish.http\_service.avg\_processing\_time**(gauge)                  | Average HTTP request processing time*Shown as millisecond*                                                               |
| **rapdev.glassfish.http\_service.bytes\_received**(count)                        | Number of bytes received by the HTTP service*Shown as byte*                                                              |
| **rapdev.glassfish.http\_service.bytes\_transmitted**(count)                     | Number of bytes transmitted by the HTTP service*Shown as byte*                                                           |
| **rapdev.glassfish.http\_service.errors**(count)                                 | Number of requests by the HTTP service where the response code was greater than or equal to 400*Shown as error*          |
| **rapdev.glassfish.http\_service.open\_connections**(count)                      | Number of open connections to the HTTP service*Shown as connection*                                                      |
| **rapdev.glassfish.http\_service.requests**(count)                               | Number of requests to the HTTP service. Tagged by the status code and status code class*Shown as request*                |
| **rapdev.glassfish.http\_service.response\_time\_max**(gauge)                    | Max response time by the HTTP service*Shown as millisecond*                                                              |
| **rapdev.glassfish.http\_service.total\_requests**(count)                        | Total number of requests by the HTTP service*Shown as request*                                                           |
| **rapdev.glassfish.jms.connection\_factory.avg\_connect\_wait\_time**(gauge)     | Average wait-time-duration per successful connection request*Shown as millisecond*                                       |
| **rapdev.glassfish.jms.connection\_factory.connections\_acquired**(count)        | Number of logical connections acquired from the pool*Shown as connection*                                                |
| **rapdev.glassfish.jms.connection\_factory.connections\_created**(count)         | Number of physical connections being created*Shown as connection*                                                        |
| **rapdev.glassfish.jms.connection\_factory.connections\_destroyed**(count)       | Number of physical connections being destroyed*Shown as connection*                                                      |
| **rapdev.glassfish.jms.connection\_factory.connections\_free**(count)            | Number of currently free connections in the pool*Shown as connection*                                                    |
| **rapdev.glassfish.jms.connection\_factory.connections\_in\_queue**(count)       | Number of connection requests in the queue waiting to be serviced*Shown as connection*                                   |
| **rapdev.glassfish.jms.connection\_factory.connections\_matched**(count)         | Number of connections successfully matched*Shown as connection*                                                          |
| **rapdev.glassfish.jms.connection\_factory.connections\_rejected**(count)        | Number of connections rejected during matching*Shown as connection*                                                      |
| **rapdev.glassfish.jms.connection\_factory.connections\_released**(count)        | Number of connections released*Shown as connection*                                                                      |
| **rapdev.glassfish.jms.connection\_factory.connections\_timed\_out**(count)      | Number of connections in the pool that timed out*Shown as connection*                                                    |
| **rapdev.glassfish.jms.connection\_factory.connections\_used**(count)            | Number of connections currently being used*Shown as connection*                                                          |
| **rapdev.glassfish.jms.connection\_factory.last\_request\_wait\_time**(gauge)    | The request wait time of the last request*Shown as millisecond*                                                          |
| **rapdev.glassfish.jms.connection\_factory.potential\_connection\_leaks**(count) | Number of potential connection leaks*Shown as connection*                                                                |
| **rapdev.glassfish.jms.work\_management.work\_object\_wait\_time**(gauge)        | Wait time of a work object before it gets executed*Shown as millisecond*                                                 |
| **rapdev.glassfish.jms.work\_management.work\_objects\_active**(count)           | Number of active work objects*Shown as object*                                                                           |
| **rapdev.glassfish.jms.work\_management.work\_objects\_completed**(count)        | Number of work objects completed execution*Shown as object*                                                              |
| **rapdev.glassfish.jms.work\_management.work\_objects\_in\_queue**(count)        | Number of work objects in queue*Shown as object*                                                                         |
| **rapdev.glassfish.jms.work\_management.work\_objects\_rejected**(count)         | Number of work objects rejected*Shown as object*                                                                         |
| **rapdev.glassfish.jms.work\_management.work\_objects\_submitted**(count)        | Number of work objects submitted*Shown as object*                                                                        |
| **rapdev.glassfish.jvm.classes\_loaded**(count)                                  | Number of classes loaded                                                                                                 |
| **rapdev.glassfish.jvm.classes\_unloaded**(count)                                | Number of classes unloaded                                                                                               |
| **rapdev.glassfish.jvm.committed\_memory**(gauge)                                | Amount of memory in bytes that is committed for the JVM to use*Shown as byte*                                            |
| **rapdev.glassfish.jvm.compilation\_time**(count)                                | Amount of time the JVM spent compiling*Shown as millisecond*                                                             |
| **rapdev.glassfish.jvm.current\_thread\_total\_cpu\_time**(count)                | CPU time for the current thread*Shown as nanosecond*                                                                     |
| **rapdev.glassfish.jvm.current\_thread\_user\_cpu\_time**(count)                 | CPU time that the current thread has executed in user mode*Shown as nanosecond*                                          |
| **rapdev.glassfish.jvm.current\_threads**(count)                                 | Number of live threads, both daemon and non-daemon*Shown as thread*                                                      |
| **rapdev.glassfish.jvm.daemon\_threads**(count)                                  | Number of live daemon threads*Shown as thread*                                                                           |
| **rapdev.glassfish.jvm.deadlocked\_threads**(count)                              | Number of threads in deadlock waiting to acquire object monitors or own able synchronizers*Shown as thread*              |
| **rapdev.glassfish.jvm.gc\_collection\_time**(count)                             | Time spent garbage collecting*Shown as millisecond*                                                                      |
| **rapdev.glassfish.jvm.gc\_collections**(count)                                  | Number of garbage collections                                                                                            |
| **rapdev.glassfish.jvm.init\_memory**(gauge)                                     | Amount of memory in bytes that the JVM initially requests from the operating system for memory management*Shown as byte* |
| **rapdev.glassfish.jvm.max\_memory**(gauge)                                      | Maximum amount of memory in bytes that can be used for memory management*Shown as byte*                                  |
| **rapdev.glassfish.jvm.monitor\_deadlocked\_threads**(gauge)                     | Number of threads in deadlock waiting to acquire object monitors*Shown as thread*                                        |
| **rapdev.glassfish.jvm.objects\_pending\_finalization**(count)                   | Approximate number of objects for which finalization is pending*Shown as object*                                         |
| **rapdev.glassfish.jvm.peak\_threads**(count)                                    | Peak live thread count since the JVM was started*Shown as thread*                                                        |
| **rapdev.glassfish.jvm.used\_memory**(gauge)                                     | Amount of used memory in bytes*Shown as byte*                                                                            |
| **rapdev.glassfish.network.connection\_queue.active\_connections**(count)        | Number of open/active connections*Shown as connection*                                                                   |
| **rapdev.glassfish.network.connection\_queue.overflows**(count)                  | Number of times the queue has been too full to accommodate a connection                                                  |
| **rapdev.glassfish.network.connection\_queue.queue\_max\_size**(gauge)           | Max size of the connection queue*Shown as connection*                                                                    |
| **rapdev.glassfish.network.connection\_queue.queued\_connections**(count)        | Number of connections queued*Shown as connection*                                                                        |
| **rapdev.glassfish.network.file\_cache.cache\_lookup\_hits**(count)              | Number of cache lookup hits*Shown as hit*                                                                                |
| **rapdev.glassfish.network.file\_cache.cached\_content\_hits**(count)            | Number of hits on cached file content*Shown as hit*                                                                      |
| **rapdev.glassfish.network.file\_cache.cached\_content\_misses**(count)          | Number of misses on cached file content*Shown as miss*                                                                   |
| **rapdev.glassfish.network.file\_cache.cached\_info\_hits**(count)               | Number hits on cached file info*Shown as hit*                                                                            |
| **rapdev.glassfish.network.file\_cache.cached\_info\_misses**(count)             | Number of misses on cached file into*Shown as miss*                                                                      |
| **rapdev.glassfish.network.file\_cache.cache\_lookup\_misses**(count)            | Number of cache lookup misses*Shown as miss*                                                                             |
| **rapdev.glassfish.network.file\_cache.heap\_size**(gauge)                       | Current cache size in bytes*Shown as byte*                                                                               |
| **rapdev.glassfish.network.file\_cache.mapped\_memory\_size**(gauge)             | Size of mapped memory used for caching in bytes*Shown as byte*                                                           |
| **rapdev.glassfish.network.file\_cache.max\_heap\_size**(gauge)                  | Max heap size used for cache in bytes*Shown as byte*                                                                     |
| **rapdev.glassfish.network.file\_cache.max\_mapped\_memory\_size**(gauge)        | Max memory map size used for cache in bytes*Shown as byte*                                                               |
| **rapdev.glassfish.network.file\_cache.open\_cache\_entries**(count)             | Number of current open cache entries*Shown as entry*                                                                     |
| **rapdev.glassfish.network.keep\_alive.flushed\_connections**(count)             | Number of keep-alive connections that were closed*Shown as connection*                                                   |
| **rapdev.glassfish.network.keep\_alive.max\_requests**(gauge)                    | Max number of requests allowed on a single keep-alive connection*Shown as request*                                       |
| **rapdev.glassfish.network.keep\_alive.open\_connections**(count)                | Number of open/active keep-alive connections*Shown as connection*                                                        |
| **rapdev.glassfish.network.keep\_alive.requests\_received**(count)               | Number of requests received by connections in keep-alive mode*Shown as request*                                          |
| **rapdev.glassfish.network.keep\_alive.requests\_rejected**(count)               | Number of keep-alive connections that were rejected*Shown as request*                                                    |
| **rapdev.glassfish.network.keep\_alive.requests\_timed\_out**(count)             | Number of keep-alive connections that timed out*Shown as request*                                                        |
| **rapdev.glassfish.network.thread\_pool.busy\_threads**(count)                   | Number of request processing threads currently in use by the listener thread pool serving requests*Shown as thread*      |
| **rapdev.glassfish.network.thread\_pool.core\_threads**(count)                   | Core number of threads in the thread pool*Shown as thread*                                                               |
| **rapdev.glassfish.network.thread\_pool.current\_threads**(count)                | Number of request processing threads currently in the listener thread pool*Shown as thread*                              |
| **rapdev.glassfish.network.thread\_pool.max\_threads**(count)                    | Max number of threads allowed in the thread pool*Shown as thread*                                                        |
| **rapdev.glassfish.network.thread\_pool.tasks\_executed**(count)                 | Number of tasks executed by the thread pool*Shown as task*                                                               |
| **rapdev.glassfish.transaction\_service.transactions\_active**(count)            | Number of currently active transactions*Shown as transaction*                                                            |
| **rapdev.glassfish.transaction\_service.transactions\_committed**(count)         | Number of transactions that have been committed*Shown as transaction*                                                    |
| **rapdev.glassfish.transaction\_service.transactions\_rolled\_back**(count)      | Number of transactions that have been rolled back*Shown as transaction*                                                  |
| **rapdev.glassfish.up\_time**(gauge)                                             | Uptime of the domain*Shown as millisecond*                                                                               |

### Service Checks{% #service-checks %}

**rapdev.glassfish.can\_connect**

Returns `OK` if the Agent can connect to the Glassfish monitoring endpoint, `CRITICAL` if it can't.

*Statuses: ok, critical*

**rapdev.glassfish.http\_service.virtual\_server.is\_active**

Returns `OK` if the virtual server is in Active mode, `CRITICAL` if it is not.

*Statuses: ok, critical*

**rapdev.glassfish.http\_service.virtual\_server.is\_on**

Returns `OK` if the virtual server is in an on state, `CRITICAL` if it is not.

*Statuses: ok, critical*

**rapdev.glassfish.transaction\_service.is\_frozen**

Returns `OK` if the transaction service is not frozen, `CRITICAL` if it is frozen.

*Statuses: ok, critical*

## Support{% #support %}

For support or feature requests, contact RapDev.io through the following channels:

- Support: [support@rapdev.io](mailto:support@rapdev.io)
- Sales: [sales@rapdev.io](mailto:sales@rapdev.io)
- Chat: [rapdev.io](https://www.rapdev.io/#Get-in-touch)
- Phone: 855-857-0222

Made with ❤️ in Boston

*This isn't the integration you're looking for? Missing a critical feature for your organization? Drop RapDev a [note](mailto:support@rapdev.io), and we'll build it!!*

This application is made available through the Marketplace and is supported by a Datadog Technology Partner. Click Here to purchase this application.
