mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-17 11:04:05 -08:00
36d2c4bd0b
This uses a new proto format, with scope for multiple samples per timeseries in future. This will allow users to pump samples out to whatever they like without having to change the core Prometheus code. There's also an example receiver to save users figuring out the boilerplate themselves.
307 B
307 B
Generic Remote Storage Example
This is a simple example of how to write a server to recieve samples from the generic remote storage output.
To use it:
go build
remote_storage_generic
and then run Prometheus as:
./prometheus -storage.remote.generic-url http://localhost:1234/remote