Application Performance Management Plus
Parameters | Type | Required | Sample value | Description |
Action | String | Yes | GetAlarmMetricCandidate | The API name. The API name is GetAlarmMetricCandidate. |
Version | String | Yes | 2022-10-12 | The API version. The current API version is 2022-10-12. |
common | No | - | Common parameters. | |
flex_param | No | - | Alert metrics and filtering conditions. |
Parameters | Type | Required | Sample value | Description |
aid | Long | No | 12345 | Application ID. |
os | String | No | webpro | Service type. |
Parameters | Type | Required | Sample value | Description |
measure_list | No | - | A list of alert metrics. Call the GetAlarmMeta and GetAlarmEventMetaMetric APIs to view the values. | |
filter_name | String | No | browser_brand | The key of the filtering condition. Call the GetAlarmMetricRelatedMeta API to view available values. |
Parameters | Type | Required | Sample value | Description |
type | String | No | monomial | Metric type.
|
raw_measure_list | No | - | A list of all metrics. | |
formula | String | No | - | The arithmetic formula for the metric. This parameter is optional when the metric type is polynomial. |
name | String | No | PV | The metric name.
|
Parameters | Type | Required | Sample value | Description |
measure_name | String | No | pv_uv.count | Simple metric key. Call the GetAlarmMeta and GetAlarmEventMetaMetric APIs to view the values. |
filter_list | No | - | Custom event key. Required when the metric is a custom event metric. | |
event_name | String | No | - | The filter condition. Optional when a single simple metric carries criteria and the metric type is composite. |
Parameters | Type | Required | Sample value | Description |
op | String | No | in | Filtering condition operator. Supported values include in, not_in, regex, and not_regex. |
filter_name | String | No | browser_brand | Filter field. Call the GetAlarmEventMetaMetric API to view available values. |
values | Array of String | No | ["Chrome"] | Filtering condition values. |
Parameters | Type | Sample value | Description |
data | - | Response data. | |
error_msg | String | - | Error message. |
error_no | Integer | 0 | Error code. 0 indicates success. |
Parameters | Type | Sample value | Description |
candidate_list | - | A list of optional values for filtering conditions. |
Parameters | Type | Sample value | Description |
label | String | Chrome | The filter condition. |
value | String | Chrome | Available value for the filtering condition. |