Updated on 2024-07-04 GMT+08:00

GC Monitoring

This section describes the types, names, and meanings of GC metrics collected by APM.

Table 1 GC metrics

Category

Metric

Name

Description

Unit

Data Type

Default Aggregation Mode

GC statistics (gc)

fullGCCount

Full GC Times

Number of full GC times in a collection period

-

INT

SUM

fullGCCountTotal

Total Full GC Times

Total number of full GC times

-

INT

SUM

fullGCTime

Full GC Time

Full GC duration in a collection period

ms

INT

SUM

fullGCTimeTotal

Total Full GC Time

Total full GC duration

ms

INT

SUM

fullGCMBeanName

Full GC Recycler

Name of the full GC recycler

-

STRING

LAST

youngGCCount

Young GC Times

Number of young GC times in a collection period

-

INT

SUM

youngGCCountTotal

Total Young GC Times

Total number of young GC times

-

INT

SUM

youngGCTime

Young GC Time

Young GC duration in a collection period

ms

INT

SUM

youngGCTimeTotal

Total Young GC Time

Total young GC duration

ms

INT

SUM

youngGCMBeanName

Young GC Recycler

Name of the young GC recycler

-

STRING

LAST

GC details (gcdetail)

action

GC Type

GC type, which can be major or minor

-

ENUM

LAST

cause

GC Cause

GC cause

-

ENUM

LAST

name

GC Name

GC collector name

-

STRING

LAST

count

Count

Number of times that GC has occurred

-

INT

SUM

totalTime

GC Time

GC duration

ms

INT

SUM

maxTime

Max. GC Time

Time consumed by the slowest GC

ms

INT

MAX

detail

GC Details

Details about the slowest GC

-

CLOB

LAST