Thanks, Brain for the answer! I think Prometheus Agent supports only one remote-write end-point by implementation (not due to config), please correct me if I'm wrong. +1 to your answer on federation.
On Thursday, June 8, 2023 at 9:35:24 AM UTC+2 Brian Candler wrote: > On Wednesday, 7 June 2023 at 23:41:31 UTC+1 tejaswini vadlamudi wrote: > > Can we configure multiple remote-write receivers in agent mode? > > > Good question. The configuration file > <https://prometheus.io/docs/prometheus/latest/configuration/configuration/#configuration-file> > > allows a list of remote_write receivers: > > # Settings related to the remote write feature. remote_write: [ - > <remote_write> > <https://prometheus.io/docs/prometheus/latest/configuration/configuration/#remote_write> > > ... ] > ... but since agent mode > <https://prometheus.io/blog/2021/11/16/agent/#prometheus-agent-mode> uses > a "customized TSDB WAL" that deletes data as soon as it has been > successfully delivered, I don't know if it can handle the case where one > receiver is backlogging but another is not. > > Is federation supported in agent mode? > > > I would expect not, since federation involves making queries to the > prometheus database - and agent mode "disables querying, alerting, and > local storage" completely. > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/7d4ca9a4-52e2-455e-b0e0-b851e26a12ean%40googlegroups.com.

