-
Notifications
You must be signed in to change notification settings - Fork 201
Default Metrics Captured by Java 3.0 Agent
Trask Stalnaker edited this page Jun 4, 2024
·
7 revisions
"Current Thread Count"
java.lang:type=Threading / ThreadCount
"Loaded Class Count"
java.lang:type=ClassLoading / LoadedClassCount
“GC Total Count”
Sum of counts across all GC MXBeans (diff since last reported)
“GC Total Time”
Sum of time across all GC MXBeans (diff since last reported)
“Heap Memory Used (MB)”
java.lang:type=Memory / HeapMemoryUsage.Used
“% Of Max Heap Memory Used”
java.lang:type=Memory / HeapMemoryUsage.Used
divided by
java.lang:type=Memory / HeapMemoryUsage.Max
"Suspected Deadlocked Threads"
java.lang:type=Threading
value:
long[] threadIds = threadBean.findDeadlockedThreads();
int blockedThreadCount = threadIds == null ? 0 : threadIds.length;
java.lang:type=OperatingSystem / FreePhysicalMemorySize
java.lang:type=Memory / HeapMemoryUsage.Used + NonHeapMemoryUsage.Used
“% Processor Time”, instance: “”
java.lang:type=OperatingSystem / ProcessCpuTime (diff since last reported, normalized by time and number of CPUs)
"% Processor Time", instance: "_Total"
/proc/stat (I don’t understand this calculation???)
/proc/<pid>/io