Expand description
Half-open time ranges.
A TimeRange is [min_time, max_time), in milliseconds since the Unix
epoch. Block bounds use the same convention (maxTime is exclusive), while
chunk metadata and tombstone intervals are closed; TimeRange::overlaps_chunk
does the translation.
The range is deliberately a plain value: a query layer computes the range a
PromQL expression needs (including selector lookbacks such as [5m]) and
hands it to the reader, which never interprets the query itself.
Structsยง
- Time
Range - Half-open time range
[min_time, max_time).