Updated on 2023-08-02 GMT+08:00

JavaMethod

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

Table 1 JavaMethod collection parameter

Parameter

Data Type

Application Type

Default

Supported Start Agent Version

Supported End Agent Version

Description

Method Interception Configuration

obj_array

JAVA

-

2.0.0

-

Specify methods to intercept. Use commas (,) to separate methods. If this parameter is left blank, all public methods will be intercepted by default.

Table 2 JavaMethod metrics

Category

Metric

Name

Description

Unit

Data Type

Default Aggregation Mode

Java method (method: Method call statistics are collected based on the configured Java method names.)

class

Class

Class

-

ENUM

LAST

method

Method

Method

-

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

lastError

Error Message

Error information of the method

-

STRING

LAST

maxTime

Max. RT

Maximum response time of the method

ms

INT

MAX

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

runningCount

Ongoing Executions

Number of executions of the method at the time of collection

-

INT

SUM

totalTime

Total RT

Total response time of the method

ms

INT

SUM