Manage metrics

2025-03-28 08:05:55  Updated

On the Metrics tab, you can edit, copy, and delete custom metrics, create charts, and create alert rules.

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 the All menu of Performance Monitoring

Procedure

Edit a metric

OceanBase Cloud Platform (OCP) allows you to modify the parameters of metrics.

  1. Log on to the OCP console.

  2. In the left-side navigation pane, choose Performance Monitoring .

  3. On the Metrics tab, find the metric that you want to edit and click Edit in the Actions column.

  4. In the panel that appears on the right, modify the parameters.

  5. Click OK .

Copy a metric

You can quickly create a metric by copying an existing metric and modifying the parameter settings.

  1. Log on to the OCP console.

  2. In the left-side navigation pane, choose Performance Monitoring .

  3. Click Custom Monitoring in the upper-right corner.

  4. On the Custom Monitoring page, click the Metrics tab.

  5. On the Metrics tab, find the metric that you want to copy and click Copy in the Actions column.

  6. Optional. In the panel that appears on the right, modify the parameters.

  7. Click OK .

Delete a metric

You can delete a metric that you no longer use.

  1. Log on to the OCP console.

  2. In the left-side navigation pane, choose Performance Monitoring .

  3. Click Custom Monitoring in the upper-right corner.

  4. On the Custom Monitoring page, click the Metrics tab.

  5. On the Metrics tab, find the metric that you want to delete and choose More > Delete in the Actions column.

  6. 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.

  1. Log on to the OCP console.

  2. In the left-side navigation pane, choose Performance Monitoring .

  3. Click Custom Monitoring in the upper-right corner.

  4. On the Custom Monitoring page, click the Metrics tab.

  5. 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.

  1. Log on to the OCP console.

  2. In the left-side navigation pane, choose Performance Monitoring .

  3. Click Custom Monitoring in the upper-right corner.

  4. On the Custom Monitoring page, click the Metrics tab.

  5. On the Metrics tab, find the metric that you want to use and choose More > Create Alert Rule in the Actions column.

  6. Set parameters on the Create Alert Rule page. For more information, see Create an alert rule.

Contact Us