Updated on 2026-07-24 GMT+08:00

Adding a Graph

If you are using multiple cloud services, you can add their metrics to the same custom dashboard by creating graphs. This way, you can view global monitoring data of these cloud services.

In the same graph, you can compare data across services, dimensions, and metrics.

Table 1 lists supported chart types and their usage constraints.
Table 1 Chart types and description

Chart Type

Description

Constraints (New Edition)

Constraints (Old Edition)

Line

Displays the change trend of time series data. It is suitable for viewing the fluctuation and trend of monitoring data, such as CPU usage. You can add multiple monitoring items.

  • A graph displays a maximum of 50 data records for a metric.
  • Multiple metrics can be displayed in one graph.
  • Set the number in Display to any integer from 1 to 200.
  • Multiple metrics can be displayed in one graph.

Stacked area line

Displays monitoring data in the form of lines and filled areas to highlight the trend and compare the size. You can view the total changes, for example, total disk storage, more intuitively. You can add multiple monitoring items.

Table

Displays detailed data of multiple instances accurately and supports sorting and filtering.

  • Set the number in Display to any integer from 3 to 10.
  • Multiple metrics cannot be displayed in one graph.

Bar

Compares data by category and shows data differences. It is suitable for comparing metrics of different instances or time periods.

  • A graph displays a maximum of 50 data records for a metric.
  • Multiple metrics cannot be displayed in one graph.

Horizontal bar

Compares data by category and shows data differences. It is suitable for comparing metrics of different instances or time periods.

Donut

Displays the proportion of each part to the whole.

Gauge

Shows the metric value through a pointer, making it easy to check whether the data is normal or exceeds the threshold.

  • A graph displays a maximum of three data records for a metric.
  • Multiple metrics cannot be displayed in one graph.

Not supported in the earlier edition.

Number

Highlights the latest value of a single key metric in a concise and eye-catching manner.

Constraints

  • You can add a maximum of 50 graphs to a dashboard.
  • You can add up to 50 monitoring metrics to a graph.
  • Monitoring Scope can be set to Resource groups for a graph in the following regions: CN North-Beijing4, CN East-Shanghai1, CN South-Guangzhou, and CN Southwest-Guiyang1. For details, see the console.
  • Monitoring Scope cannot set to Resource groups for the following cloud services: ModelArts Studio, Global Connection Bandwidth (GCB), Octopus: Autonomous Driving Cloud, and Dedicated Computing Cluster.
  • If Monitoring Scope is set to Resource groups and the selected resource group contains an EVS resource with the type in the format of ECS instance ID-volume-Volume ID, you cannot check the monitoring data of this instance.

Prerequisites

You have created a custom dashboard by referring to Creating a Custom Dashboard.

