全部产品
Search
文档中心

应用实时监控服务ARMS:GetCloudClusterAllUrl - 获取云产品各种URL

更新时间:Aug 28, 2026

获取云监控云产品读写地址,pushgateway,grafana 地址。

说明

目前该API接口已标记为弃用,推荐使用替代API:ARMS(2019-08-08) - GetRemoteWriteUrl。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

当前API暂无授权信息透出。

请求参数

名称

类型

必填

描述

示例值

RegionId

string

否

地域 ID。例如 cn-hangzhou。

cn-beijing

ClusterId

string

否

云监控实例 ID

ca9676014babd4

返回参数

名称

类型

描述

示例值

object

Schema of Response

RequestId

string

Id of the request

99A663CB-8D7B-4B0D-A006-03C8EE38E7BB

Data

array<object>

数组类型

array<object>

聚合实例列表,为 JSON 格式字符串。

ProductCode

string

云产品标识

amp

Region

string

地域。

cn-hangzhou

RemoteUrl

object

读写对象 json 结构

RemoteWriteUrl

string

内网远程写地址

"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

InternetRemoteWriteUrl

string

公网远程写地址

"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

RemoteReadUrl

string

内网远程读地址

"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

InternetRemoteReadUrl

string

公网远程读地址

"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

GrafanaUrl

string

内网 grafana 数据源地址

"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

InternetGrafanaUrl

string

公网 grafana 数据源地址

"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

InternetPushGatewayUrl

string

公网 pushgateway 地址

"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

PushGatewayUrl

string

内网 pushgateway 地址

"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX"

AuthToken

boolean

是否开启鉴权

true

Token

string

如果开启,token 的值

"eyJhbGciOiJIUzI1NiJ9.DKEIFJSL.KYK6uOtNVxTVHXJbH5MNqlsAuUtKzNlUvmAIiKc-QXw"

Code

integer

状态码。200 为成功,其他状态码为异常。

200

Message

string

详细信息。

success

Success

boolean

操作是否成功:true:操作成功 false:操作失败

true

示例

正常返回示例

JSON格式

{
  "RequestId": "99A663CB-8D7B-4B0D-A006-03C8EE38E7BB",
  "Data": [
    {
      "ProductCode": "amp",
      "Region": "cn-hangzhou",
      "RemoteUrl": {
        "RemoteWriteUrl": "\"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "InternetRemoteWriteUrl": "\"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "RemoteReadUrl": "\"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "InternetRemoteReadUrl": "\"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"",
        "GrafanaUrl": "\"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "InternetGrafanaUrl": "\"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "InternetPushGatewayUrl": "\"http://cn-hangzhou.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "PushGatewayUrl": "\"http://cn-hangzhou-intranet.arms.aliyuncs.com:9090/api/v1/prometheus/XXXXXXXXXXXXXXXXX\"\n",
        "AuthToken": true,
        "Token": "\"eyJhbGciOiJIUzI1NiJ9.DKEIFJSL.KYK6uOtNVxTVHXJbH5MNqlsAuUtKzNlUvmAIiKc-QXw\""
      }
    }
  ],
  "Code": 200,
  "Message": "success",
  "Success": true
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情。