Updated on 2023-08-02 GMT+08:00

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 Value

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.

Print Trace ID or Not

radio

JAVA

false

2.3.19

-

Whether to add trace IDs during log printing.

Table 2 Exception metric description

Category

Metric

Name

Description

Unit

Data Type

Default Aggregation Mode

Exception logs (exception: statistics about all exception logs)

className

Exception Class

Exception class

-

ENUM

LAST

exceptionType

Exception Type

Exception type

-

ENUM

LAST

logType

Log Type

Exception log type

-

ENUM

LAST

count

Count

Number of times that an exception has occurred

-

INT

SUM

message

Exception Message

Message returned when the exception has occurred

-

STRING

LAST

stackTrace

Exception Stack

Exception stack

-

CLOB

LAST

errorTraceId

Error Trace ID

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

-

STRING

LAST

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

logType

Log Type

Log type

-

ENUM

LAST

version

Log Version

Log version

-

STRING

LAST