Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ClickHouse/clickhouse_exporter
This is a simple server that periodically scrapes ClickHouse stats and exports them via HTTP for Prometheus(https://prometheus.io/) consumption.
https://github.com/ClickHouse/clickhouse_exporter
clickhouse exporter prometheus stats
Last synced: about 1 month ago
JSON representation
This is a simple server that periodically scrapes ClickHouse stats and exports them via HTTP for Prometheus(https://prometheus.io/) consumption.
- Host: GitHub
- URL: https://github.com/ClickHouse/clickhouse_exporter
- Owner: ClickHouse
- License: mit
- Created: 2016-10-09T19:55:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-14T08:20:28.000Z (9 months ago)
- Last Synced: 2024-08-03T18:20:47.477Z (4 months ago)
- Topics: clickhouse, exporter, prometheus, stats
- Language: Go
- Homepage:
- Size: 1.17 MB
- Stars: 359
- Watchers: 17
- Forks: 164
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-clickhouse - ClickHouse/clickhouse_exporter - ClickHouse Exporter is a server that scrapes ClickHouse stats and exports them for Prometheus. (Integrations / Metrics and Monitoring)
README
# Clickhouse Exporter for Prometheus (old clickhouse-server versions)
This is a simple server that periodically scrapes [ClickHouse](https://clickhouse.com/) stats and exports them via HTTP for [Prometheus](https://prometheus.io/)
consumption.Exporter could used only for old ClickHouse versions, modern versions have embedded prometheus endpoint.
Look details https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings#server_configuration_parameters-prometheusTo run it:
```bash
./clickhouse_exporter [flags]
```Help on flags:
```bash
./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.com/grafana/dashboards/882-clickhouse