Parameters | Type | Sample value | Description |
notify_types | Array of String | ["mail"] | The alert notification method.
|
notify_groups | Array of Long | [1,23] | A list of mail receiver group IDs. |
upgrade_groups | Array of Long | [1,23] | A list of elevated email receiver group IDs. |
notify_lark_webhooks | Array of String | ["http://lark/url"] | A list of Feishu notification webhooks. |
notify_wechat_webhooks | Array of String | ["http://wechat/url"] | A list of WeCom notification webhooks. |
notify_dingding_webhooks | Array of String | ["http://dingding/url"] | A list of DingTalk notification webhooks. |
Parameters | Type | Sample value | Description |
id | String | 9018754602-1655285699772 | The parameter value is generated by the frontend when a new alert policy is created. This parameter value is used by the backend to plot trend charts. |
measure | - | The metric set. | |
group_bys | - | Alert grouping. | |
filter_list | - | Filter condition. | |
alarm_threshold | Double | 10 | The alert threshold. |
threshold_cmp_op | String | gt | The operator for the alert threshold.
|
alarm_window_size | Long | 180 | The time window in seconds. |
alarm_strategy_type | String | threshold | The metric calculation policy.
|
daily_compare_count | Integer | 60 | Period-over-period comparison now supports the past X minutes. |
alarm_sample_threshold | Double | 3 | Sample count threshold. |
Parameters | Type | Sample value | Description |
name | String | crash_affected_users | The metric name. |
type | String | monomial | Metric type.
|
customId | String | xe3ejx98 | Used by the frontend to restore the page. |
raw_measure_list | - | Specific query metrics. |
Parameters | Type | Sample value | Description |
label | String | OS | The displayed group name. |
group_by_name | String | os | The grouping dimension. |
Parameters | Type | Sample value | Description |
event_name | String | test_service_gyf | This parameter is passed by the frontend but not used by the backend. However, when the system restores the chart, it reads the event name from this field. |
filter_list | - | Filter condition. | |
measure_name | String | "{"metric":"pc_flexible.count","event_dimension":"pc_flexible.event_name","event_name":"test_service_gyf"}" | Value calculated for a specific metric. |