Get organization metrics
Deprecated. This endpoint is disabled on 1 January 2027. It is already disabled for new organizations.
Migrate before then to the service discovery endpoint, GET /v1/organizations/{organizationId}/prometheus/discovery. It returns one scrape target per service in the http_sd format, and Prometheus picks up new and deleted services automatically. The Prometheus integration guide has a prometheus.yml example.
If you need this endpoint after 1 January 2027, contact ClickHouse support to have it enabled for your organization.
Returns Prometheus metrics for the services in the organization. Only services the API key is authorized to view are included.
GET /v1/organizations/{organizationId}/prometheus/discovery. It returns one scrape target per service in the http_sd format, and Prometheus picks up new and deleted services automatically. The Prometheus integration guide has a prometheus.yml example.
If you need this endpoint after 1 January 2027, contact ClickHouse support to have it enabled for your organization.
Returns Prometheus metrics for the services in the organization. Only services the API key is authorized to view are included.Authorizations
Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi
Path Parameters
ID of the requested organization.
Query Parameters
Return a filtered list of Prometheus metrics.
Response
Successful response
The response is of type string.