alerting

package
v0.0.0-...-0bdedc6 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoData = fmt.Errorf("fatal: no data returned for job")
)
View Source
var (
	ResultQueue chan *m.AlertingJob
)

Functions

func ChanExecutor

func ChanExecutor(jobQueue <-chan *m.AlertingJob, cache *lru.Cache)

func Construct

func Construct()

func Init

func Init(publisher services.MetricsPublisher)

Init initializes the alerting engine.

func InitResultHandler

func InitResultHandler()

func LoadOrSetOffset

func LoadOrSetOffset() int

func ProcessResult

func ProcessResult(job *m.AlertingJob)

func StoreResult

func StoreResult(job *m.AlertingJob)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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