prometheus/documentation/examples/remote_storage/example_write_adapter
Julius Volz 8fbe1b5133
Handle a bunch of unchecked errors (#4461)
There are many more (mostly finalizers like Close/Stop/etc.), but most of
the others seemed like one couldn't do much about them anyway.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2018-08-17 17:24:35 +02:00
..
README.md Fix instructions on updating prometheus.yml for Remote Write Adapter Example (#3422) 2017-11-07 20:02:43 +00:00
server.go Handle a bunch of unchecked errors (#4461) 2018-08-17 17:24:35 +02: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