prometheus-community / prom-label-proxy

A proxy that enforces a given label in a given PromQL query.
Apache License 2.0
269 stars 98 forks source link

Remote write receiver support #104

Open Wouter0100 opened 2 years ago

Wouter0100 commented 2 years ago

It would be awesome to have remote write receiver support in prom-label-proxy, so we are able to push metrics into Prometheus through prom-label-proxy which forces the label on all incoming metrics.

The endpoint that should be supported is /api/v1/write, docs can be found here.

squat commented 2 years ago

I think this would be very nice. We recently implemented exactly this in the Observatorium API, so it's proof that doing so is relatively straightforward