You can integrate Lark with Managed Service for OpenTelemetry for alert management. After creating a Lark chatbot, you can configure notification policies to route alerts to designated Lark groups. If any of the alert conditions for the notification policy are met, the system automatically alerts the Lark group. Then, you can directly clear the alerts in the Lark group.
Prerequisites
The administrator of the Lark organization has added the Application Real-Time Monitoring Service (ARMS) application to the Lark application directory.
Members of the Lark organization can request access permissions for the ARMS application.
Step 1: Obtain the webhook URL of a Lark chatbot
Run the Lark client on a PC.
Optional: Click the + icon and click New Group.
Click the
icon on the right side of the Lark group and click Bots.In the panel that appears, click Add. Then, select a custom chatbot.
On the chatbot configuration page, enter the chatbot name and description, and click Add to group.
Copy the webhook URL of the chatbot, select Set keywords, and enter Alert as the keyword.

Click Save.
Step 2: Create a Lark group 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 Lark.
In the Create Lark Chatbot panel, configure the following parameters and click OK.
Parameter
Description
Name
The name of the Lark chatbot.
Chatbot Webhook URL
The webhook URL of the Lark 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 each of these 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.
Step 3: Configure a notification policy
To create or edit a notification policy, select Notification Object as DingTalk/Lark/WeCom and choose the Lark chatbot you created in the previous step.
Manage alerts in the Lark group
After you receive an alert notification in the DingTalk group, you can view and manage it there. 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, change the settings and click OK.
Delete: Click Delete in the Actions column. In the dialog box that appears, click OK.