If you use multiple Alibaba Cloud services, you can add monitoring charts for the metrics of these services to a dashboard. Then, you can view the monitoring data of the services on the dashboard.

Prerequisites

A dashboard is created. For more information, see Create a dashboard.

Background information

CloudMonitor provides a default dashboard that displays monitoring data for Elastic Compute Service (ECS) instances. To view the metrics of other Alibaba Cloud services, you can add monitoring charts to the dashboard. You can add a maximum of 20 monitoring charts to a dashboard.

The following table describes the types of monitoring charts that are supported by CloudMonitor and the limits for each type of monitoring chart.
Type Description Limit
Line chart Displays monitoring data in time series. You can add multiple metrics to a line chart. Each line chart can display a maximum of 10 lines.
Area chart Displays monitoring data in time series. You can add multiple metrics to an area chart. Each area chart can display a maximum of 10 areas.
Table Displays the monitoring data of the last 3 hours in ascending or descending order. Each table can display a maximum of 1,000 data records. For example, you can use a table to display the CPU utilization of all ECS instances in descending order. You can add only one metric to a table. Each table can display a maximum of 1,000 data records.
Heat map Displays the real-time monitoring data of a specific metric. A heat map is used to display the distribution and comparison of real-time monitoring data that is collected for a specific metric of multiple instances. For example, you can use a heat map to display the distribution of the CPU utilization for multiple instances. You can add only one metric to a heat map. Each heat map can display a maximum of 1,000 color blocks.
Pie chart Displays the real-time monitoring data of a specific metric. A pie chart is used for data comparison. You can add only one metric to a pie chart. N/A

Add a monitoring chart

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, choose Dashboard > Custom Dashboard.
  3. Select a dashboard from the Dashboards drop-down list.
  4. In the upper-right corner, click Add View.
  5. In the Add View panel, select a chart type and metrics.
    • Dashboards

      On the Dashboards tab, select an Alibaba Cloud service, specify the title of the monitoring chart, and then select a metric. Select the type of value that you want to view for the metric and the resource associated with the metric. You can add multiple metrics as required.

      For more information about the metrics for Alibaba Cloud services, see Cloud service monitoring.

    • Custom

      On the Custom tab, specify the title of the monitoring chart and select a metric. Select the type of value that you want to view for the metric and the dimensions of the metric. You can add multiple metrics as required.

      For more information about how to add custom metrics, see Report monitoring data.

    Note If two metrics for an Alibaba Cloud service have the same name but different dimensions, you can distinguish the metrics based on the titles of their monitoring charts. For example, in Message Queue for Apache RocketMQ, the names of two metrics are SendDLQMessageCountPerGid and SendDLQMessageCountPerGidTopic. For more information about the metrics for Message Queue for Apache RocketMQ, see RocketMQ.
  6. Click Save.

Modify a monitoring chart

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, choose Dashboard > Custom Dashboard.
  3. Select a dashboard from the Dashboards drop-down list.
  4. Move the pointer over the monitoring chart that you want to modify. Click the Settings icon icon in the upper-right corner and then click the Edit icon icon.
  5. In the Add View panel, reselect the type and metrics of the monitoring chart.
  6. Click Save.

Delete a monitoring chart

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, choose Dashboard > Custom Dashboard.
  3. Select a dashboard from the Dashboards drop-down list.
  4. Move the pointer over the monitoring chart that you want to delete. Click the Settings icon icon in the upper-right corner and then click the Delete icon icon.
  5. In the Confirm message, click Confirm.

View monitoring charts

  1. Log on to the CloudMonitor console.
  2. In the left-side navigation pane, choose Dashboard > Custom Dashboard.
  3. Select a dashboard from the Dashboards drop-down list.
  4. Select the time range to display monitoring data on the monitoring charts.
    Note You can query only the monitoring data of the last 30 days.
  5. View the monitoring charts.
    • Click Full Screen in the upper-right corner. You can view all the monitoring charts on the dashboard in full-screen mode.
    • Click Refresh in the upper-right corner. You can refresh all monitoring charts on the dashboard in real time.