clickhouse_exporter

command module
v0.0.0-...-b6d6655 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 8 Imported by: 0

README

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 Build binary version:

run make build via environment variables:

  1. DEST_OS - the OS of which the clickhouse exporter will run on(default linux)
  2. DEST_ARCH - the machine architecture of which the clickhouse exporter will run on(default amd64)

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

Sample dashboard

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL