On 09.06.20 23:23, Raghavendra k wrote:
>
> With two different hosted solutions Azure (for applications) & AWS (for
> centralized monitoring), we are trying to federate the Prometheus running on
> the Azure cluster from the Prometheus running on the AWS cluster.
> Federation is working absolutely fine, but there is a small lag in timeseries
> values of the federated metrics on the master prometheus (somewhere between
> 2-10s).
If you are referring to metrics arriving 2-10s "late", then I'd guess
your scrape interval for the federation setup is 10s.
Or in other words: Federation is essentially a normal scrape. But it
keep the timestamp from the source instead of attaching the scrape
timestamp. So metrics come in after every scrape, so they might be
late up to the time of the scrape interval.
--
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email]
bjo...@rabenste.in