After you create a DingTalk chatbot for the alert management feature in Enterprise Distributed Application Service (EDAS), you can specify a DingTalk group to receive alerts in a notification policy. When the dispatch rule of the notification policy is triggered, the system automatically sends an alert notification to the DingTalk group that you specified. After an alert notification is received in the DingTalk group, you can manage the alert in the DingTalk group. This topic describes how to create and manage a DingTalk chatbot.
Prerequisites
A DingTalk group is created on your DingTalk client to receive alert notifications.
Create a DingTalk chatbot in the EDAS console
Create a custom chatbot in the DingTalk group that you created on your DingTalk client and obtain the webhook URL of the chatbot. For more information, see Obtain the webhook URL of a DingTalk chatbot.
Log on to the EDAS console.
In the left-side navigation pane, choose . In the top navigation bar, select a region. In the upper part of the Applications page, select a microservices namespace from the Microservices Namespace drop-down list. Then, click the name of the application that you want to manage.
In the left-side navigation pane, choose .
On the Notification Objects page, click the DingTalk/Lark/WeCom tab.
On the DingTalk/Lark/WeCom tab, click DingTalk.
In the Create DingTalk Chatbot dialog box, configure the following parameters and click OK.
ImportantTo receive alert notifications in the DingTalk group, you must set the Notification method parameter to DingTalk in the notification policy. For more information, see Create and manage a notification policy.
Parameter
Description
Name
Enter the name of the DingTalk chatbot.
Signature Key
Enter a signature key.
Chatbot Webhook URL
Enter the webhook URL of the DingTalk chatbot.
Whether the Chatbot Sends Daily Statistics
If you select this option, you must enter the points in time at which the daily statistics are sent. Separate multiple points in time with commas (,). The points in time must be in the
HH:SS
format. The alert management feature sends the total number of alerts generated on the current day, the number of solved alerts, and the number of alerts to be solved at the specified points in time.
Manage alerts in a DingTalk group
After an alert notification is received in a DingTalk group, you can view and manage the alert in the DingTalk group. For more information, see Handle alerts in a group chat.
What to do next
After you create a chatbot, you can search for, edit, or delete the chatbot on the DingTalk/Lark/WeCom tab.