Metric Alarm Configuration Suggestions
Scenarios
You can set alarm rules on the Cloud Eye console to specify the monitored objects and notification policies for your instances and keep track of the instance status. DRS allows you to set threshold rules for instance metrics. If the value of a metric exceeds the threshold, an alarm is triggered. The system automatically sends an alarm notification to the cloud account contact through SMN, helping you learn about the status of your DRS instance in a timely manner.
This section describes how to configure DRS metric alarm rules.
Creating an Alarm Rule
- Log in to the management console.
- Under Management & Governance of the service list, click Cloud Eye.
- In the navigation pane on the left, choose Cloud Service Monitoring > Data Replication Service.
- Locate the DB instance for which you want to create an alarm rule and click Create Alarm Rule in the Operation column.
- On the Create Alarm Rule page, configure required parameters.
- Specify Name and Description.
- Select Use template for Method. The template contains the following common metrics: CPU usage, memory usage, and storage space usage.
- Click
to enable alarm notification. The validity period is 24 hours by default. If the topics you required are not displayed in the drop-down list, click Create an SMN topic. Then, select Generated alarm and Cleared alarm for Trigger Condition.
Cloud Eye sends notifications only within the validity period specified in the alarm rule.
- Click Create. The alarm rule is created.
For details about how to create alarm rules, see Creating an Alarm Rule in Cloud Eye User Guide.
| Metric ID | Metrics Name | Threshold in Best Practices | Alarm Severity in Best Practices | Handling Suggestion |
|---|---|---|---|---|
| extract_latency | Source Database WAL Extract Lag | Raw data > 600s for three consecutive periods | Major |
|
| apply_latency | Replication Delay | Raw data > 600s for three consecutive periods (configured based on service requirements) | Major |
|
| apply_job_status | Task Status | Raw data = 1 for one period | Major | The value 0 indicates the task is normal, 1 indicates the task is abnormal, and 2 indicates the task is suspended. If an alarm is generated, rectify the fault based on the alarm information. |
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot