prometheus/documentation/examples/remote_storage/example_write_adapter
Callum Styan 23c7936cee refactor new version flag to make it easier to pick a specific format
instead of having multiple flags, plus add new formats for testing

Signed-off-by: Callum Styan <callumstyan@gmail.com>
Signed-off-by: Nicolás Pazos <npazosmendez@gmail.com>
2023-12-19 14:29:11 -03: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 refactor new version flag to make it easier to pick a specific format 2023-12-19 14:29:11 -03: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