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

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

lastError

lastError

Error information of the method

-

STRING

LAST

maxTime

maxTime

Maximum response time of the method

ms

INT

MAX

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

runningCount

runningCount

Number of executions of the method at the time of collection

-

INT

SUM

totalTime

totalTime

Total response time of the method

ms

INT

SUM