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

URL Monitoring

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

Table 1 Collection parameters for URL monitoring

Parameter

Data Type

Application Type

Default

Supported Start Agent Version

Supported End Agent Version

Description

Key for Header Value Interception

array

JAVA

-

2.0.0

-

Key based on which header value content is to be intercepted

Key for Parameter Value Interception

array

JAVA

-

2.0.0

-

Key based on which parameter value content is to be intercepted

Key for Cookie Value Interception

array

JAVA

-

2.0.0

-

Key based on which cookie value content is to be intercepted

URL Collection Configuration

obj_array

JAVA

-

2.0.0

-

URL collection configuration, based on which RESTful URLs are normalized. There are four modes: "startwith", "endwith", "include", and "regex".

Blocklist Configuration

obj_array

JAVA

-

2.0.0

-

URLs that match the specified rule will not be collected. There are four modes: "startwith", "endwith", "include", and "regex".

Service Code Length

integer

JAVA

0

2.0.0

-

Maximum length of the body content to be collected for service code parsing

Key for Service Code Interception

array

JAVA

-

2.0.0

-

Specify a key. Then the system parses the key in the body (JSON) and obtains the service status code based on the key.

Normal Service Code

array

JAVA

-

2.0.0

-

Normal service code range. If a service code is not within this range, the corresponding trace is regarded as an error trace.

Slow Request Threshold

integer

JAVA

800

2.0.0

-

Slow request threshold. If the threshold is crossed, the URL is regarded as a slow URL. In that case, the trace sampling ratio will be increased by default.

URL Configuration

obj_array

JAVA

-

2.0.0

-

Configure the slow request threshold and sampling ratio for each URL separately. The following sampling policies can be set: percentage sampling, fixed-quantity sampling per minute, and automatic sampling.

Error Code

radio

JAVA

500

2.0.0

-

Status codes that are counted as errors

Auto URL Normalization

radio

JAVA

false

2.3.11

-

Whether the URL will be automatically normalized