prometheus/documentation/examples/remote_storage
Julius Volz aa3f2b7216 Generic write cleanups and changes.
- fold metric name into labels
- return initialization errors back to main
- add snappy compression
- better context handling
- pre-allocation of labels
- remove generic naming
- other cleanups
2016-08-30 17:24:48 +02:00
..
README.md Generic write cleanups and changes. 2016-08-30 17:24:48 +02:00
server.go Generic write cleanups and changes. 2016-08-30 17:24:48 +02:00

Generic Remote Storage 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
remote_storage

...and then run Prometheus as:

./prometheus -storage.remote.address=localhost:1234