Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/percona-lab/clickhouse_exporter
Use https://github.com/ClickHouse/clickhouse_exporter instead
https://github.com/percona-lab/clickhouse_exporter
Last synced: 2 months ago
JSON representation
Use https://github.com/ClickHouse/clickhouse_exporter instead
- Host: GitHub
- URL: https://github.com/percona-lab/clickhouse_exporter
- Owner: Percona-Lab
- License: mit
- Fork: true (ClickHouse/clickhouse_exporter)
- Created: 2019-10-01T15:21:58.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-07T14:13:44.000Z (10 months ago)
- Last Synced: 2024-04-17T15:11:09.984Z (9 months ago)
- Language: Go
- Homepage:
- Size: 1.14 MB
- Stars: 77
- Watchers: 3
- Forks: 31
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-pmm - Clickhouse Exporter for Prometheus
README
# Clickhouse Exporter for Prometheus
[![Build Status](https://travis-ci.org/Percona-Lab/clickhouse_exporter.svg?branch=main)](https://travis-ci.org/Percona-Lab/clickhouse_exporter)
[![Go Report Card](https://goreportcard.com/badge/github.com/Percona-Lab/clickhouse_exporter)](https://goreportcard.com/report/github.com/Percona-Lab/clickhouse_exporter)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:
```bash
./clickhouse_exporter [flags]
```Help on flags:
```bash
./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