UP is a simple client that makes Prometheus remote-write requests. The client writes the specified metric at the chosen interval. The value of the metric will always be the current timestamp in milliseconds.
The easiest way to begin making remote write requests is to run the UP container.
For example, to report an up metric every 10 seconds, run:
docker run --rm -p 8080:8080 quay.io/observatorium/up --endpoint=https://example.com/api/v1/receive --period=10sNote that the metric name and labels are customizable.
For example, to report a metric named foo with a custom bar label, run:
docker run --rm -p 8080:8080 quay.io/observatorium/up --endpoint=https://example.com/api/v1/receive --period=10s --name foo --labels 'bar="baz"'