/twemproxy_exporter

Primary LanguageGoApache License 2.0Apache-2.0

twemproxy_exporter
==================

Exporter for twemproxy: https://github.com/twitter/twemproxy

Usage of twemproxy_exporter:
  -twemproxy.stats-address string
        Stats address of twemproxy. (default "localhost:22222")
  -twemproxy.timeout duration
        Timeout for request to twemproxy. (default 2s)
  -web.listen-address string
        Address to listen on for web interface and telemetry. (default ":9151")
  -web.telemetry-path string
        Path under which to expose metrics. (default "/metrics")

Todo:

  - twemproxy only updates its stats every X seconds. Maybe it would make sense
    to do the same here.
  - The JSON parsing is kind of involved. Write a benchmark and find a way to
    improve it (both performance- and codewise)