Creating a Graph

  1. Log in to the Cloud Eye console.
  1. In the navigation pane, choose My Dashboards > Custom Dashboards.
  2. Locate the dashboard for which you want to add a graph and click its name.
  3. Click Create and then click Create Graph.
  4. On the right of the displayed page, configure the graph.
    For line charts, tables, or stacked area line charts, you can select One graph for multiple metrics or One graph for a single metric. For other charts, you can select only One graph for a single metric.

    When you select the earlier edition on the monitoring item configuration page, you cannot select One graph for multiple metrics for tables.

    • One graph for multiple metrics: A graph will be created. It can be used to monitor different metrics.
    • One graph for a single metric: One or more graphs will be created. Each graph shows only that metric.
    Table 2 Graph settings

    Parameter

    Description

    Example Value

    Graph Group

    (Optional) Select a graph group to categorize the new graph. If the existing graph groups do not meet your requirements, click Create Graph Group in the drop-down list to create one.

    -

    Graph Type

    Type of the graph. Select Line chart, Stacked area line chart, Bar chart, Horizontal bar chart, Donut chart, Gauge chart, Number, or Table chart.

    NOTE:

    The earlier edition does not support gauge charts or number charts.

    Line chart

    Graph

    Graph name and other configuration information.

    • Graph name: Enter up to 128 characters. Only letters, digits, and these special characters are allowed: "≤<>&%_:/;'?+,~º()[].-
    • Basic Information: remarks of the graph. Enter up to 200 characters.
    • Legend: Configure the legend position and legend value. For details about the parameters, see Table 3.
    • Thresholds: Configure the threshold and threshold line color. For details about the parameters, see Table 4.
    NOTE:
    • For donut charts and tables, you do not need to configure Legend or Thresholds.
    • For gauge charts or number charts, you do not need to configure Legend.

    ECS CPU Usage

    Table 3 Legend parameters

    Parameter

    Description

    Example Value

    Location

    Location of the legend. You can select Hide, Show on the bottom, or Show on the right.

    Show on the bottom

    Legend Value

    Legend value to be displayed in the graph. You can select Current Value, Max., Min., Avg., or Sum. Multiple options can be selected.

    NOTE:

    For bar charts and horizontal bar charts, only Current Value can be selected.

    Current Value

    Table 4 Threshold and threshold line parameters

    Parameter

    Description

    Example Value

    Threshold

    Metric threshold line. After a threshold is configured, a line appears at the threshold position in the new graph.

    80

    Color

    Color of the threshold line. Select Purple, Red, Orange, or Yellow.

    Purple

    Y-axis Assignment

    When you select One graph for multiple metrics, you need to configure the alignment mode of the threshold line. Select Left Y axis or Right Y axis.

    Left Y axis

    New Threshold

    Click New Threshold to add multiple threshold lines.

    -

  5. Select metrics in the lower part of the page.
    Table 5 Configuring metrics (new edition)

    Parameter

    Description

    Example Value

    Metric

    Metric to be displayed in the graph. Select a cloud product and a metric supported by it.

    ECSs / CPU Usage

    Monitoring Scope

    Resources to which the metric data in the graph belongs. You can select All resources, Resource groups, or Specific resources.

    • All resources: The graph displays the monitoring data of all resources of the selected cloud product.
    • Resource groups: The graph displays the monitoring data of the selected cloud product resources in the selected resource groups.
    • Specific resources: The graph displays the monitoring data of the selected resources.
    NOTE:
    • When Monitoring Scope is set to Resource groups, only the monitoring data generated after the creation of the resource group will be collected.
    • On the Graph Settings page, if you select One graph for multiple metrics, set Graph Type to Table chart, and set Monitoring Scope to Resource groups, only the monitoring data generated after the resource group is created will be collected. For other metrics, the monitoring data from all periods will be collected.
    • If Monitoring Scope is set to Resource groups, monitoring data from all periods will be collected when you compare data with the same period last week or yesterday.

    All resources

    Aggregation

    Configure whether to display the aggregated metric data calculated based on the maximum, minimum, average, sum, or latest value.

    NOTE:

    If the aggregation function is enabled for a graph, you can view the monitoring data of the last 31 days at most.

    Enabled

    Aggregation Settings

    After enabling aggregation, configure the aggregation method and dimension for the metric data.

    Aggregation method: Select Avg., Min., Max., Sum., or Current. For details, see What Aggregation Methods Does Cloud Eye Support?

    Aggregation dimension: If the selected metric belongs to a single-level dimension, select All resources of the current user or the resource dimension for aggregation. If the selected metric belongs to a multi-level dimension, you can select only the resource dimension of a specific level for aggregation. For details about dimensions, see Dimensions.

    Avg., All resources of the current user

    Compare With

    Select Same period last week or Same period yesterday.

    • Same period last week: Compare the data of the current period with that of the same period last week to better eliminate periodic interference.
    • Same period yesterday: Compare the data of the current period with that of the same period on the previous day to quickly view recent changes.

    Same period last week

    Display

    Configure display rules for metric data in the graphs, including the maximum number of data records that can be displayed in a single graph. In addition, when the aggregation function is enabled, you can sort the data in ascending or descending order.

    Descending, 10

    Add Metric

    Click Add Metric to add a monitoring metric.

    -

    Table 6 Configuring metrics (earlier edition)

    Parameter

    Description

    Example Value

    Monitoring Scope

    Click Select Resources and Metric. On the displayed page, select resources and metrics.

    • When you select One graph for multiple metrics, you can configure the vertical coordinate position in the monitoring scope list by setting Y Axis to Left Y-axis or Right Y-axis.
    • Click on the left of a resource type to view the selected resource information and configure the legend name.

    -

    Compare With

    Select Same period last week or Same period yesterday.

    • Same period last week: Compare the data of the current period with that of the same period last week to better eliminate periodic interference.
    • Same period yesterday: Compare the data of the current period with that of the same period on the previous day to quickly view recent changes.

    Same period last week

    Sorting

    Whether to sort data in the graph. This parameter is supported for bar charts, horizontal bar charts, donut charts, or tables. It is enabled by default and cannot be modified.

    Enabled

    Order

    Sorting rule for the metric data in the graph. Select Descending or Ascending.

    Descending

    Quantity

    Configure the number of metric data records to display in the graphs, including the maximum number of data records that can be displayed in a single graph.

    10

  6. In the upper left corner of the page, view the configured graph in the preview area.
  7. Click Finish.

    The graph is added to the dashboard.