No commit activity in last 3 years
No release in over 3 years
A Prometheus exporter for Twemproxy / Nutcracker.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.13
~> 10.0
~> 3.0

Runtime

~> 2.0
 Project Readme

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!