You can create a template to set alert rules for business targets in batches.
Procedure
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Alerts.
On the page that appears, click the Alert Templates tab.
On this tab, click Create Alert Template.

Specify parameters of the template.
Parameter Description Template Name The name of the template. Alert Target Type The options are Instance, Tenant, and Data Migration. The alert metrics vary depending on the selected alert target type. Alert Type By default, Metric is selected. Alert Trigger Condition Select an operation mode for multiple metrics. Valid values: Meet Any Condition and Meet All Conditions. Alert Metric Select an alert metric from the Alert Metric drop-down list. For information about the definitions of alert metrics, see Monitoring metrics for custom alerts.
Then, specify the values of Comparison Value, Operator, Threshold for the selected alert metric.Add You can click Add to add more alert metrics. The system determines the operation results of multiple metrics based on the value of Alert Trigger Condition. Alert Cycle The alert detection cycle. The system periodically checks whether the alert meets the trigger conditions based on the specified period. The default value is 3 Consecutive Cycles(1 Cycle = 1 Minute). Alert Frequency The frequency by which the alert is triggered. 
Click Create.