mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-17 11:04:05 -08:00
18 lines
307 B
Markdown
18 lines
307 B
Markdown
|
## 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
|
||
|
```
|