Prometheus exporter for OpenTSDB
Switch branches/tags
Nothing to show
Clone or download
mattbostock Merge pull request #6 from cloudflare/dont_output_error
Don't output error in HTTP response body
Latest commit b5981ae Jul 5, 2017

OpenTSDB Exporter

A daemon that takes the URL of an OpenTSDB server and exposes Prometheus metrics based on data scraped from OpenTSDB's stats API.

See OpenTSDB's API documentation on the stats endpoint.

Tested on OpenTSDB 2.3.


To use the OpenTSDB exporter, you'll need:

To build, you'll need:


The metrics generated are translated one-to-one from the metrics exposed on the stats endpoint, so do not follow the Prometheus metric naming conventions. This is primarily to keep the code simple.

How to run

go get -u
cd $GOPATH/src/

How to run the tests

make tests


Pull requests, comments and suggestions are welcome.

Please see for more information.