Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindNonOverlapQueryLength ¶
func FindNonOverlapQueryLength(expr parser.Expr, start, end int64, lookbackDelta time.Duration) time.Duration
FindNonOverlapQueryLength iterates through all the vector selectors in the statement and finds the time interval each selector will try to process. It merges intervals to be non overlapping and calculates the total duration as the query length. This takes into account offsets, @ modifiers, and range selectors. If the statement does not select series, then duration 0 will be returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.