Skip to content

cloudflare/opentsdb_exporter

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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.