Made a draft PR: https://github.com/prometheus/prometheus/pull/9946

On Tuesday, November 23, 2021 at 6:56:18 AM UTC+2 [email protected] wrote:

> (slightly tangential)
>
> > We want richer metadata anyway,
> +1, richer metadata about the data in tsdb will be required for the query 
> optimizer too. IMO without the metadata, the optimizer cannot choose the 
> best query plan (order of evaluating the query). 
>
> On Monday, 22 November 2021 at 17:28:36 UTC+5:30 [email protected] wrote:
>
>> As a short- to mid-term remedy, I like the idea of a lookback-delta 
>> per query. 
>>
>> Long-term, I would prefer if we could get rid of the lookback delta 
>> altogether. We want richer metadata anyway, and part of it could be 
>> when a series starts and ends and what the configured scrape interval 
>> was. Once we know that, we can create query strategies so that we can 
>> always return the most recent valid sample (if there is any) without 
>> generally killing query performance. 
>>
>> -- 
>> Björn Rabenstein 
>> [PGP-ID] 0x851C3DA17D748D03 
>> [email] [email protected] 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Developers" 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-developers/c8df5559-441c-405b-8b9d-84295737b7e0n%40googlegroups.com.

Reply via email to