All Products
Search
Document Center

Managed Service for Prometheus:Query metrics and configure Grafana data source

Last Updated:Oct 22, 2026

Managed Service for Prometheus offers several ways to query metric data. This topic describes how to query metrics in the Alibaba Cloud console, Grafana, and from a self-managed Prometheus instance.

Prerequisites

You have activated Managed Service for Prometheus and connected at least one integration. For more information, see Manage integrations.

Query metrics on the console

  1. Log on to the ARMS console.

  2. In the left-side navigation pane, click Integration Management.

  3. On the Integration Management page, click the Integrated Environments tab, select the target instance and click its name to open the details page.

  4. On the details page, click the Metrics Explorer tab.

  5. In the Explore section, enter a metric name, add a key-value pair in the Labels text box and click Run query in the upper-right corner of the page.

    Note

Query metrics in Grafana

Managed Service for Prometheus provides an HTTP API endpoint that you can use to add Prometheus monitoring data to Grafana or retrieve it through the Prometheus API for custom development. For more information, see Use an HTTP API URL to access Prometheus data in a self-managed Grafana system or a custom application.

Query metrics in self-managed Prometheus

Managed Service for Prometheus provides a standard remote read interface, which allows you to query its monitoring data from a self-managed Prometheus instance. For more information, see Configure open-source Prometheus to read monitoring data from Managed Service for Prometheus by using a remote read URL.