example_write_adapter

command
v2.5.0-rc.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL