Integrate Managed Service for Prometheus for service mesh monitoring

更新时间:
复制 MD 格式

Service Mesh (ASM) integrates with Managed Service for Prometheus to monitor your Service Mesh. After you activate Application Real-Time Monitoring Service (ARMS), you can install the Prometheus agent for an ACK cluster with one click in the ARMS console. You can then use predefined dashboards in ARMS to monitor various performance metrics for your Kubernetes cluster.

Prerequisites

Step 1: Collect metrics to Managed Service for Prometheus

For more information, see Collect metrics to Managed Service for Prometheus.

Step 2: View monitoring reports

  1. Log on to the ASM console. In the left-side navigation pane, choose Service Mesh > Mesh Management.

  2. On the Mesh Management page, click the name of the target instance. In the left-side navigation pane, choose Cluster & Workload Management > Kubernetes Clusters.

  3. On the Kubernetes Clusters page, find the target cluster and click View Reports in the Observability column.

    You can view the ASM Service Statistics (Public Preview) or Workload Statistics (Public Preview) dashboard as needed.

Step 3: Find the Prometheus access endpoint

  1. Log on to the ARMS console.

  2. In the left-side navigation pane, choose Prometheus Service > Prometheus Instances. In the upper-left corner of the page, select the target region.

  3. On the Prometheus Instances page, click the name of the Prometheus instance. In the left-side navigation pane, click Settings.

  4. On the Settings page, on the Settings tab, obtain the API endpoint in the HTTP API Address (Grafana Read Address) section.

    Select the public or internal endpoint as needed. The endpoints are in the following formats:

    • Public endpoint

      http://{region-id}.arms.aliyuncs.com:9090/api/v1/prometheus/xxxxx/{ali-uid}/{cluster-id}/{region-id}
    • Internal endpoint

      http://{region-id}-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/xxxxx/{ali-uid}/{cluster-id}/{region-id}

    This is the ARMS endpoint for accessing Prometheus. You can add this endpoint to your Grafana system to view monitoring charts. For more information, see Connect Prometheus data to a self-managed Grafana system.