prometheus/documentation/examples/remote_storage/example_write_adapter
Krasi Georgiev 5d8f93a22a now using only github.com/gogo/protobuf
bumped all grpc-gateway packages to v1.2.2
updated and run  the denproto.sh script
2017-11-02 11:31:57 +00:00
..
README.md Correct example name to adapter. (#2590) 2017-04-10 17:24:53 +01:00
server.go now using only github.com/gogo/protobuf 2017-11-02 11:31:57 +00:00

Remote Write Adapter Example

This is a simple example of how to write a server to receive samples from the remote storage output.

To use it:

go build
./example_write_adapter

...and then add the following to your prometheus.yml:

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

Then start Prometheus:

./prometheus