Skip to content

Prometheus Write Input

Lorenzo Mangani edited this page Jan 21, 2022 · 13 revisions


Prometheus Remote Write

cLoki implements experimental support for the Prometheus Remote Write API (Protobuf WriteRequest format)

API Endpoints

  • api/v1/prom/remote/write
  • api/prom/remote/write (alias)

image

Testing

Use the promremote client to test the input.

promremote -t=__name__:foo_bar -t=biz:baz -d=now,1415.92

Usage

Write

Store data from Prometheus instances using the /api/v1/write remote_write storage API

Read

Stored Metrics can be accessed using the cloki (unwrap_value) function

image

Clone this wiki locally