All Products
Document Center

Database Autonomy Service:Event subscription

Last Updated:Dec 14, 2023

Database Autonomy Service (DAS) provides the event subscription feature. After you enable the event subscription feature for a database instance, you can receive a notification every time a subscribed event is triggered. You can specify a notification method based on your business requirements.


The database instance that you want to manage is of one of the following types:

  • ApsaraDB RDS for MySQL

  • ApsaraDB MyBase for MySQL

  • ApsaraDB for Redis

  • ApsaraDB RDS for PostgreSQL

  • PolarDB for MySQL Standard Edition or Cluster Edition

Background information

In the autonomy center of DAS, you can query events that occurred within a specific time range, such as exceptions, optimization suggestions, and auto scaling events. For more information about the autonomy center and how to use its features, see Autonomy center.


  1. Log on to the DAS console.
  2. In the left-side navigation pane, click Instance Monitoring.
  3. Find the database instance that you want to manage and click the instance ID. The instance details page appears.
  4. In the left-side navigation pane of the instance details page, click Autonomy Center. In the upper-right corner of the page that appears, click Autonomy Service Settings.

  5. On the Event Subscription Settings tab of the Autonomous Function Management panel, turn on Enable Subscription Service and configure the parameters that are described in the following table.





    The lowest severity level of events for which DAS sends notifications. After an event at or above this level occurs, DAS sends a notification. Valid values:

    • Critical: events that affect the operation of databases.

    • Warning: events that may affect the operation of databases.

    • Optimize: events for which optimization suggestions are generated based on the status of databases.

    • Notification: database exceptions for which no suggestions are generated.

    Select Contacts/Contact Groups

    The alert contacts or alert groups to which DAS sends notifications. Select one or more alert contacts or alert groups in the Existing Contacts/Contact Groups section and click the 042701 icon to add the alert contacts or alert groups to the Selected Contacts/Contact Groups section.

    Notification Method

    The method that DAS uses to send notifications. Valid values:

    • SMS

    • Webhook

    • SMS + Webhook

    • SMS + Email


    Webhook is supported for DingTalk, WeCom, Lark, and Application Real-Time Monitoring Service (ARMS).

    Notification Language

    The language of the notification. Only Chinese is supported.

    Minimum Notification Interval

    The minimum interval between two notifications for the same event. If an event persists after DAS sends a notification about this event, DAS sends the notification again only after this interval ends.

  6. Click OK.

Related API operations




Configures the event subscription settings of a database instance.


Queries the event subscription settings of a database instance.


Queries the details of events of a database instance.


Queries the events of one or more severity levels within a period.