Updated on 2025-11-19 GMT+08:00

Database

Database is a collector to collect database information. The information includes the categories, names, descriptions, units, data types, and default aggregation modes of metrics.

Table 1 Database metrics

Category

Metric

Name

Description

Unit

Data Type

Default Aggregation Mode

SQL monitoring (sql)

slowCount

Slow Calls

Number of slow calls

-

INT

SUM

slowTraceId

Slowest Trace ID

ID of a slow trace in a collection period

-

STRING

LAST

invokeCount

Calls

Number of times that the SQL statement is called

-

INT

SUM

errorCount

Errors

Number of errors that the SQL statement encounters

-

INT

SUM

errorTraceId

Error Trace ID

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

-

STRING

LAST

totalTime

Total RT

Total response time of the SQL statement

ms

INT

SUM

maxTime

Max. RT

Maximum response time of the SQL statement

ms

INT

MAX

component

Component

Component

-

STRING

LAST

statement

SQL Statement

SQL statement

-

ENUM

LAST

Database monitoring (dataBase)

invokeCount

Calls

Number of times that the database is called

-

INT

SUM

errorCount

Errors

Number of errors that the database encounters

-

INT

SUM

totalTime

Total RT

Total response time of the database

ms

INT

SUM

maxTime

Max. RT

Maximum response time of the database

ms

INT

MAX

database

Database Instance

Database instance information

-

ENUM

LAST

Total (total)

invokeCount

Calls

Total number of calls

-

INT

SUM

errorCount

Errors

Total number of errors

-

INT

SUM

totalTime

RT

Total response time

ms

INT

SUM

maxTime

Max. RT

Maximum response time

ms

INT

MAX