ruler

package
v0.0.0-...-953d526 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRuler

func NewRuler(cfg Config, engine *logql.Engine, reg prometheus.Registerer, logger log.Logger, ruleStore cRules.RuleStore, limits ruler.RulesLimits) (*ruler.Ruler, error)

Types

type Config

type Config struct {
	ruler.Config `yaml:",inline"`
}

func (*Config) Validate

func (cfg *Config) Validate() error

Override the embedded cortex variant which expects a cortex limits struct. Instead copy the relevant bits over.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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