Skip to content

Managing Custom Metrics

Activate, deactivate, edit, copy, delete, and unmap custom metrics from the Custom tab.

3 min read Updated SS RS

Classic Control Center · Setup → Topology → Metrics → Custom.

Changing Status of a Custom Metric#

1. Refer Navigation.

2. Click on the Custom tab.

3. Select custom metric(s).

4. Click Bulk Actions. The following screen is displayed.

Manage Metrics list with custom metrics and Bulk Actions
Bulk Actions menu expanded showing Activate and Inactivate options for the selected custom metrics

5. Click Activate to make the status of those metrics Active.

6. Click Deactivate to make the status of those metrics Inactive.

Note: To update the status of an individual metric, click in Actions for a metric.

You can activate or inactivate a KPI at the component level as well if there are multiple components associated with a KPI. If you map only one component to a KPI, you activate or inactivate at the KPI level. You can activate or deactivate in bulk only at the KPI level.

For example, you map multiple components to a KPI. If the KPI is inactive for only some of these components, then the overall status of the KPI at the KPI level is Partial, i.e. Grey and Green in the status column. If the KPI is inactive for all these components, then the overall status of the KPI at the KPI level is Inactive.

Editing a Custom Metric#

You can perform the Edit operation only at the KPI level.

1. Refer Navigation.

2. Click on the Custom tab.

3. Click in Actions for a metric. The following screen is displayed.

Manage Metrics list with Edit option in Actions

4. Select Edit. The following screen is displayed.

Edit - Custom Metrics screen
Edit - Custom Metrics screen for an Availability metric scrolled to show Additional Details and the Save and Cancel buttons

5. You can edit the following fields only:

Core metrics

Status, category, name, and description of the metric. Additional details such as data type, cluster operation, instance aggregation, unit, rollup operation, cluster aggregation, and collection frequency.

Edit - Custom Metrics screen for a Core metric with editable additional details such as data type, cluster operation, and rollup operation

Availability metrics

Status, category, name, and description of the metric.

6. Update the above fields.

7. Click Save to update the custom metric. Click Cancel to discard the edits.

Copying a Custom Metric#

You can perform the Copy operation only at the KPI level.

1. Refer Navigation.

2. Click on the Custom tab.

3. Click in Actions for a metric.

4. Select Copy. The following screen is displayed.

Copy - Custom Metrics screen
Copy - Custom Metrics screen for an Availability metric scrolled to show Additional Details and the Save and Cancel buttons
Copy - Custom Metrics with warning about modifying metric values reflecting at all shared components

5. You can edit the following fields only:

Component Type, Component, Common Version.

6. Update the above fields.

7. Click Save to copy the custom metric. Click Cancel to discard the edits.

Deleting a Custom Metric#

You can perform the Delete operation only at the KPI level. The Delete operation removes all the KPI mappings if there are no instances associated with the component. You can delete a KPI only when you map only one component to a KPI.

1. Refer Navigation.

2. Click on the Custom tab.

3. Click in Actions for a metric.

4. Click Delete.

Unmapping a Custom KPI from a Component#

You can map the components to custom KPIs using the Add and Copy screens.

Custom KPI to component mapping list
Component-level Actions menu showing Activate and Unmap options for an inactive component mapped to a custom KPI

You can unmap a component from a KPI if there are no active instances of the respective component. If there are one or more active instances of a component, then you cannot unmap that component from a KPI. Unmap removes the component-to-KPI mapping from the Percona database. If there is only one component associated with a KPI without any active instances, then you can directly delete the KPI.