prometheus/documentation/examples/remote_storage/remote_storage_bridge
Julius Volz beb3c4b389 Remove legacy remote storage implementations
This removes legacy support for specific remote storage systems in favor
of only offering the generic remote write protocol. An example bridge
application that translates from the generic protocol to each of those
legacy backends is still provided at:

documentation/examples/remote_storage/remote_storage_bridge

See also https://github.com/prometheus/prometheus/issues/10

The next step in the plan is to re-add support for multiple remote
storages.
2017-02-14 17:52:05 +01:00
..
graphite Remove legacy remote storage implementations 2017-02-14 17:52:05 +01:00
influxdb Remove legacy remote storage implementations 2017-02-14 17:52:05 +01:00
opentsdb Remove legacy remote storage implementations 2017-02-14 17:52:05 +01:00
README.md Add standalone remote storage bridge example 2017-02-01 13:22:41 +01:00
main.go Remove legacy remote storage implementations 2017-02-14 17:52:05 +01:00

README.md

Remote storage bridge

This is a bridge that receives samples in Prometheus's remote storage format and forwards them to Graphite, InfluxDB, or OpenTSDB. It is meant as a replacement for the built-in specific remote storage implementations that have been removed from Prometheus.

Building

go build

Running

Example:

./remote_storage_bridge -graphite-address=localhost:8080 -opentsdb-url=http://localhost:8081/

To show all flags:

./remote_storage_bridge -h

Configuring Prometheus

To configure Prometheus to send samples to this bridge, add the following to your prometheus.yml:

remote_write:
  url: "http://localhost:9201/receive"