Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (25 loc) · 982 Bytes

README.md

File metadata and controls

34 lines (25 loc) · 982 Bytes

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 Percona-Lab/clickhouse-exporter -scrape_uri=http://clickhouse.service.consul:8123/

Sample dashboard

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