validation

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueryWindowMismatch

type QueryWindowMismatch struct {
	QueryWindow     string
	ObjectiveWindow string
}

QueryWindowMismatch represents a mismatch between query window and objective window

func ValidateQueryWindow

func ValidateQueryWindow(sliQuery string, objectiveWindow string) []QueryWindowMismatch

ValidateQueryWindow checks if the range windows in the PromQL query match the objective window. Returns a list of mismatched windows found in the query. This is a warning-level validation - mismatches don't prevent reconciliation.

Jump to

Keyboard shortcuts

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