twemproxy_exporter

Build Status

This is a simple Prometheus exporter for Twemproxy (a.k.a. Nutcracker), written in Ruby. It currently takes a list of Twemproxy URLs to monitor and exposes metrics at http://localhost:9222/metrics

Run it from the command line like this:

twemproxy_exporter my.proxy.host my.other.proxy.host:33333

Run it with the --help flag to see the full list of options. It can also read these options from a JSON or YAML file:

bind: 127.0.0.1
port: 9876
interval: 10
timeout: 2
proxies:
  - my.proxy.host
  - my.other.proxy.host:33333
twemproxy_exporter -f config.yml

Pull requests welcome!