If you’re using ClickHouse Cloud, you can expose metrics to Prometheus using the Prometheus Integration.
Configure the metrics port
Configure a dedicated port when a Prometheus server needs to scrape ClickHouse’s own metrics:Configure extended handlers
Section<prometheus.handlers> can be used to make more extended handlers on the same port.
This section is similar to <http_handlers> but works for prometheus protocols: