Database Autonomy Service (DAS) provides the event subscription feature for ApsaraDB RDS for PostgreSQL. After you enable the event subscription feature for your ApsaraDB RDS for PostgreSQL instance, the system sends you notifications when specified events occur. You can specify a notification method based on your business requirements.

Prerequisites

Your ApsaraDB RDS for PostgreSQL instance runs ApsaraDB RDS for PostgreSQL High-availability Edition.

Procedure

  1. Access RDS Instances, select a region at the top, and then click the ID of the target RDS instance.
  2. Go to the Autonomous Function Management panel.
    • In the left-side navigation pane, choose Autonomy Service > Diagnostics. On the page that appears, click the Autonomy Center tab. On the Autonomy Center tab, click Autonomy Service Settings.
    • In the left-side navigation pane, choose Autonomy Service > Dashboard. On the Performance Trends tab of the page that appears, click Autonomy Service Settings.
  3. On the Event Subscription Settings tab of the panel that appears, turn on Enable Subscription Service and configure the following parameters.
    Event Subscription Settings
    ParameterDescription
    UrgencyThe 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 running of the databases.
    • Warning: events that may affect the running of the databases.
    • Optimize: events for which optimization suggestions are generated based on the status of the databases.
    • Notification: database exceptions for which no suggestions are generated.
    Select Contacts/Contact GroupsThe contacts and contact groups to which DAS sends notifications. Select one or more contacts or contact groups in the Existing Contacts/Contact Groups section and click the 042701 icon to add the selected contacts or contact groups to the Selected Contacts/Contact Groups section.
    Notification MethodThe method that is used by DAS to send notifications. Valid values:
    • SMS
    • DingTalk Chatbot
    • SMS + DingTalk Chatbot
    • SMS + Email
    Notification LanguageOnly Chinese is supported.
    Minimum Notification IntervalThe minimum interval between two notifications for the same event. If an event lasts after DAS sends a notification of this event, DAS sends the notification again only after this interval ends.
  4. Click OK.