Add metrics

Last Updated: Sep 30, 2017

CloudMonitor initializes the ECS global dashboard of the user dimension. You can use the Add metrics function to view ECS data of other dimensions or other cloud product metric data.

Note:

  • By default, CloudMonitor initializes the ECS monitoring dashboard for you. Seven metric charts are displayed, showing the CPU usage, inbound and outbound network speed, system disk BPS, system disk IOPS, network inflow, and network outflow respectively.

  • Limit of line chart view: A line chart can display maximun 10 lines.

  • Limit of area chart view: An area chart can display maximum 10 areas.

  • Table data limit: The ordered results can display maximum 1,000 data entries.

  • Limit on heat map view: One heat map can display maximum 1,000 color blocks.

  • Map view: One heat map can display a maximum of 1,000 color blocks.

Parameter description

  • Product selection: Choose to view metric data of a specified cloud product.

  • Metric: Name of a metric that you need to view, such as outbound network traffic and CPU usage.

  • Statistical method: Common statistical methods for metrics such as maximum value, minimum value, and average value. That is, how metric data is aggregated within the statistical period.

  • Filter: It is similar to the SQL Where statements and is used to filter metric data source that meets the criteria.

  • Group By: It is similar to SQL Group By and is used to group metric data that has been filtered by predefined dimensions.

    • User dimension: Group and aggregate metric data on the user account level. For example, if you want to view the average value of the overall memory usage of ECS instances A, B, and C, select Memory usage and Average value from metrics. Then select metrics A, B, and C as filter criteria, and set Group By to the User dimension. It is used to view the overall resource usage of multiple instances.

    • Instance dimension: Group and aggregate metric data on the instance level. For example, if you want to view the average value of the memory usage of an ECS instance select Memory usage and Average value from the metrics. Select this instance as filter criteria, and set Group By to Instance dimension. Instance dimension is used to view the resource usage of a single instance. If you need to view the monitoring status of multiple instances simultaneously, select multiple instances as filter criteria, and set Group By to Instance dimension.

  • Chart views: There are many types of the charts namely, line chart, area chart, heat map, pie chart and the table. Brief description is as follows:

    • Line chart: This chart displays metric data as per the time sequence. You can add multiple metrics.

    • Area chart: It displays metric data as per time sequence. You can add multiple metrics.

    • Heat map: It displays real-time data of the metrics. It is used to display distribution and comparison of the real-time metric data of a specific metric of multiple instances. For example, a heat map can display the distribution of the CPU usage of multiple instances. But, you can add only one metric to it.

    • Pie chart: This chart displays the real-time metric data, and is usually used for data comparison. You can add multiple metrics to it.

    • Table: It displays metric value in a descending order. For example, a table can display the CPU usage of all instances in an ECS group in a descending order. You can add only one metric to it.

Operation procedure

  1. Log on to the CloudMonitor console.

  2. Click the Dashboard option from the left-side navigation pane to access the Dashboard page.

  3. Click the Add Metrics button in the top-right corner of the monitoring dashboard to access the Add Metrics page.

  4. Select the cloud product to view and the region of the instance.

    1. Select the product instance.

    2. Select the region of the instance.

  5. Define the chart name and type.

    1. Define the chart name. The default chart name generated is “product name + region”.

    2. Select the chart type from the drop-down list.

  6. Select the type of metric data to view and the mode of viewing metric data.

    1. Select the metric to view.

    2. Select the way metric data is aggregated, for example, by maximum value, minimum value or average value.

    3. Select filter criteria.

    4. Select the dimension for Group By.

  7. Click the Add button and repeat step 6, if you need to add more metrics.

  8. Click Save to generate a chart in dashboard.

  9. You can resize the chart if required.

Thank you! We've received your feedback.