Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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.

You can’t perform that action at this time.