Updated on 2024-07-04 GMT+08:00

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

Packet Type

Packet type

-

ENUM

LAST

concurrentMax

Max. Concurrency

Maximum concurrency of the method

-

INT

MAX

errorCount

Errors

Number of times that the method fails to be called

-

INT

SUM

invokeCount

Calls

Number of times that the method is called

-

INT

SUM

maxTime

Max. RT

Maximum response time of the method in a collection period

-

INT

MAX

runningCount

Ongoing Executions

Number of executions of the method at the time of collection

-

INT

SUM

range1

0–10 ms

Number of requests with 0–10 ms response time

-

INT

SUM

range2

10–100 ms

Number of requests with 10–100 ms response time

-

INT

SUM

range3

100–500 ms

Number of requests with 100–500 ms response time

-

INT

SUM

range4

500–1000 ms

Number of requests with 500–1000 ms response time

-

INT

SUM

range5

1–10s

Number of requests with 1–10s response time

-

INT

SUM

range6

> 10s

Number of requests with response time longer than 10s

-

INT

SUM

totalTime

Total RT

Total response time of the method

-

INT

SUM

method

Request Type

Request type

-

ENUM

LAST

errorTraceId

Error Trace ID

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

-

STRING

LAST

slowTraceId

Slow Trace ID

ID of the slowest trace in a collection period

-

STRING

LAST

lastError

Error Message

Error message

-

STRING

LAST

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

statusInfo

Status Code

Status code

-

ENUM

LAST

count

Calls

Number of times that the status code has occurred

-

INT

SUM

url

Sample 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

Cluster ID

Cluster ID of the caller

-

ENUM

LAST

invokeCount

Calls

Number of times the cluster is called

-

INT

SUM

totalTime

Total RT

Total response time for calling the cluster

-

INT

SUM

errorCount

Errors

Number of times that the cluster fails to be called

-

INT

SUM

CoapClient version (version)

version

Version

Version

-

STRING

LAST