Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlertValues ¶
type ScheduledRule ¶
type ScheduledRule struct { LastRun time.Time Running bool Config config.Rule GroupName string Labels map[string]string // contains filtered or unexported fields }
func ScheduledRulesFromConfig ¶
func ScheduledRulesFromConfig(c config.AlertConfig, conn driver.Conn) []ScheduledRule
func (*ScheduledRule) Run ¶
func (rule *ScheduledRule) Run() ([]alert.ActiveAlert, error)
Click to show internal directories.
Click to hide internal directories.