On the Metrics tab, you can edit, copy, and delete custom metrics, create charts, and create alert rules.
Edit a metric
OceanBase Cloud Platform (OCP) allows you to modify the parameters of metrics.
Log on to the OCP console.
In the left-side navigation pane, choose Performance Monitoring.
On the Metrics tab, find the metric that you want to edit and click Edit in the Actions column.
In the panel that appears on the right, modify the parameters.
Click OK.
Copy a metric
You can quickly create a metric by copying an existing metric and modifying the parameter settings.
Log on to the OCP console.
In the left-side navigation pane, choose Performance Monitoring.
Click Custom Monitoring in the upper-right corner.
On the Custom Monitoring page, click the Metrics tab.
On the Metrics tab, find the metric that you want to copy and click Copy in the Actions column.
Optional. In the panel that appears on the right, modify the parameters.
Click OK.
Delete a metric
You can delete a metric that you no longer use.
Log on to the OCP console.
In the left-side navigation pane, choose Performance Monitoring.
Click Custom Monitoring in the upper-right corner.
On the Custom Monitoring page, click the Metrics tab.
On the Metrics tab, find the metric that you want to delete and choose More > Delete in the Actions column.
In the dialog box that appears, click OK.
Notice
If you delete a metric that is used in a chart or alert rule, the chart or alert rule is also deleted.
Create a chart
You can use a metric in a chart.
Log on to the OCP console.
In the left-side navigation pane, choose Performance Monitoring.
Click Custom Monitoring in the upper-right corner.
On the Custom Monitoring page, click the Metrics tab.
On the Metrics tab, find the metric that you want to use and choose More > Create Chart in the Actions column.
For more information, see Create a chart.
Create an alert rule
You can create an alert rule for a metric. When the metric value exceeds the specified threshold, the system pushes an alert to the specified recipients.
Log on to the OCP console.
In the left-side navigation pane, choose Performance Monitoring.
Click Custom Monitoring in the upper-right corner.
On the Custom Monitoring page, click the Metrics tab.
On the Metrics tab, find the metric that you want to use and choose More > Create Alert Rule in the Actions column.
Set parameters on the Create Alert Rule page. For more information, see Create an alert rule.