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 8–20 JVM Monitoring Statistics for Java SE Garbage Collectors
Statistic |
Data Type |
Description |
---|---|---|
collectioncount |
CountStatistic |
Total number of collections that have occurred |
collectiontime |
CountStatistic |
Accumulated time (in milliseconds) spent in collection |