Database Autonomy Service (DAS) provides the alerting feature. This feature allows you to customize alert rules. When an alert rule is triggered by a database instance, DAS automatically sends an alert notification. This topic describes how to configure and manage alert rules in the DAS console before you configure alerting.
Create an alert rule
Log on to the DAS console.
In the left-side navigation pane, choose
.On the Alert Rules page, click Add Rule in the upper-right corner.
In the Add Rule dialog box, configure the parameters that are described in the following table. Then, click OK.
Parameter
Description
Rule Name
The name of the alert rule.
Type
The type of the alert rule. Valid values: Event Alert and Threshold Alert.
Event Alert: You can select a specific event that triggers the alert rule.
Threshold Alert: You can select a metric and specify the threshold that triggers the alert rule.
Description
The conditions that trigger the alert rule. Available metrics vary based on the specified Type parameter. For more information, see the Alert metrics section of this topic.
Alert Interval
The interval at which the system sends alert notifications to you when the alert rule is triggered.
Effective Time
The period of time within which the alert rule takes effect.
Notification Method
The method that is used to send alert notifications. DAS can send alert notifications by SMS message, webhook, and email.
NoteWebhook is supported for DingTalk, WeCom, Lark, and Application Real-Time Monitoring Service (ARMS).
After the alert rule is created, you can configure alerting. For more information, see Configure alerting.
Manage an alert rule
Log on to the DAS console.
In the left-side navigation pane, choose .
On the Alert Rules page, manage the created alert rules.
Find the alert rule that you want to manage and click the buttons in the Actions column. You can perform the following operations:
Search: View the details and alert history of the alert rule.
Edit: Modify the alert rule. For more information about the parameters that you can configure for alert rules, see the "Create an alert rule" section of this topic.
Disable: Disable the alert rule.
Delete: Delete the alert rule.
ImportantAfter you modify, disable, or delete an alert rule, all alert templates that contain the alert rule are affected. Proceed with caution.