Data Transmission Service (DTS) provides the monitoring and alerting feature for data synchronization, data migration, and change tracking tasks. You can configure alert rules for important metrics in the DTS console to monitor the status of DTS tasks in a timely manner.
Prerequisites
A DTS task is created, or you have navigated to the Advanced Settings step when you create a DTS task. For more information, see Overview of data synchronization scenarios, Overview of data migration scenarios, or Overview of change tracking scenarios.
Configure monitoring and alerting when you create a DTS task
You can configure monitoring and alerting for different types of existing DTS tasks in similar procedures. In this example, an existing data synchronization task is used.
In the Advanced Settings step, set Monitoring and Alerting to Yes.
In the Set Alert Rule section, set the time threshold for triggering failure alerts or latency alerts
.ImportantIf you want to receive alert notifications, you must configure an alert subscription in the CloudMonitor console. For more information, see
Configure alert rules for DTS tasks in the CloudMonitor console.Refer to the related topics to complete the configurations of the DTS task.
Configure monitoring and alerting for an existing DTS task
You can configure monitoring and alerting for different types of existing DTS tasks in similar procedures. In this example, an existing data synchronization task is used.
Go to the Data Synchronization Tasks page.
Log on to the Data Management (DMS) console.
In the top navigation bar, click DTS.
In the left-side navigation pane, choose .
NoteOperations may vary based on the mode and layout of the DMS console. For more information, see Simple mode and Customize the layout and style of the DMS console.
You can also go to the Data Synchronization Tasks page of the new DTS console.
On the right side of Data Synchronization Tasks, select the region in which the data synchronization instance resides.
NoteIf you use the new DTS console, you must select the region in which the data synchronization instance resides in the top navigation bar.
In the Actions column of the data synchronization task for which you want to configure monitoring and alerting, choose
.NoteYou can also click the ID of the task to go to the task details page. On this page, click Alert Settings in the left-side navigation pane.
On the Alert Settings page, configure alert rules for the monitoring metrics.
Task type
Metric
Description
Data synchronization
Synchronization Latency
Full Synchronization Timeout
Synchronization Status
By default, Synchronization Latency and Synchronization Status are Disabled and Full Synchronization Timeout is Enabled.
Data migration
Latency of Incremental Migration
Full Synchronization Timeout
Migration Status
By default, Latency of Incremental Migration and Migration Status are Disabled and Full Synchronization Timeout is Enabled.
Change tracking
Change Tracking Latency
Change Tracking Status
By default, Change Tracking Latency and Change Tracking Status are Disabled.
NoteIf you want to disable alerting for a metric, click Edit in the Actions column of the metric. In the dialog box that appears, clear Enable for Status to disable alerting. You can also modify the alert rules for the metric based on your requirements.
Configure the alert rules for the Synchronization Latency metric.
Find the Synchronization Latency metric and click Edit in the Actions column.
In the dialog box that appears, select Enable for Status.
Configure the time threshold for triggering synchronization latency alerts
.ImportantIf you want to receive alert notifications, you must configure an alert subscription in the CloudMonitor console. For more information, see
Configure alert rules for DTS tasks in the CloudMonitor console.Click OK.
Configure the alert rules for the Full Synchronization Timeout metric.
Find the Full Synchronization Timeout metric and click Edit in the Actions column.
Configure the time threshold for triggering full synchronization timeout alerts
.ImportantIf you want to receive alert notifications, you must configure an alert subscription in the CloudMonitor console. For more information, see
Configure alert rules for DTS tasks in the CloudMonitor console.Click OK.
Configure the alert rules for the Synchronization Status metric.
Note You can only enable or disable the Synchronization Status metric.
FAQ
How do I disable alerting for a monitoring metric?
Go to the Alert Settings page.
Find the metric that you want to manage and click Edit in the Actions column.
In the dialog box that appears, clear Enable for Status.
Click OK.
After you perform the operations, the Status of the metric is changed to Disabled.
How do I modify the alert rules for a metric?
Go to the Alert Settings page.
Find the metric that you want to manage and click Edit in the Actions column.
In the dialog box that appears, modify the alert rules for the metric based on your business requirements.
Click OK.