全部產品
Search
文件中心

Application Real-Time Monitoring Service:Grafana、Istio和HPA等第三方系統如何整合可觀測監控 Prometheus 版?

更新時間:Sep 09, 2026

Grafana、Istio和HPA等第三方系統整合可觀測監控 Prometheus 版時,需要擷取可觀測監控 Prometheus 版的API介面地址。可以按照以下操作步驟擷取API介面地址:

  1. 登入ARMS控制台

  2. 在左側導覽列選擇Prometheus监控 > 实例列表,進入可觀測監控 Prometheus 版的執行個體列表頁面。

  3. 單擊執行個體名稱,進入執行個體詳情頁。在左側導覽列中單擊设置。在设置頁簽,根據需求複製公網或私網的HTTP API地址

    說明

    如果是雲端服務類型的Prometheus執行個體,請根據接入雲端服務的產品類型選擇對應的HTTP API地址。

    HTTP API地址(Grafana 讀取地址)包含公網和內網兩種網路類型。公網地址樣本:http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/{執行個體標識};內網地址樣本:http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/{執行個體標識}。可單擊地址右側的複製表徵圖複製對應地址。

  4. 可選:如果您需要提高Grafana資料讀取的安全性,可以單擊生成token,擷取Prometheus執行個體的鑒權Token。

    重要

    產生Token後,在Grafana中添加資料來源時必須配置Token,否則可能無法讀取可觀測監控 Prometheus 版資料。

    記錄 Token 值(可單擊複製表徵圖擷取),並擷取 Remote Read 地址:公網地址格式為 http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/xxx/api/v1/read,內網地址格式為 http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/xxx/api/v1/read(其中 xxx 為實際執行個體標識,請以控制台顯示為準)。

擷取到API介面地址後,將其添加到Grafana、Istio和HPA等第三方系統中,即可整合可觀測監控 Prometheus 版。完整的Grafana整合可觀測監控 Prometheus 版的操作請參見將Prometheus的監控資料接入本地Grafana