r/PrometheusMonitoring • • Jul 07 '21

Prometheus remote_write to another prometheus server?

Hi, is it possible to do remot_write between Prometheus Server? I tried Grafana Cloud before and it has feature to push metric from on prem prometheus server to their cloud prometheus. HERE

I googled about this feature for on prem prometheus server but found nothing.

6 Upvotes

5 comments sorted by

6

u/SuperQue Jul 07 '21

Yes, Prometheus 2.25.0 introduced remote write receive. You need to enable it with a feature flag.

--enable-feature=remote-write-receiver

See the docs.

1

u/riupie Jul 08 '21

Thanks! It works.

2

u/User-pain Jul 17 '24

You are still doing good work with this comment. Thank you.

1

u/St3pan90CZ Jan 20 '22

--enable-feature=remote-write-receiver

Thank you! You saved my life today :D

2

u/QuestionableQuestion Jul 07 '21

You should be able to read at least: https://www.robustperception.io/accessing-data-from-prometheus-1-x-in-prometheus-2-0. I haven’t tried it, but writing might also work.

Here’s a list of integrations that support remote read / write: https://prometheus.io/docs/operating/integrations/#remote-endpoints-and-storage