Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

This is a simple server that periodically scrapes ClickHouse(https://clickhouse.yandex/) stats and exports them via HTTP for Prometheus(https://prometheus.io/) consumption.

License

Notifications You must be signed in to change notification settings

crobox/clickhouse_exporter

 
 

Repository files navigation

Clickhouse Exporter for Prometheus

Build Status Go Report Card

This is a simple server that periodically scrapes ClickHouse(https://clickhouse.yandex/) stats and exports them via HTTP for Prometheus(https://prometheus.io/) consumption.

To run it:

./clickhouse_exporter [flags]

Help on flags:

./clickhouse_exporter --help

Credentials(if not default):

via environment variables

CLICKHOUSE_USER
CLICKHOUSE_PASSWORD

Using Docker

docker run -d -p 9116:9116 crobox/clickhouse_exporter:18.12.14 -scrape_uri=http://clickhouse.service.consul:8123/

Sample dashboard

Grafana dashboard could be a start for inspiration https://grafana.net/dashboards/882

About

This is a simple server that periodically scrapes ClickHouse(https://clickhouse.yandex/) stats and exports them via HTTP for Prometheus(https://prometheus.io/) consumption.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.8%
  • Dockerfile 3.4%
  • Makefile 1.8%