alerting

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertManager

type AlertManager struct {
	// contains filtered or unexported fields
}

AlertManager configuration

func NewAlertManager

func NewAlertManager(alertProfileCfg, uuid string, prometheusClient *prometheus.Prometheus, embedConfig bool, indexers ...indexers.Indexer) (*AlertManager, error)

NewAlertManager creates a new alert manager

func (*AlertManager) Evaluate

func (a *AlertManager) Evaluate(start, end time.Time, churnStart, churnEnd *time.Time) error

Evaluate evaluates expressions

Jump to

Keyboard shortcuts

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