WildFly JVM-Level Monitoring: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(16 intermediate revisions by the same user not shown)
Line 5: Line 5:
=Metrics=
=Metrics=


* Total number of threads, obtained from [[ThreadMXBean_Platform_MBean#ThreadCount|ThreadMXBean Platform MBean]].
These metrics are collected directly from the platform MBeans exposed by the JVM that executes the JBoss instance. A JMX connection is required, but the same JMX connection can be used to collect JBoss-level and application-level metrics.
* Memory statistics obtained from the [[Memory_Monitoring_and_Management_Platform_MBeans#Memory_MBean|Memory MBean]], various [[Memory_Monitoring_and_Management_Platform_MBeans#Memory_Pool_MBeans|memory pool MBeans]] and memory managers, including the garbage collector memory managers.
 
==JVM Memory Metrics==
 
There is a certain degree of overlap between the information provided by the memory-related platform MBeans and the garbage collection log.
 
Platform MBeans:
* [[Memory_Monitoring_and_Management_Platform_MBeans#Memory_MBean|Memory MBean]]
* [[Memory_Monitoring_and_Management_Platform_MBeans#Memory_Pool_MBeans|Memory Pool MBeans]] (these depend on the JVM version and the type of garbage collector in use).
* [[Memory_Monitoring_and_Management_Platform_MBeans#Garbage_Collector_MBeans|Garbage Collector Memory Manager MBeans]] (these depend on the type of garbage collection in use).
 
==JVM Thread Statistics==
 
Platform MBeans:
* [[ThreadMXBean_Platform_MBean|Thread MBean]]
 
==O/S Level Runtime Metrics==
 
Platform MBeans:
* [[OperatingSystemMXBean Platform MBean|OperatingSystem MBean]]
 
==Classloading Metrics==
 
Platform MBeans:
* [[ClassLoadingMXBean Platform MBean|Classloading MBean]]

Latest revision as of 15:03, 11 May 2017

Internal

Metrics

These metrics are collected directly from the platform MBeans exposed by the JVM that executes the JBoss instance. A JMX connection is required, but the same JMX connection can be used to collect JBoss-level and application-level metrics.

JVM Memory Metrics

There is a certain degree of overlap between the information provided by the memory-related platform MBeans and the garbage collection log.

Platform MBeans:

JVM Thread Statistics

Platform MBeans:

O/S Level Runtime Metrics

Platform MBeans:

Classloading Metrics

Platform MBeans: