跳转到主要内容
GET
/
v1
/
organizations
/
{organizationId}
/
services
/
{serviceId}
/
prometheus
获取服务指标
curl --request GET \
  --url https://api.clickhouse.cloud/v1/organizations/{organizationId}/services/{serviceId}/prometheus \
  --header 'Authorization: Basic <encoded-value>'
"<string>"

授权

Authorization
string
header
必填

使用在 ClickHouse Cloud 控制台中获取的 key ID 和 key secret:https://clickhouse.com/docs/cloud/manage/openapi

路径参数

organizationId
string<uuid>
必填

拥有该服务的组织 ID。

serviceId
string<uuid>
必填

所请求服务的 ID。

查询参数

filtered_metrics
string<boolean>

返回过滤后的 Prometheus 指标列表。

响应

成功响应

The response is of type string.

最后修改于 2026年6月10日