Open GiedriusS opened 1 year ago
Hmm, I wonder how it would work if we called /api/v1/series
with the respective matchers and start/end set to the same timestamp. Does it mean that the /api/v1/series
is broken if it returns series even outside the requested timestamp i.e. series that is in the head but does not necessarily exist during the given time instant? :smile: need to double-check
I think this is not well defined because of lookback maybe! You would still need to decode the chunks to check if there is a sample within lookback period
See: https://github.com/prometheus/prometheus/issues/10073
If it's an instant query then we can calculate count() without fetching any samples with some caveats: