You can integrate WeCom with Managed Service for OpenTelemetry for alert management. After creating a WeCom chatbot, you can configure notification policies to route alerts to designated WeCom groups. If any of the alert conditions for the notification policy are met, the system automatically alerts the WeCom group.
Prerequisite
A WeCom group is created, where you'll receive alerts.
Precaution
Due to WeCom's API licensing restrictions for third-party integrations, ARMS allows the calls of no more than 20 WeCom interfaces. We recommend that you restrict WeCom-based alert handling to critical responders.
Step 1: Obtain the webhook URL of a WeCom chatbot
Start and log on to the WeCom client.
Click the
icon in the upper-right corner of the WeCom group, and click the button for adding a group robot. On the page that appears, click the button for adding a robot. Then, click the add button.
On the page that appears, enter the name of the chatbot and click the add button.
Click the copy button to save the webhook URL of the WeCom chatbot.
Step 2: Create a WeCom chatbot in the Managed Service for OpenTelemetry console
Log on to the Managed Service for OpenTelemetry console.
In the left-side navigation pane, choose . Click the DingTalk/Lark/WeCom tab, and select WeCom.
In the Create WeCom Chatbot panel, configure the following parameters and click OK.
Parameter
Description
Name
The name of the WeCom chatbot.
Chatbot Webhook URL
The webhook URL of the WeCom chatbot.
Whether the Chatbot Sends Daily Statistics
If you select this option, you must enter the time points in the
HH:mmformat. Separate multiple time points with commas (,). At the specified time points, ARMS automatically generates daily alert reports containing:Total triggered alerts
Resolved alert count
Pending alert backlog
Card Content Configuration
Customize the style and content of the alert notification card.
Manage alerts in the WeCom group
After you receive an alert notification in the WeCom group, you can view and manage alerts directly in the group. For more information, see Handle alerts in the specified group chat.
Related steps
On the DingTalk/Lark/WeCom tab, you can perform the following actions:
Search: Enter a keyword of the object name in the search box and click the
icon. Edit: Click Edit in the Actions column. In the dialog box that appears, modify the information and click OK.
Delete: Click Delete in the Actions column. In the dialog box that appears, click OK.