mirror of
https://github.com/prometheus/prometheus.git
synced 2026-01-19 07:31:01 +01:00
Remove copyright dates from various files as part of [PROM-50]. [PROM-50]: https://github.com/prometheus/proposals/blob/main/proposals/0050-remove-copyright-dates.md Signed-off-by: SuperQ <superq@gmail.com>
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"
protobuf_message: "io.prometheus.write.v2.Request"
or for the eventually deprecated Remote Write 1.0 message:
remote_write:
- url: "http://localhost:1234/receive"
protobuf_message: "prometheus.WriteRequest"
Then start Prometheus (in separate terminal):
./prometheus --enable-feature=metadata-wal-records