forked from stuartnelson3/twemproxy_exporter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
21 lines (17 loc) · 755 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)