Glassfish

Supported OS Linux Windows Mac OS

marketplace
Integration version1.0.0

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

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

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

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


Made with ❤️ in Boston

This isn’t the integration you’re looking for? Missing a critical feature for your organization? Drop RapDev a note, 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.