Exception
This section describes the types, names, and meanings of exception metrics collected by APM.
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. |
Associate Service Logs with Trace IDs | radio | JAVA | false | 2.3.19 | - | Whether to associate service logs with trace IDs. |
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 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 |