Exception

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

Table 1 Exception collection parameters

Parameter

Data Type

Application Type

Default

Supported Start Agent Version

Supported End Agent Version

Description

Determine Trace Exception upon Log Error Detection

radio

JAVA

true

2.0.0

-

Whether to mark a trace as abnormal after a log error is collected.

Table 2 Exception metric description

Category

Metric

Name

Description

Unit

Data Type

Default Aggregation Mode

Exception logs (exception: statistics about all exception logs)

className

className

Exception class

-

ENUM

LAST

exceptionType

exceptionType

Exception type

-

ENUM

LAST

logType

logType

Exception log type

-

ENUM

LAST

count

count

Number of times that an exception has occurred

-

INT

SUM

message

message

Message returned when the exception occurred

-

STRING

LAST

stackTrace

stackTrace

Exception stack

-

CLOB

LAST

errorTraceId

errorTraceId

ID of the trace that encounters an error in a collection period

-

STRING

LAST

Log version (logVersion: package version of the log component)

logType

logType

Log type

-

ENUM

LAST

version

version

Log version

-

STRING

LAST