Configure monitoring and alerting

Updated at:

Data Transmission Service (DTS) provides monitoring and alerting for data synchronization, data migration, and change tracking instances. You can configure alert rules for key metrics in the DTS console to stay informed of instance status.

Prerequisites

You have created a DTS instance or reached the Advanced Settings step when configuring an instance. For more information, see the relevant configuration topics in Synchronization scenario overview, Migration scenarios, or Overview of change tracking scenarios.

Usage notes

  • The Full Synchronization Timeout alert is enabled by default. The default alert rule triggers an alert if a full synchronization task runs for more than 24 hours, and no alert contacts are specified.

  • To configure monitoring and alerting for DTS instances on CloudMonitor, see Configure alert rules for DTS instances on the CloudMonitor console.

Configure alerts during instance configuration

The monitoring and alerting configuration steps are similar for all DTS instance types. The following procedure uses a data synchronization instance as an example.

  1. In the Advanced Settings step, set Monitoring and Alerting to Yes.

  2. Under Set Alert Rule, set the time threshold for task failure or latency alerts and specify the mobile phone numbers of alert contacts.

    Note

    To add multiple alert contacts, click image and enter their phone numbers. You can add up to five contacts.

  3. Refer to the relevant documentation for the remaining configuration steps.

Configure alerts for an existing instance

The monitoring and alerting configuration steps are similar for all DTS instance types. The following procedure uses a data synchronization instance as an example.

  1. Go to the data synchronization task list page in the destination region. You can do this in one of two ways.

    DTS console

    1. Log on to the DTS console.

    2. In the navigation pane on the left, click Data Synchronization.

    3. In the upper-left corner of the page, select the region where the synchronization instance is located.

    DMS console

    Note

    The actual steps may vary depending on the mode and layout of the DMS console. For more information, see Simple mode console and Customize DMS console layout and style.

    1. Log on to the DMS console.

    2. In the top menu bar, choose Data + AI > DTS (DTS) > Data Synchronization.

    3. To the right of Data Synchronization Tasks, select the region of the synchronization instance.

  2. In the Actions column of the target instance, choose image.png > Alert Settings.

    Note

    Alternatively, click the instance ID and then click Alert Settings in the left-side navigation pane.

  3. On the Alert Settings page, configure the metrics and alert rules.

    Instance type

    Metric

    Description

    Data synchronization

    • Synchronization Latency

    • Full Synchronization Timeout

    • Synchronization Status

    By default, the Synchronization Latency and Synchronization Status metrics are Disabled, and the Full Synchronization Timeout metric is Enabled.

    Data migration

    • Are you sure that you want to disable the alert on the latency of incremental data migration?

    • Full Synchronization Timeout

    • Migration Status

    By default, the Are you sure that you want to disable the alert on the latency of incremental data migration? and Migration Status metrics are Disabled, and the Full Synchronization Timeout metric is Enabled.

    Change tracking

    • Change Tracking Latency

    • Change Tracking Status

    By default, both the Change Tracking Latency and Change Tracking Status metrics are Disabled.

    Data verification

    • Full data verification

      • Full Data Verification Status

      • Full Data Verification Inconsistency

    • Incremental data verification

      • Incremental Data Verification Status

      • Incremental Data Verification Latency

      • Incremental Data Verification Inconsistency

    The status of each metric depends on the verification alert settings that you specified when you configure a data verification instance.

    DTS Insight

    DTS Insight active diagnostic alarm

    By default, the DTS Insight active diagnostic alarm metric is Enabled.

    Note

    To disable or modify an enabled alert, click Edit in the Actions column for the metric. In the dialog box that appears, you can clear the Enable checkbox next to Status or change other settings.

    • Configure Synchronization Latency

      1. Click Edit in the Actions column for the Synchronization Latency metric.

      2. In the dialog box that appears, select the Enable checkbox next to Status.

      3. Set the time threshold for the latency alert and specify the mobile phone numbers of alert contacts.

        Note

        To add multiple alert contacts, click image and enter their phone numbers. You can add up to five contacts.

      4. Click OK.

    • Configure Full Synchronization Timeout

      1. Click Edit in the Actions column for the Full Synchronization Timeout metric.

      2. Set the time threshold for the timeout alert and specify the mobile phone numbers of alert contacts.

        Note

        To add multiple alert contacts, click image and enter their phone numbers. You can add up to five contacts.

      3. Click OK.

    • Configure Synchronization Status

      Note

      The alert rule for the Synchronization Status metric is fixed to Synchronization Status = Abnormal and cannot be modified.

      1. Click Edit in the Actions column for the Synchronization Status metric.

      2. Specify the mobile phone numbers of alert contacts.

        Note

        To add multiple alert contacts, click image and enter their phone numbers. You can add up to five contacts.

      3. Click OK.

Modify alert settings

The monitoring and alerting configuration steps are similar for all DTS instance types. The following procedure uses a data synchronization instance as an example.

  1. Go to the data synchronization task list page in the destination region. You can do this in one of two ways.

    DTS console

    1. Log on to the DTS console.

    2. In the navigation pane on the left, click Data Synchronization.

    3. In the upper-left corner of the page, select the region where the synchronization instance is located.

    DMS console

    Note

    The actual steps may vary depending on the mode and layout of the DMS console. For more information, see Simple mode console and Customize DMS console layout and style.

    1. Log on to the DMS console.

    2. In the top menu bar, choose Data + AI > DTS (DTS) > Data Synchronization.

    3. To the right of Data Synchronization Tasks, select the region of the synchronization instance.

  2. In the Actions column of the target instance, choose image.png > Alert Settings.

    Note

    Alternatively, click the instance ID and then click Alert Settings in the left-side navigation pane.

  3. Click Edit in the Actions column for the target metric.

  4. In the dialog box that appears, modify the settings as needed.

    • To disable monitoring and alerting: Clear the Enable checkbox next to Status.

    • To modify the alert rule threshold: Adjust the value in the text box next to Alert Rules.

      Note

      You cannot modify the alert rule threshold for the Synchronization Status and Migration Status metrics.

    • To edit an alert contact: Edit the contact in the Alert Contact text box.

    • To add an alert contact: Click image next to the Alert Contact text box and enter the phone number of the contact.

    • To delete an alert contact: Click image next to the Alert Contact text box.

  5. Click OK.