https://github.com/cloudflare/opentsdb_exporter
Prometheus exporter for OpenTSDB
https://github.com/cloudflare/opentsdb_exporter
exporter metrics monitoring opentsdb prometheus
Last synced: about 2 months ago
JSON representation
Prometheus exporter for OpenTSDB
- Host: GitHub
- URL: https://github.com/cloudflare/opentsdb_exporter
- Owner: cloudflare
- License: apache-2.0
- Created: 2017-04-18T16:16:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-09-25T05:20:40.000Z (about 1 year ago)
- Last Synced: 2025-04-01T18:50:40.250Z (6 months ago)
- Topics: exporter, metrics, monitoring, opentsdb, prometheus
- Language: Go
- Homepage:
- Size: 1.25 MB
- Stars: 24
- Watchers: 7
- Forks: 14
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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](http://opentsdb.net/docs/build/html/api_http/stats/index.html).Tested on OpenTSDB 2.3.
[OpenTSDB]: http://opentsdb.net/
## Prerequisites
To use the OpenTSDB exporter, you'll need:
- an [OpenTSDB][] cluster
To build, you'll need:
- [Make][]
- [Go][] 1.8 or above
- a working [GOPATH][][Make]: https://www.gnu.org/software/make/
[Go]: https://golang.org/dl/
[GOPATH]: https://golang.org/cmd/go/#hdr-GOPATH_environment_variable## 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.[Prometheus metric naming conventions]: https://prometheus.io/docs/practices/naming/
## 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](CONTRIBUTING.md) for more information.