$ ./clickhouse_exporter -h
Usage of ./clickhouse_exporter:
-insecure
Ignore server certificate if using https (default true)
-log.level value
Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal, panic].
-scrape_uri string
URI to clickhouse http endpoint (default "http://localhost:8123/")
-telemetry.address string
Address on which to expose metrics. (default ":9116")
-telemetry.endpoint string
Path under which to expose metrics. (default "/metrics")
配置比较简单,就是指定 scrape_uri=clickhouse_server_ip:port,