You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prometheus/documentation/examples/remote_storage/example_write_adapter
Julius Volz 8fbe1b5133
Handle a bunch of unchecked errors (#4461)
6 years ago
..
README.md Fix instructions on updating prometheus.yml for Remote Write Adapter Example (#3422) 7 years ago
server.go Handle a bunch of unchecked errors (#4461) 6 years ago

README.md

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