Exporting ClickHouse metrics to Prometheus

ClickHouse provides a way to expose metrics for scraping it from Prometheus.   There are two steps involved in exposing ClickHouse metrics to Prometheus: Configure ClickHouse to publish the metrics http endpoint. Configure Prometheus to scrape the data using ClickHouse metrics endpoint.   1. ClickHouse configuration: <prometheus> <endpoint>/metrics</endpoint> <port>9126</port> <metrics>true</metrics> <events>true</events> <asynchronous_metrics>true</asynchronous_metrics> </prometheus>   I am […]