Default Metrics Captured by Java 3.0 Agent - microsoft/ApplicationInsights-Java GitHub Wiki

Default metrics captured as custom metrics:

"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;

Default metrics captured as performance counters:

"Available Bytes"

java.lang:type=OperatingSystem / FreePhysicalMemorySize

"Private Bytes"

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???)

"IO Data Bytes/sec"

/proc/<pid>/io
⚠️ **GitHub.com Fallback** ⚠️