simulate

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RelativeIntervalToAbsoluteInterval

func RelativeIntervalToAbsoluteInterval(ri utils.RelativeInterval, origin model.Time) processor.Interval

func RelativeToAbsoluteIntervals

func RelativeToAbsoluteIntervals(relIntervals []utils.RelativeInterval, end model.Time) []processor.Interval

func Simulate

func Simulate(ctx context.Context, outputFile, scenarioFile string, alertsOnly bool) error

Simulate generates simulated Prometheus metrics in OpenMetrics format. When alertsOnly is true, only ALERTS metrics are written — the processed cluster_health_components metrics are skipped so the analyzer under test can compute them itself.

Types

This section is empty.

Jump to

Keyboard shortcuts

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