With DTS, you can configure the alarm monitoring feature to monitor the status and latency of the synchronization task.
Follow these steps to configure the alarm monitoring feature.
Log on to the Alibaba Cloud DTS console.
On the Data synchronization page, click Monitoring alarm under the data synchronization instance to be configured.
Click Edit under the alarm item to be modified.
On the Modify monitor alarm page, you can change the triggering condition and contact information. By default, the monitoring items are enabled.
Note: Monitoring rules cannot be modified when the monitoring items are in synchronization status.
Alarm rule: Enter the latency threshold value and contact phone number. For example,
synchronization latency > 10sindicates that when the synchronization task latency is longer than 10s, DTS sends alarm messages to the listed contact phone numbers. You can configure the latency threshold value based on the latency sensitivity of your services.
Alarm contact’s mobile phone number: DTS can send alarm messages to multiple phone contacts and you can add alarm contacts as needed.
Click OK to complete the process.
After the configuration, when the alarm rules are triggered, DTS automatically sends alarm messages to the listed alarm contacts. The alarm messages include synchronization initialization failed, synchronization failed, and newly added object initialization failed.