Use the following dotted name pattern for JVM garbage collectors statistics:
server.jvm.garbage-collectors.statistic
The statistics that are available for garbage collection in the JVM for Java SE are shown in the following table.
Table 10–12 JVM Statistics for Java SE Garbage Collectors
Statistic |
Description |
---|---|
collectioncount-count |
Total number of collections that have occurred |
collectiontime-count |
Accumulated collection time (in milliseconds) |