This chapter describes the Glassfish metrics.
This metric category provides information on EJB cache metrics by server.
This metric shows how many times per minute user requests on this server found a bean in the EJB cache.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of EJB cache hits is %value% (per minute). |
This metric shows how many times per minute user requests on this server didn't find a bean in the EJB cache.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of EJB cache misses is %value% (per minute). |
This metric shows how many times per minute user requests on this server have attempted to access the EJB Cache.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of EJB cache access attempts is %value% (per minute). |
This metric shows the percentage of user requests on this server that found a bean in the EJB cache.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The EJB cache hit rate is %value%%%. |
This metric category provides information on the EJB Pool Metrics by Server.
This metric shows the number of EJBs deployed to this server that are currently in the associated pool, providing information about how the pool is changing.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of beans in pool is %value%." |
This metric shows the number of threads waiting for free beans, giving an indication of possible congestion of requests.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of threads waiting for free beans is %value%. |
This metric category provides information on JMS connection pool metrics by server.
This metric shows the number of JMS connections currently in use on this server.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of JMS connections in use is %value%. |
This metric shows the number of JMS connection requests in the queues on this server that are waiting to be serviced.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of JMS connections pending is %value%." |
This metric shows how many times per minute a logical connection was acquired from a JMS connection pool on this server.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of JMS connections acquired is %value% (per minute)." |
This metric category provides information on JTA metrics.
This metric shows the number of transactions currently active on this server.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of active JTA transactions is %value%. |
This metric shows the number of transactions per minute that have been committed on this server.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The committed transactions are %value% (per minute). |
This metric shows the number of transactions per minute that have been rolled back on this server.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The transaction rollbacks are %value% (per minute). |
This metric category provides information on JVM metrics.
This metric shows the heap memory in megabytes used by the Java Virtual machine.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The heap usage is %value% MB." |
This metric shows the name of the Java Virtual Machine vendor.
Target Version | Collection Frequency |
---|---|
All Versions | Every 15 Minutes |
This metric shows the version of the Java Virtual Machine.
Target Version | Collection Frequency |
---|---|
All Versions | Every 15 Minutes |
This metric shows the percentage of CPU time used by the Java Virtual machine.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The CPU usage is %value%%%. |
This metric shows the percentage of heap memory used by the Java Virtual machine.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The heap usage is %value%%%." |
This metric category provides information about the JVM class loading metric.
This metric tracks and raises an alert when the number of classes currently loaded exceeds the defined thresholds.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of classes currently loaded is %value%. |
This metric category provides information about JVM compilation metrics.
For the selected Java Virtual Machine (JVM), this metric shows the total time spent by the JVM in compilation. The value of the metric is in milliseconds and shows the time spent in compilation since the JVM was last started.
Target Version | Collection Frequency |
---|---|
All Versions | Every 15 Minutes |
This metric category provides information about JVM garbage collectors metrics.
This metric is the number of times the garbage collector was invoked per minute during the last metric collection interval.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The invocations for garbage collector %Name% are %value% (per minute). |
This metric shows the average time ( in millisecs) spent per invocation of the garbage collector during the last metric collection interval.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The invocation time for garbage collector %Name% is %value% ms. |
This metric tracks and raises an alert when the percentage of the old heap free space after garbage collection is less than the percentage defined in the thresholds.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | Percent of old heap free after GC for garbage collector %Name% is %value%%%. |
This metric tracks the size (in MB) of the old heap free space after garbage collection.
Target Version | Collection Frequency |
---|---|
All versions | Every 15 Minutes |
This metric tracks and raises an alert when the percentage of time that the garbage collector spends in garbage collection exceeds the percentage defined in the thresholds.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The percentage of time garbage collector %Name% has spent in Garbage Collection is %value% (%). |
This metric category provides information about JVM memory pools metrics.
This metric shows the name of the JVM memory pool.
Target Version | Collection Frequency |
---|---|
All versions | Every 15 Minutes |
This metric shows the type of the JVM memory pool.
Target Version | Collection Frequency |
---|---|
All versions | Every 15 Minutes |
This metric shows the current memory usage (in megabytes) of the selected Java Virtual Machine (JVM).
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The memory usage for pool %Name% is %value% MB. |
This metric category provides information about the JVM memory usage metrics.
This metric shows the total heap memory (in megabytes) currently in use by the selected Java Virtual Machine (JVM).
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The heap memory usage is %value% MB. |
This metric shows the total non-heap memory (in megabytes) currently in use by the selected Java Virtual Machine (JVM).
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The heap memory usage is %value% MB. |
This metric shows the number of objects pending finalization in the selected Java Virtual Machine (JVM).
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of objects pending finalization is %value%. |
This metric category provides information about the JVM runtime metrics.
This metric category provides information about JVM threads metrics.
This metric shows the current number of active daemon threads in the selected Java Virtual Machine (JVM).
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of objects pending finalization is %value%. |
This metric shows the current number of deadlocked threads in the selected Java Virtual Machine (JVM).
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of objects pending finalization is %value%. |
This metric shows the maximum (peak) number of threads started in this Java Virtual Machine (JVM) since the JVM was started.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of objects pending finalization is %value%. |
This metric shows the current number of active threads in the selected Java Virtual Machine (JVM).
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of objects pending finalization is %value%. |
This metric category provides information on module metrics by server.
This metric shows the number of sessions currently active on the server.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of active sessions is %value%." |
This metric category provides information on the Response metrics.
This metric shows the status of the server as an integer. A value of "1" is up, and a value of "0" is down.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every Minute | Not Defined | 0 | MESSAGE="The GlassFish Server is down"
CLEAR_MESSAGE="The GlassFish Server is up" |
This metric category provides information on server metrics.
This metric shows the current state of the server as an integer. Possible values are as follows:
public static final int STARTING_STATE = 0;
public static final int RUNNING_STATE = 1;
public static final int STOPPING_STATE = 2;
public static final int STOPPED_STATE = 3;
public static final int FAILED_STATE = 4;
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The server state is %value%. |
This metric category provides information on server datasource metrics.
This metric shows the number of datasource connections currently in use by applications running on this server.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The number of connections in use is %value%. |
This metric shows the number of physical datasource connections created per minute by the pools on this server.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The connections created are %value% (per minute). |
This metric shows the number of logical datasource connections acquired per minute from the pools on this server.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The connections acquired are %value% (per minute). |
This metric category provides information on server servlet metrics.
This metric shows the average amount of time in milliseconds it took to process a servlet request on this server, since the last collection.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The request processing time is %value% ms |
This metric shows the number of servlet requests processed per minute on this server.
Target Version | Evaluation and Collection Frequency | Default Warning Threshold | Default Critical Threshold | Alert Text |
---|---|---|---|---|
All Versions | Every 15 Minutes | Not Defined | Not Defined | The requests processed is %value% (per minute). |