Volcengine Managed Service for Prometheus
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Action | String | Yes | UpdateNotifyTemplate | API name. The API name is UpdateNotifyTemplate. |
Version | String | Yes | 2021-03-03 | API version. The API version is 2021-03-03. |
Id | String | Yes | e28ae750-bbb8-4ff4-abf4-1e0e0f88808c | Alerting notification template ID. Alerting notification template IDs can be obtained through API ListNotifyTemplates. |
Name | String | No | template-demo | Name of alerting notification template. Duplicate names are not allowed in the same region. |
Description | String | No | This is a description | Description of alerting notification template. |
Active | No | - | Alerting notification template. | |
Resolved | No | - | Notification template used when alerts are cleared. |
Parameter | Type | Required | Sample value | Description |
Parameter | Type | Required | Sample value | Description |
Title | String | No | An alert is triggered in the Volcano {{ .Region }} | The title of the template. |
Content | String | Yes | Alerting rule: [{{ .AlertingRuleName }}]({{ .AlertingRuleDetailURL }}) Alerting level: {{ .Level }} Alerting condition: {{ .PromQL }} {{ .Comparator }} {{ .Threshold }} [ last for {{ .For }} ] | Template content. For more details about configurations, please refer to Lark notification template and Structure and parameters of Variables. |
Parameter | Type | Sample value | Description |
Parameter | Type | Sample value | Description |
Id | String | e28ae750-bbb8-4ff4-abf4-1e0e0f88808c | Alerting notification template 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 necessary 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. |
404 | NotFound.Id | The specified Contact/ContactGroup {{Id}} is not found. | The specified contact person/group was not found. |
409 | Conflict.Name | The specified name conflicts with existing {{resource}}. | The specified name has already been used by an existing resource. |