Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

GlassFish metrics

The following table lists the metrics that are gathered as output from GlassFish checks. Entries indicated as Featured metrics are high-visibility metrics that are displayed in the Operator Workspace Metric tab after an alert is generated. These metrics provide the operator with additional information to help them further explore the specified issue.

Metric typeResource (name of specific database, where relevant)UnitsMetric type description
glassfish.applications.{Deployed Application}.TotalServletsLoadedDeployed ApplicationcountTotal number of Servlets loaded so far.
glassfish.applications.{Deployed Application}.ServletProcessingTimesDeployed ApplicationmsCumulative Servlet processing times.
glassfish.applications.{Deployed Application}.ActiveServletsLoadedDeployed ApplicationcountNumber of Servlets loaded.
glassfish.applications.{Deployed Application}.ExpiredSessionsTotal (featured metric)Deployed ApplicationcountTotal number of sessions expired so far.
glassfish.applications.{Deployed Application}.PassivatedSessionsTotalDeployed ApplicationcountTotal number of sessions passivated so far.
glassfish.applications.{Deployed Application}.ActivatedSessionsTotalDeployed ApplicationcountTotal number of sessions activatedso far.
glassfish.applications.{Deployed Application}.SessionsTotalDeployed ApplicationcountTotal number of sessions created so far.
glassfish.applications.{Deployed Application}.RejectedSessionsTotal (featured metric)Deployed ApplicationcountTotal number of sessions rejected so far.
glassfish.applications.{Deployed Application}.PersistedSessionsTotalDeployed ApplicationcountTotal number of sessions persisted so far.
glassfish.applications.{Deployed Application}.ActiveSessions (featured metric)Deployed ApplicationcountNumber of active sessions.
glassfish.applications.{Deployed Application}.RequestCountDeployed ApplicationcountCumulative number of requests processed so far
glassfish.applications.{Deployed Application}.MaxTime (featured metric)Deployed ApplicationmsLongest response time for a request; not a cumulative value, but the largest response time from among the response times.
glassfish.applications.{Deployed Application}.ErrorCount (featured metric)Deployed ApplicationcountCumulative value of the error count, with error count representing the number of cases where the response code was greater than or equal to 400.
glassfish.applications.{Deployed Application}.ProcessingTimeDeployed ApplicationmsAverage request processing time.
glassfish.applications.{Deployed Application}.TotalJspCountDeployed ApplicationcountTotal number of JSP pages loaded so far.
glassfish.applications.{Deployed Application}.JspCountDeployed ApplicationcountNumber of active JSP pages.
glassfish.applications.{Deployed Application}.JspErrorCount (featured metric)Deployed ApplicationcountTotal number of errors triggered by JSP page invocations.
glassfish.applications.{Deployed Application}.JspReloadedCountDeployed ApplicationcountTotal number of reloaded JSP pages.
Metric typeResource (name of specific database, where relevant)UnitsMetric type description
glassfish.deployment.lifecycle.ActiveApplicationsDeployed (featured metric) countTotal number of applications deployed so far.
glassfish.deployment.lifecycle.TotalApplicationsDeployed (featured metric) countNumber of applications deployed.
Metric typeResource (name of specific database, where relevant)UnitsMetric type description
glassfish.http-service.server.request.Count200 countNumber of responses with a status code equal to 200.
glassfish.http-service.server.request.Count2xx countNumber of responses with a status code in the 2xx range.
glassfish.http-service.server.request.Count302 countNumber of responses with a status code equal to 302.
glassfish.http-service.server.request.Count304 countNumber of responses with a status code equal to 304.
glassfish.http-service.server.request.Count3xx countNumber of responses with a status code equal in the 3xx range.
glassfish.http-service.server.request.Count400 countNumber of responses with a status code equal to 400.
glassfish.http-service.server.request.Count401 countNumber of responses with a status code equal to 401.
glassfish.http-service.server.request.Count403 countNumber of responses with a status code equal to 403.
glassfish.http-service.server.request.Count404 countNumber of responses with a status code equal to 404.
glassfish.http-service.server.request.Count4xx countNumber of responses with a status code equal in the 4xx range.
glassfish.http-service.server.request.Count503 countNumber of responses with a status code equal to 503.
glassfish.http-service.server.request.Count5xx countNumber of responses with a status code equal in the 5xx range.
glassfish.http-service.server.request.MaxTime msLongest response time for a request; not a cumulative value, but the largest response time from among the response times.
glassfish.http-service.server.request.CountBytesReceived (featured metric) countNumber of bytes received.
glassfish.http-service.server.request.CountBytesTransmitted (featured metric) countNumber of bytes transmitted.
glassfish.http-service.server.request.RequestCount (featured metric) countCumulative number of requests processed so far.
glassfish.http-service.server.request.CountOpenConnections countNumber of open connections.
glassfish.http-service.server.request.ProcessingTime (featured metric) msAverage request processing time.
Metric typeResource (name of specific database, where relevant)UnitsMetric type description
glassfish.jvm.garbage-collectors.Scavenge.CollectionCount countTotal number of collections that have occurred.
glassfish.jvm.garbage-collectors.Scavenge.CollectionTime msApproximate accumulated collection elapsed time in milliseconds.
glassfish.jvm.garbage-collectors.MarkSweepCompact.CollectionCount countTotal number of collections that have occurred.
glassfish.jvm.garbage-collectors.MarkSweepCompact.CollectionTime msApproximate accumulated collection elapsed time in milliseconds.
glassfish.jvm.memory.CommittedHeapSize bytesAmount of memory in bytes that is committed for the Java virtual machine to use.
glassfish.jvm.memory.CommittedNonHeapSize bytesAmount of memory in bytes that is committed for the Java virtual machine to use.
glassfish.jvm.memory.InitHeapSize bytesAmount of memory in bytes that the Java virtual machine initially requests from the operating system for memory management.
glassfish.jvm.memory.InitNonHeapSize bytesAmount of memory in bytes that the Java virtual machine initially requests from the operating system for memory management.
glassfish.jvm.memory.MaxHeapSize (featured metric) bytesMaximum amount of memory in bytes that can be used for memory management.
glassfish.jvm.memory.MaxNonHeapSize bytesMaximum amount of memory in bytes that can be used for memory management.
glassfish.jvm.memory.ObjectPendingFinalizationCount countApproximate number of objects for which finalization is pending.
glassfish.jvm.memory.UsedHeapSize bytesAmount of used memory in bytes.
glassfish.jvm.memory.UsedNonHeapSize bytesAmount of used memory in bytes.
Metric typeResource (name of specific database, where relevant)UnitsMetric type description
glassfish.transaction-service.ActiveCount (featured metric) countProvides the number of transactions that are currently active.
glassfish.transaction-service.CommittedCount (featured metric) countProvides the number of transactions that have been committed.
glassfish.transaction-service.RolledBackCount (featured metric) countProvides the number of transactions that have been rolled back.
Metric typeResource (name of specific database, where relevant)UnitsMetric type description
glassfis.resources.{PoolName}.AverageConnWaitTimePoolNamemsAverage wait-time-duration per successful connection request.
glassfis.resources.{PoolName}.ConnRequestWaitTimePoolNamemsThe longest and shortest wait times of connection requests. The current value indicates the wait time of the last request that was serviced by the pool.
glassfis.resources.{PoolName}.NumConnAcquiredPoolNamecountNumber of logical connections acquired from the pool.
glassfis.resources.{PoolName}.NumConnCreatedPoolNamecountThe number of physical connections that were created since the last reset.
glassfis.resources.{PoolName}.NumConnDestroyedPoolNamecountNumber of physical connections that were destroyed since the last reset.
glassfis.resources.{PoolName}.NumConnfailedValidationPoolNamecountThe total number of connections in the connection pool that failed validation from the start time until the last sample time.
glassfis.resources.{PoolName}.NumConnFreePoolNamecountThe total number of free connections in the pool as of the last sampling.
glassfis.resources.{PoolName}.NumConnnotSuccessfullyMatchedPoolNamecountNumber of connections rejected during matching.
glassfis.resources.{PoolName}.NumConnReleasedPoolNamecountNumber of logical connections released to the pool.
glassfis.resources.{PoolName}.NumConnSuccessfullyMatchedPoolNamecountNumber of connections successfully matched.
glassfis.resources.{PoolName}.NumConnTimedOutPoolNamecountThe total number of connections in the pool that timed out between the start time and the last sample time.
glassfis.resources.{PoolName}.NumConnUsedPoolNamecountProvides connection usage statistics. The total number of connections that are currently being used, as well as information about the maximum number of connections that were used (the high water mark).
glassfis.resources.{PoolName}.NumPotentialConnLeak (featured metric)PoolNamecountNumber of potential connection leaks.
glassfis.resources.{PoolName}.WaitQueueLength (featured metric)PoolNamecountNumber of connection requests in the queue waiting to be serviced.

Parent Topic:Agent Client Collector Monitoring default checks and policies