全部產品
Search
文件中心

Application Real-Time Monitoring Service:ListPrometheusIntegration - 查詢Prometheus執行個體整合中心Exporter執行個體列表

更新時間:Apr 11, 2026

查詢Prometheus執行個體(僅支援aliyun-cs、ecs兩種類型的執行個體)整合中心Exporter執行個體列表。

說明

目前該API介面已標記為棄用。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

RegionId

string

地區 ID。

cn-hangzhou

ClusterId

string

Prometheus 執行個體 ID。僅支援 aliyun-cs 和 ecs 兩種類型的執行個體。

c77f6f2397ea74672872acf5e31******

IntegrationType

string

整合類型:kafka、mysql、redis、snmp、emr、nubela、tidb 等。

kafka

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

Id of the request

1F1D8840-5330-5804-A8DB-C3C5C5******

Data

array<object>

返回結構體數組。

object

返回結構體。

ClusterId

string

Prometheus 執行個體 ID。

c77f6f2397ea74672872acf5e31******

ShowDescribe

boolean

是否展示描述。

true

NeedUpgrade

boolean

是否需要升級。

true

InstanceName

string

Prometheus 整合的 Exporter 執行個體名。

inet

ExporterType

string

整合 Exporter 類型。

kafka-exporter

IntegrationType

string

整合類型:kafka、mysql、redis、snmp、emr、nubela、tidb 等。

kafka

InstanceId

integer

Prometheus 執行個體的整合 Exporter 執行個體 ID。

293**

Version

string

版本資訊。

1.0.0

Target

string

監控目標地址。

121.40.XX.XX:3342

CanDelete

boolean

是否能刪除。

true

CanEditor

boolean

是否可以編輯。

true

Status

string

Exporter 執行個體狀態。

installed

ContainerName

string

容器名稱。

container-1

Namespace

string

命名空間。

arms-prom

PodName

string

Exporter Pod 名。

kafka-exporter-1

Describe

string

Exporter 描述。

"{}"

ShowLog

boolean

是否展示 Exporter 日誌。

true

Param

string

Exporter 配置參數 JSON 串。

{ "port": "5554", "name": "kafka-test12", "kafka_instance": "kafka-test", "__label_value": "kafka-test", "scrape_interval": 33, "metrics_path": "/metrics", "__label_key": "kafka-test" }

Message

string

返回結果的提示資訊。

message

Code

integer

狀態代碼。說明 200 表示成功。

200

樣本

正常返回樣本

JSON格式

{
  "RequestId": "1F1D8840-5330-5804-A8DB-C3C5C5******",
  "Data": [
    {
      "ClusterId": "c77f6f2397ea74672872acf5e31******",
      "ShowDescribe": true,
      "NeedUpgrade": true,
      "InstanceName": "inet",
      "ExporterType": "kafka-exporter",
      "IntegrationType": "kafka",
      "InstanceId": 0,
      "Version": "1.0.0",
      "Target": "121.40.XX.XX:3342",
      "CanDelete": true,
      "CanEditor": true,
      "Status": "installed",
      "ContainerName": "container-1",
      "Namespace": "arms-prom",
      "PodName": "kafka-exporter-1",
      "Describe": "\"{}\"",
      "ShowLog": true,
      "Param": "{\n      \"port\": \"5554\",\n      \"name\": \"kafka-test12\",\n      \"kafka_instance\": \"kafka-test\",\n      \"__label_value\": \"kafka-test\",\n      \"scrape_interval\": 33,\n      \"metrics_path\": \"/metrics\",\n      \"__label_key\": \"kafka-test\"\n}"
    }
  ],
  "Message": "message",
  "Code": 200
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情