All Products
Search
Document Center

Cloud Monitor:Cross-account monitoring with Hybrid Cloud Monitoring dashboards

Last Updated:Jun 04, 2026

Use Resource Directory to ingest metrics from Alibaba Cloud services across multiple accounts into a Cloud Monitor namespace, visualize them in Hybrid Cloud Monitoring dashboards, and configure Prometheus alert rules.

Prerequisites

Background information

The following figure shows the cross-account monitoring workflow.Cross-account monitoring with Hybrid Cloud Monitoring dashboards

Step 1: Create a multi-account metric ingestion task

Create a multi-account metric ingestion task to report metrics from member accounts in your Resource Directory to a Cloud Monitor namespace.

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Hybrid Cloud Monitoring > Namespace.

  3. (Optional) For the target namespace, click one of the People icon/Favorites icon/Dashboard icon icons in the Metric Data column.

    Note

    This step is required only if two or more namespaces exist in the Namespace list.

  4. On the Alibaba Cloud Service Metrics tab, click Add Account.

  5. In the Add Account dialog box, select a member account from the Resource Directory Member Account drop-down list and click OK.

  6. Click the image.png icon next to the target account.

  7. In the Add Product dialog box, select the target cloud service and click OK.

  8. For the target cloud service, click Add Metric.

  9. On the Add Metric page, select the metrics to add and click OK.

Step 2: View monitoring charts

View monitoring charts for metrics ingested from member accounts.

  1. On the Namespace tab, click the target namespace.

  2. On the Namespace Details page, select a metric.

Step 3: Create custom monitoring charts

Create a custom Hybrid Cloud Monitoring dashboard and add charts for metrics from member accounts.

  1. In the left-side navigation pane, choose Hybrid Cloud Monitoring > Dashboards.

  2. On the Dashboards page, click View Dashboard.

  3. In the left-side navigation pane of the dashboard, click the image.png icon. Then, click Add an empty panel.

  4. On the Edit Panel page, configure metrics and monitoring charts.

    • On the Query tab, select the namespace and select metrics.

    • On the Panel tab, specify a panel title and enter a description. Then, configure visualization and other settings.

  5. In the upper-right corner of the Edit Panel page, click Apply.

    The monitoring chart is created.

  6. In the upper-right corner, click the 保存监控大盘 icon. Then, specify the name of the dashboard and the directory in which the dashboard resides.

  7. Click Save.

    The dashboard is created.

  8. In the left-side navigation pane of the dashboard, choose Dashboard > Manage. Then, click the dashboard name to view the dashboard.

Step 4: Configure an alert rule

Configure alert rules for metrics from member accounts. When a metric triggers an alert rule, you receive a notification.

  1. In the left-side navigation pane, choose Hybrid Cloud Monitoring > Namespace.

  2. In the upper-left corner of the Namespace page, click Create Alert Rule.

  3. In the Create Alert Rule panel, enter a name in the Rule Name field, select a namespace from the Namespace drop-down list, configure the Alert Expression (PromQL) parameter, and then select an alert contact group from the Alert Contact Group drop-down list.

  4. Click OK.