Category | Parameter | Description |
Basic information | Name | Specify a name for the alert rule as a unique identifier. Duplicate names are not allowed. |
| Project | Projects are a platform-provided resource management mechanism that allows you to group resources for different business applications or projects. Project-based authorization with Identity and Access Management (IAM) facilitates resource isolation and data security, as well as cost calculation across cloud resources. For details, see Project management. tip By default, VMP alert rules are added to the default project, and the project cannot be changed. |
| Tags | A tag is a key-value pair that allows you to classify and aggregate cloud resources from different dimensions. You can use tags for resource authorization and bill splitting. For details, see Managing labels. tip You can add up to 50 tags to a single alert rule. |
Alert trigger configuration | workspace | The workspace that you want to monitor and trigger alerts. The workspace of Volcengine Managed Service for Prometheus (VMP) is an abstract integration of data and collection rules, which provides users with standard cloud Prometheus capabilities. For more details, see Workspace overview. |
| Query statement | Use standard PromQL statements to configure monitoring objects or metrics. |
| Metric preview | Visually preview the metrics that match the query statement. By default, data from the last hour is queried. |
| Trigger policy | Configure an alert trigger policy. You can specify the alert level, condition, threshold, and condition duration.
|
Alert notification | Notification policy | Select an alert notification policy. The system sends alerts to the specified contacts based on the alert levels and contact groups configured in the notification policy. For notification policy details, see Creating notification policies. |
| Aggregation policies | Select an alert aggregation policy. An aggregation policy is primarily used to configure the aggregation cycle for alerts. It groups a batch of alerts for notification, preventing a large number of alert messages from being generated in a short period when alerts are triggered frequently. For details, see Creating aggregation policies. |
Advanced configuration | Label | Configure the labels of the alert rule. Labels are primarily used for alert identification, grouping, deduplication, and route matching. A label consists of a key and a value.
tip When you configure multiple types of labels, the priorities of the labels are sorted in the following descending order: rule label > global label > PromQL label. Common configuration example: |
| Annotation | Configure the annotations for the alert rule. Annotations are primarily used to display key information. An annotation consists of a key and a value. Valid values:
Common configuration example: |
button, select Actions, and perform the corresponding operation. Use the import/export feature to import VMP alert rules that are exported from another workspace into the current workspace.Actions | Description |
Export selected VMP rules | Export the rules that are selected in the VMP alert rule list to a local JSON file. tip
|
Export all VMP alert rules that meet search criteria | Export all VMP alert rules that meet the filter criteria to a local JSON file. The export is not affected by pagination. You can filter data by region, project, workspace, alert rule group, or search function. |
Import a JSON file to generate VMP alert rules | Use JSON files to import VMP alert rules exported from other accounts, regions, projects, or workspaces into the current VMP alert rule module. During the import, you can configure the target region, project, workspace, and name suffix. warning Only rules of the same type can be imported. For example, you can export VMP alert rules from the Beijing region and import them into the Shanghai region for use. However, VMP alert rules cannot be imported into the alert rule module for Cloud Monitor. |