Skip to content

xavierholt/twemproxy_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twemproxy_exporter

Build Status Gem Version

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, or check out the source. 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.twemproxy.host
- my.other.twemproxy.host:33333
twemproxy_exporter -f config.yml

Pull requests welcome!