Codis Metrics Exporter


Prometheus exporter for Codis metrics.<br>
Supports Codis 3.2.2


grafana screenshot

图1

图2

Grafana dashboard is available on github.com.

Building, configuring, and running

Locally build and run it:

    $ go mod tidy
    $ go mod vendor
    $ go build
    $ ./codis_status_exporter <flags>

    OR
    
    $ go mod tidy
    $ go mod vendor
    $ make linux
    $ ./codis_status_exporter <flags>

Add a block to the scrape_configs of your prometheus.yml config file:

scrape_configs:

...

- job_name: codis_exporter
  static_configs:
  - targets: ['localhost:8082']

...