tencent cloud


Configuring Alarm Policy for Data Sync

Last updated: 2021-12-27 10:55:09


    You can use CM to set alarm rules for important metrics and events during data sync. If a metric is exceptional or an event is triggered, CM will promptly send notifications to you, so you can take appropriate measures.

    DTS supports default alarm configuration for some critical events, which means it will automatically monitor events when a task is started without having you to configure options and will notify you of triggered events. Currently, this feature is supported for the "data sync task interruption" event.

    Adding Alarm Policy

    1. Log in to the CM console.
    2. Click Alarm Configuration > Alarm Policy to enter the alarm policy configuration page.
    3. Click Add and configure a new alarm policy as shown below:
      Configuration TypeConfiguration ItemDescription
      Basic Info Policy NameCustom policy name.
      RemarksCustom policy remarks.
      Monitoring TypeCloud product monitoring.
      Policy Type Select the desired policy type of the Tencent Cloud service to be monitored. Here, select DTS/Data sync.
      • Data migration: metrics and events in data migration scenarios are monitored.
      • Data sync: metrics and events in data sync scenarios are monitored.
      • Data subscription (Kafka Edition): metrics and events in data subscription (Kafka Edition) in new DTS are monitored.
      • Data subscription: metrics and events in data subscription in old DTS are monitored.
      Alarm Policy Alarm Object
      • If you select **Instance ID**, the alarm policy will be associated with the selected instance.
      • If you select **Instance Group**, the alarm policy will be associated with the selected instance group.
      • If you select "All Objects", the alarm policy will be associated with all instances under the current account.
      Configure manually
      (metric alarm)
      • Alarm trigger condition: you can choose to make the alarm triggered when any or all metrics meet the set condition.
        • Configuration example: the metric is "RPS read from source database", the statistical period is 1 minute, the comparison relation is "<", the threshold is "1", and the consecutive monitoring duration is "3 consecutive data points".
        • Configuration effect: the "RPS read from source database" metric is collected once every minute. If the number of rows read by DTS from the source database per second is below 1 for three consecutive times, an alarm will be triggered.
      • Alarm frequency: you can customize the frequency for repeated alarm notifications, such as once every hour, 2 hours, and 1 day.
      Configure manually
      (event alarm)
      Select the event to be monitored. The "data sync task interruption" event has already been configured in the system by default.
      Select template Click *Select template** and select a configured template from the drop-down list. For detailed configurations, see Configuring Trigger Condition Template. If a newly created template is not displayed, click Refresh on the right.
      Configure Alarm Notification Notification Template You can select a preset or custom notification template. Each alarm policy can be bound to three notification templates at most.
      Advanced Configuration Auto Scaling After this option is enabled and configured successfully, an auto scaling policy will be triggered for scaling when the alarm condition is met.
    4. After configuring the above information, click Save.

    Modifying Alarm Policy

    1. Log in to the CM console.
    2. Click Alarm Configuration > Alarm Policy and click the name/ID of the policy to be modified to enter the alarm policy management page
    3. Modify information such as trigger condition, alarm object, and alarm notification.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support