Skip to content

Prometheus Support

Mark Papadakis edited this page Dec 13, 2017 · 4 revisions

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.

Clone this wiki locally