example_write_adapter

command
v1.25.5 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: Apache-2.0 Imports: 5 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