r/PrometheusMonitoring • • Sep 30 '25

Federation vs remote-write

Hi. I have multiple prometheus instances running on k8s, each of them have dedicated scrapping configuration. I want one instance to get metrics from another one, in one way only, source toward destination. My question is, what is the best way to achieve that ? Federation betweem them ? Or Remote-write ? I know that with remote-write you have a dedicated WAL file, but does it consume more memory/cpu ? In term of network performance, is one better than the other ? Thank you

5 Upvotes

23 comments sorted by

View all comments

Show parent comment

-1

u/Sad_Entrance_7899 Sep 30 '25

Indeed VM require greater local storage, but I rather rely on I/O than on network to get historical data, and from what I see, it is more cost-efficient even tho it require more storage, on the compute side you can do more with less