CoapServer Monitoring

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

Table 1 CoapServer 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

URL corresponding to the status code

-

STRING

LAST

Cluster call (cluster: APM counts URL call statistics based on the cluster ID of the caller.)

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

clientErrorCount

clientErrorCount

Number of client errors

-

INT

SUM

serverErrorCount

serverErrorCount

Number of server errors

-

INT

SUM

CoapServer version (version)

version

version

Version

-

STRING

LAST