Thanks, Stuart for the reply, is the look back configurable? I need my Prometheus queries result to be in sync with my remote storage.
On Monday, 11 May 2020 12:11:06 UTC+5, Stuart Clark wrote: > > On 11/05/2020 08:06, Sohaib Omar wrote: > > > For example, even with the *read_recent: true, *when a certain > time-series has stopped being appended in remote_storage, Prometheus(the > one which remote_reads) is still able to return the result at least for 5 > to 6 minutes later. The last point for below time-series is ~5 minutes old > in influxDB but it still shows up in Prometheus. > > This is expected. When you query Prometheus for the current value of a > metric it will actually look back up to five minutes to find it. After this > point the time series is marked as stale. This is because it is pretty > unlikely that a scrape will fall exactly "now", and could have last been > scraped several minutes ago. > > -- > Stuart Clark > > -- 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/0e850aa2-0d5b-40c9-8c9a-1e10d2e16a5b%40googlegroups.com.

