Use a trigger condition template to configure alert rules for multiple targets.
Procedure
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Alerts.
On the Alert Management page, click the Trigger Condition Template tab.
On this tab, click Create trigger condition template.
Configure the template rules and click Create.
ParameterDescriptionTemplate Name The name of the trigger condition template. Alert Target Type Select Instance, Tenant, or Database Proxy. Available metrics depend on the target type. Alert Type Currently set to Metric by default. Alert Trigger Condition Select the operation mode for multiple metrics. Options are Meet Any Condition or Meet All Conditions. Alert Metric Select an alert metric from the Alert Metric drop-down list. For details about the metrics, see Monitoring metrics for custom alerts.
Then, configure the conditions for the metric in the Comparison Value, Operator, and Threshold drop-down lists.Add Metric Click Add to add multiple metrics to the alert. The system will evaluate the operational results of these metrics based on the selected trigger condition. Alert Cycle Specify the alert detection cycle. The system periodically checks whether the alert meets the trigger conditions. The default detection cycle is 3 Consecutive Cycles (1 Cycle = 1 Minute). Alert Frequency The frequency at which the alert is triggered. After creation, you can view the trigger condition template in the list and manage it through the actions column.