Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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