Skip to content

cloudflare/opentsdb_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Prerequisites

To use the OpenTSDB exporter, you'll need:

To build, you'll need:

Limitations

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 github.com/cloudflare/opentsdb_exporter
cd $GOPATH/src/github.com/cloudflare/opentsdb_exporter
make
./opentsdb_exporter

How to run the tests

make tests

Contributions

Pull requests, comments and suggestions are welcome.

Please see CONTRIBUTING.md for more information.