On the
Prerequisites
Make sure that you have the following permissions:
-
Resource Permissions : Cluster Read-only, Tenant Read-only, OBProxy Read-only, Arbitration Service Read-only, Binlog Service Read-only, or Host Read-only permission -
Menu Permissions : Permission on theAll menu ofPerformance Monitoring
Procedure
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 clickEdit in theActions 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 theMetrics tab.On the
Metrics tab, find the metric that you want to copy and clickCopy in theActions 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 theMetrics tab.On the
Metrics tab, find the metric that you want to delete and choose More > Delete in theActions 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 theMetrics tab.On the
Metrics tab, find the metric that you want to use and choose More > Create Chart in theActions 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 theMetrics tab.On the
Metrics tab, find the metric that you want to use and choose More > Create Alert Rule in theActions column.Set parameters on the
Create Alert Rule page. For more information, see Create an alert rule.