Step 1: Create a metric

Last updated: 2020-10-30 12:03:13

    This document describes how to add and edit metrics when creating a monitoring chart.

    Adding Metrics

    1. Log in to the Cloud Monitor console and click Dashboard > Default Dashboard on the left sidebar.
    2. Switch to the dashboard that you want to operate to go to the dashboard management page.
    3. Click > Create a Chart to go to the chart editing page. Configure the metric information as follows:
      • Select Monitoring Type: supports basic monitoring and custom monitoring metrics.
      • Metric: select the product type and metric.
      • Filter: click "Select a variable" and select a filter condition. Data that meets the condition will be displayed in the chart. If you add multiple filter conditions, only data that meets all the conditions (by running the logical AND operation) will be displayed in the chart.
      • group by: similar to the Group by feature of SQL, this feature can group data based on specified labels and then aggregate data according to aggregation algorithms. If you do not select a label, you can customize the metric statistical method for the statistical period, which can be avg, max, min, or sum.
      • Compare: day-over-day (compare with the same period yesterday), week-over-week (compare with the same period last week), and custom time comparisons are supported. If you select all the comparison options, the chart will display the day-over-day and week-over-week monitoring curves for the selected instance, making it easier for you to compare the data.
      • Alias: you can configure the aliases of all instances with one click. To configure different aliases for different instances, you can create multiple metrics and enter an alias under each metric.
      • Left Y-Axis, Right Y-Axis: you can adjust the position of the Y-axis, which can be on the left or on the right.
    4. After configuring the preceding settings, click > OK.

    Creating multiple metrics and copying metrics

    You can click Add a Metric or to display multiple metrics in the same chart for cross-instance metric data comparison.

    Sorting metrics

    You can click the icon to adjust the sorting of metrics.

    Editing Metrics

    1. Log in to the Cloud Monitor console and click Dashboard > Default Dashboard on the left sidebar.
    2. Switch to the dashboard that you want to operate to go to the dashboard management page.
    3. Find the monitoring chart that you want to edit and click .
    4. In the window that appears, click Edit to go to the chart editing page.

    Deleting Metrics

    1. Log in to the Cloud Monitor console and click Dashboard > Default Dashboard on the left sidebar.
    2. Switch to the dashboard that you want to operate to go to the dashboard management page.
    3. Find the monitoring chart that you want to edit and click .
    4. In the window that appears, click Edit to go to the chart editing page. Click to delete the metric.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help