Help us shape the future of Go! Take the 2026 Go Developer Survey

ruler

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 8 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) (*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