promql

package
v1.18.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL