Skip to content
ClickHouse Docs

Get organization metrics

Deprecated
GET/v1/organizations/{organizationId}/prometheus
API playground

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.

Authorizations

Path parameters

  • organizationIdstringrequired

    ID of the requested organization.

    format: uuid

Query parameters

  • filtered_metricsoptionalstring

    Return a filtered list of Prometheus metrics.

    format: boolean

Response

PLAIN

200

Successful response