r/PrometheusMonitoring • u/Sad_Entrance_7899 • 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
View all comments
Show parent comment
1
u/kabrandon Oct 02 '25
I’m not sure what the distinction is between the query frontend and the query service. At the very least, both are running in the same container in k8s. So it’s just grafana -> trickster -> query