CoapClient Monitoring

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

Table 1 Call metrics

Category

Metric

Name

Description

Unit

Data Type

Default Aggregation Mode

URL monitoring (detail: APM counts URL call statistics by URL, packet type, and request type.)

url

url

Request URL

-

ENUM

LAST

requestType

requestType

Packet type

-

ENUM

LAST

concurrentMax

concurrentMax

Maximum concurrency of the method

-

INT

MAX

errorCount

errorCount

Number of times that the method fails to be called

-

INT

SUM

invokeCount

invokeCount

Number of times that the method is called

-

INT

SUM

maxTime

maxTime

Maximum response time of the method in a collection period

-

INT

MAX

runningCount

runningCount

Number of executions of the method at the time of collection

-

INT

SUM

range1

range1

Number of requests with 0-10 ms response time

-

INT

SUM

range2

range2

Number of requests with 10-100 ms response time

-

INT

SUM

range3

range3

Number of requests with 100-500 ms response time

-

INT

SUM

range4

range4

Number of requests with 500-1000 ms response time

-

INT

SUM

range5

range5

Number of requests with 1-10s response time

-

INT

SUM

range6

range6

Number of requests with response time longer than 10s

-

INT

SUM

totalTime

totalTime

Total response time of the method

-

INT

SUM

method

method

Request type

-

ENUM

LAST

errorTraceId

errorTraceId

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

-

STRING

LAST

slowTraceId

slowTraceId

ID of the slowest trace in a collection period

-

STRING

LAST

lastError

lastError

Error message

-

STRING

LAST

Status code (statusInfo: APM counts URL call statistics based on the status code returned.)

statusInfo

statusInfo

Status code

-

ENUM

LAST

count

count

Number of times that the status code has occurred

-

INT

SUM

url

url

Sample URL which returns the status code in a collection period

-

STRING

LAST

Cluster call (CON packets) (cluster_con: APM counts URL call statistics (CON packets) based on the cluster ID.)

clusterId

clusterId

Cluster ID of the caller

-

ENUM

LAST

invokeCount

invokeCount

Number of times the cluster is called

-

INT

SUM

totalTime

totalTime

Total response time for calling the cluster

-

INT

SUM

errorCount

errorCount

Number of times that the cluster fails to be called

-

INT

SUM

CoapClient version (version)

version

version

Version

-

STRING

LAST