No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
testdata
.gitignore
.promu.yml
LICENSE
Makefile
README
VERSION
go.mod
go.sum
main.go
main_test.go
pool.go
stats.go

README

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)