Skip to content

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

License

Notifications You must be signed in to change notification settings

ueski/clickhouse_exporter

This branch is 22 commits behind ClickHouse/clickhouse_exporter:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7ab68be · Feb 9, 2023

History

76 Commits
Jun 16, 2021
Oct 4, 2017
Nov 9, 2021
Oct 4, 2017
Jun 16, 2021
Jun 17, 2021
Jun 17, 2021
Oct 9, 2016
Jun 16, 2021
Jun 17, 2021
Oct 4, 2017
Jun 16, 2021
Feb 9, 2023
Jun 16, 2021
Jun 16, 2021

Repository files navigation

Clickhouse Exporter for Prometheus

This is a simple server that periodically scrapes ClickHouse stats and exports them via HTTP for Prometheus consumption.

To run it:

./clickhouse_exporter [flags]

Help on flags:

./clickhouse_exporter --help

Credentials(if not default):

via environment variables

CLICKHOUSE_USER
CLICKHOUSE_PASSWORD

Build Docker image

docker build . -t clickhouse-exporter

Using Docker

docker run -d -p 9116:9116 clickhouse-exporter -scrape_uri=http://clickhouse-url: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 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.6%
  • Dockerfile 4.0%
  • Makefile 1.4%