-
Notifications
You must be signed in to change notification settings - Fork 70
Prometheus Support
As of release 0.70 TANK can export Prometheus metrics via HTTP.
You can use the -P endpoint
command line argument to accept HTTP connections to http://<endpoint>/metrics
. You can point Prometheus to scrape metrics from there.
Initially, for each topic, TANK will export a tanksrv_topic_latency
(histogram), tanksrv_topic_produced_msgs
(counter), tanksrv_topic_produced_bytes
(counter) and tanksrv_topic_consumed_bytes
(counter).
The histogram tracks consumer latency, in milliseconds. tanksrv_topic_produced_msgs tracks total produced messages, and tanksrv_topic_produced_bytes total size in bytes of all produced messages (since startup). tanksrv_topic_consumed_bytes is the total size in bytes of consumed messages.
New metrics will be made available soon.