Volcengine Managed Service for Prometheus
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Action | String | Yes | CreateNotifyGroupPolicy | API name. The API name is CreateNotifyGroupPolicy. |
Version | String | Yes | 2021-03-03 | API version. The API version is 2021-03-03. |
Name | String | Yes | test | Name of the alert aggregation policy. |
Description | String | No | This is a description | Description of the alert aggregation policy. |
Levels | Yes | - | Level of alert aggregation policy. |
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Level | String | Yes | P0 | Levels of alert aggregation policies. Level P0, P1, and P2 are available currently. |
GroupBy | Array of String | Yes | ["__rule__"] | Aggregation dimension. Available value is rule. |
GroupWait | String | No | 30 | Waiting time. It is a positive integer in seconds. |
GroupInterval | String | Yes | 30 | Aggregation interval. It is a positive integer in seconds. |
RepeatInterval | String | Yes | 30 | Repeat interval. It is a positive integer in seconds. |
Parameter | Type | Sample value | Description |
Parameter | Type | Sample value | Description |
Id | String | e28ae750-bbb8-4ff4-abf4-1e0e0f88808c | Alert aggregation policy ID. |
HTTP status codes | Error codes | Error message | Description |
HTTP status codes | Error codes | Error message | Description |
400 | InvalidParameter.{{parameter}} | The specified parameter {{parameter}} is invalid. | The specified parameter is invalid. |
400 | MissingParameter.{{parameter}} | The required parameter {{parameter}} is missing. | Missing required parameters. |
403 | ProductUnsubscribed | You are not subscribed to VMP. Please go to the VMP console web page to subscribe to the service | The account is not subscribed to the VMP Service. |
409 | Conflict.Name | The specified name conflicts with existing {{resource}}. | The specified name has already been used by an existing resource. |