Parameter | Type | Sample value | Description |
Total | Long | 100 | Total number of alerting rules. |
Items | - | Alerting rule list. |
Parameter | Type | Sample value | Description |
Id | String | 90b5a3da-3464-4718-92e4-039bf41d3cff | Alerting rule ID. |
CreateTime | String | 2020-01-01T00:00:00Z | The creation date of the alerting rule. |
UpdateTime | String | 2020-01-01T00:00:00Z | The update date of the alerting rule. |
Name | String | alert-rule-demo | The name of the alerting rule. |
Description | String | this is a alert rule demo | Description of the alerting rule. |
Type | String | vmp/PromQL | Alerting rule type. Available value is vmp/PromQL. |
Query | - | Alert configuration. | |
Levels | - | The alert level. | |
NotifyPolicyId | String | e28ae750-bbb8-4ff4-abf4-1e0e0f88808c | Alerting notification policy ID. |
NotifyGroupPolicyId | String | e28ae750-bbb8-4ff4-abf4-1e0e0f88808c | Alerting aggregation policy ID. |
Status | String | Running | Alerting rule status:
|
Labels | - | Labels to be added to the alert. | |
Annotations | - | Annotations added to the alert. |
Parameter | Type | Sample value | Description |
WorkspaceId | String | e28ae750-bbb8-4ff4-abf4-1e0e0f88808c | Workspace ID. |
PromQL | String | sum(up) | Query statement. |
Parameter | Type | Sample value | Description |
Name | String | key1 | Key of label or annotation. |
Value | String | value1 | Value of label or annotation. Leaving it empty means the key will be deleted correspondingly. |