prometheus_flask_exporter icon indicating copy to clipboard operation
prometheus_flask_exporter copied to clipboard

Support for push using Prometheus remote_write?

Open jonnor opened this issue 3 years ago • 4 comments

Prometheus 2.33 stabilizes the remote_write API. https://promlabs.com/blog/2022/01/30/whats-new-in-prometheus-2-33#remote-write-receiver-marked-stable

While not intended to be a replacement for the pull-based model, it can be very practical from background workers and batch jobs to be able to push, without having to set up a gateway. Especially since the offical pushgateway is very limited, and other options like prom-aggregation-gateway are not activily maintained.

What do you think?

jonnor avatar Sep 15 '22 14:09 jonnor

Sure, we can look at supporting that once https://github.com/prometheus/client_python does. I haven't checked whether it does already.

rycus86 avatar Sep 15 '22 20:09 rycus86

Only mention I have seen so far is https://github.com/prometheus/client_python/issues/817 - which has not been commented on by the maintainers

jonnor avatar Sep 16 '22 07:09 jonnor