Skip to content

kornrunner/twemproxy_exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Packages

No packages published

Languages

  • Go 94.0%
  • Makefile 6.0%