tencent cloud

Feedback

Configuring Alarm Policy for Data Sync

Last updated: 2023-09-05 14:48:05

    Overview

    You can use Tencent Cloud Observability Platform (TCOP) to set alarm rules for important metrics during data sync. TCOP will send notifications to you as soon as a metric becomes abnormal, so you can take corresponding measures.
    This document describes how to set notification rules for metric alarms, including the trigger condition and scope of metric alarms, form of notifications, time period for notifications, and recipient group.

    Adding Alarm Policy

    1. Log in to the TCOP console.
    2. On the left sidebar, select Alarm Management > Policy Management to enter the alarm policy configuration page.
    3. Click Create Policy and configure a alarm policy as detailed below:
    Configuration Type
    Configuration Item
    Description
    Basic Info
    Policy Name
    Custom policy name
    Remarks
    Custom policy remarks
    Monitoring Type
    Select "Tencent Cloud services".
    Policy Type
    Select a policy type for the cloud service you want to monitor. In this scenario, select Data Transfer Service/Data sync.
    Data migration: Metrics in data migration scenarios are monitored.
    Data sync: Metrics in data sync scenarios are monitored.
    Data subscription (Kafka edition): Metrics in data subscription (Kafka edition) in NewDTS are monitored.
    Data subscription (Kafka edition) – Consumption information: Consumer metrics in data subscription (Kafka edition) in NewDTS are monitored. If you select this option, you can further select the “Partition”, “Group”, or “Task” dimension.
    Data subscription: Metrics in data subscription in OldDTS are monitored.
    Configure Alarm Rule
    Alarm Object
    If you select "Instance ID", the alarm policy is associated with the selected instance.
    If you select "Instance Group", the alarm policy is associated with the selected instance group.
    If you select “All Objects”, the alarm policy is associated with all instances the current account has permission to access.
    Configure manually – Metric Alarm
    Alarm trigger condition: You can specify that the alarm is triggered when any or all metrics meet the set condition.
    Sample configuration: The metric is "Source Instance Data Extraction RPS", 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 "Source Instance Data Extraction RPS" metric data 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 set a notification repetition rule so that the alarm notification is repeatedly sent at the specified frequency, such as once every hour, every 2 hours, and every 24 hours.
    Configure manually – Event Alarm
    Select the event for which the alarm is reported.
    The configuration here can also be configured in EventBridge. If you have already configured the event alarm as instructed in Configuring Event Alarm, the configuration here is not necessary.
    Select Template
    Click Select Template and select a template in the drop-down list. For more information, see Configuring Trigger Condition Template. If a created template is not displayed, click the Refresh icon on the right to refresh the template list.
    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.
    4. After configuring the above information, click Save.

    Modifying Alarm Policy

    1. Log in to the TCOP console.
    2. On the left sidebar, select Alarm Management > Policy Management, and click the ID of the policy you want to modify to enter the alarm policy management page.
    3. Modify information such as the trigger condition, alarm object, and alarm notification as needed.
    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