You need to enable JavaScript to run this app.
Volcengine Managed Service for Prometheus

Volcengine Managed Service for Prometheus

Copy page
Download PDF
Alert center
Receiving alert notifications by custom Feishu bot
Copy page
Download PDF
Receiving alert notifications by custom Feishu bot
VMP supports multiple alert notification methods. You can use the standard Feishu bot to receive alerts generated in VMP. This topic describes the procedure and considerations for receiving alerts by Lark.​
Prerequisites​
  • Cloud services or custom businesses have been integrated with VMP. For details, see Integration guide.​
Procedure​
Step 1: Configure the Feishu bot​
tip​
The Feishu alert bots may vary across different organizations. This topic uses a custom bot as an example. If you do not know the name of the alert bot in your organization, contact your Feishu administrator.​
  1. Log in to Feishu with your account and create or find the group that needs to receive alerts. Click the ... icon in the upper right corner of the group, and click Settings on the drop-down menu.​
​
​
  • ​​​
​
  1. In the pop-up window, click Bots > Add Bot.​
​
​
  • ​​​
​
​
  1. In the bot list, find Custom Bot and click Add.​
​
  • ​​​
​
  1. Specify the information about the robot.​
  • Specify a name and description for the robot.​
  • View and specify the information about the robot.​
  • Copy the webhook address of the robot, which will be used in the subsequent configuration.​
  • Select the Set signature verification check box and copy the generated key, which will be used in the subsequent configuration.​
​
  • ​​​
​
  1. Click Finish to add the robot.​
Step 2: Configure an alert contact​
  1. Log in to the VMP console. ​
  1. In the left navigation pane, click Alert Center > Alert Notification Policy. Click the Notification contact tab.​
  1. Click Create notification contact to configure the alerting notification contact. Here:​
  • Enter the webhook address generated by the Feishu bot in the Feishu bot field.​
  • Select the Enable check box for the bot key parameter, and enter the key generated by Feishu bot.​
  • ​​​
  1. Click Verify to check the connectivity between VMP and the Feishu bot. When the verification is passed, the Feishu bot will prompt that the connection is successful in the Feishu group.​
​
  • ​​​
​
  1. Click Add to complete the configuration.​
Step 3: Configure an alert contact group​
  1. In the left navigation pane, click Alert Center > Alert Notification Policy. Click the Notification contact tab.​
  1. Click Create notification contact. Select Contact group for the Object type parameter, configure the alert notification contact group, and add users to this group.​
  • ​​​
​
  1. Click Add to complete the configuration.​
Step 4: Configure an alert notification policy​
  1. In the left navigation pane, click Alert Center > Alert Notification Policy. Click the Policy list tab.​
  1. Click Create notification policy to configure an alert notification policy. Notification method: Select Feishu bot.​
  • ​​​
  1. Click Add to complete the configuration.​
Step 5: Configure an alert rule​
  1. In the left navigation pane, click Alert Center > Alert Rule.​
  1. Click Create to configure an alert rule. Here:​
  • Select the workspace to which the alert rule applies.​
  • Configure the query statement. count(up) by (job) is used in this example.​
  • Configure a trigger policy. You can specify different thresholds for different levels of alerts.​
  • ​​​
  • Configure an alert notification. Specify the Notify policy and Aggregation policy parameters.​
  • ​​​
tip​
If you have not configured an aggregation policy, you can directly use the system default policy, named "default". For the configuration method of an aggregation policy, see Creating alert aggregation policies.​
  1. Click Add to complete the configuration.​
View results​
After alert-related configurations are complete, alert notifications will be sent to Feishu through the Feishu bot when an alert that meets the alert rule is generated. In this case, you can receive the details of alert notifications in the Feishu group.​
​
Click View Details to go to the Alert event page to view the detailed information about the alert. For more details, refer to Viewing alerts.​
​
Last updated: 2026.10.12 10:20:54