Application Performance Management Plus
Parameters | Type | Required | Sample value | Description |
Parameters | Type | Required | Sample value | Description |
Action | String | Yes | GetTraceTrend | The API name. The API name is GetTraceTrend. |
Version | String | Yes | 2026-01-01 | The API version. The API version is 2026-01-01. |
StartTime | Long | Yes | 1767196800 | The query start timestamp in seconds. |
EndTime | Long | Yes | 1767200400 | Query end timestamp in seconds. |
GranularityUnit | String | Yes | s | The time granularity unit, such as "s", "m", and "h". tip GranularityUnit and Granularity together align the start and end times and determine the time series data step, corresponding to the aggregation method on the page. |
Granularity | Long | Yes | 30 | The time granularity value. |
MinCallCostMillisecond | Long | Yes | 100 | The minimum call duration. This is used to filter data. A value of 0 indicates no filtering. |
MaxCallCostMillisecond | Long | Yes | 1,000 | The maximum call duration. This is used to filter data. A value of 0 indicates no filtering. |
Filters | Yes | - | The general-purpose filter criteria, which correspond to the filter boxes on the page. If no filter is specified, an empty list can be passed in. An item consists of key, op, and value, such as span_type,in,server. | |
ProjectName | String | No | default | The project name. |
TagFilters | Yes | - | Tag filter condition. It is set to a value in the format of key-value pairs, which corresponds to the tag filter feature on the page. If no filter is specified, an empty list can be passed in. | |
BusinessCarrier | String | No | agentkit_runtime | The business carrier. Valid value: agentkit_runtime. warning If this parameter is set to agentkit_runtime, the values of the ProjectName and TagFilters parameters do not take effect. |
Parameters | Type | Required | Sample value | Description |
Parameters | Type | Required | Sample value | Description |
Op | String | No | in | The operator in the filter criteria. Valid values: in and not_in. |
Key | String | No | call_service_type | Key of the filter condition. |
Values | Array of String | No | ['http'] | Value of the filter condition. |
Parameters | Type | Required | Sample value | Description |
Parameters | Type | Required | Sample value | Description |
Key | String | No | testKey | The tag key. |
Values | Array of String | No | ['testValue'] | The tag value. |
Parameters | Type | Sample value | Description |
Parameters | Type | Sample value | Description |
Panel | - | The metric time series data. |
Parameters | type | Sample value | Description |
Parameters | type | Sample value | Description |
Accuracy | Integer | 0 | The data accuracy. The default value is 0. |
TrendList | - | The data time series. |
Parameters | Type | Sample value | Description |
Parameters | Type | Sample value | Description |
Avg | Double | 100 | Average value. |
Tags | - | The tags related to the trend. The value is expressed as a triplet, such as tag key,tag display name,tag value. | |
Unit | String | % | Unit.
|
Points | - | The trend points. The value is expressed as a triplet, such as start timestamp,metric value,end timestamp. | |
MetricName | String | report volume | The metric name. |
MetricLabel | String | testLabel | The metric display label. |
Parameters | Type | Sample value | Description |
Parameters | Type | Sample value | Description |
Key | String | testKey | Tag key. |
Label | String | testLabel | The tag display name. |
Value | String | testValue | Tag value. |
Parameters | Type | Sample value | Description |
Parameters | Type | Sample value | Description |
Value | Double | 100 | The metric value. |
Timestamp | Long | 1640995200 | The start timestamp. |
EndTimestamp | Long | 1640995260 | The end timestamp. |
HTTP status codes | Error codes | Error messages | Description |
HTTP status codes | Error codes | Error messages | Description |
500 | ErrInternalServerError | We encountered an unexpected server error, please try again later. | Internal server error. |