Alerting: Scheduler to drop ticks if a rule's evaluation is too slow (#48885)

* drop ticks if evaluation of a rule is too slow.
* add metric schedule_rule_evaluations_missed_total
This commit is contained in:
Yuriy Tseretyan
2022-06-08 12:50:44 -04:00
committed by GitHub
parent ffb8ae4900
commit a89d4a5be7
7 changed files with 101 additions and 15 deletions

View File

@@ -125,6 +125,7 @@ type AlertRule struct {
}
type SchedulableAlertRule struct {
Title string
UID string `xorm:"uid"`
OrgID int64 `xorm:"org_id"`
IntervalSeconds int64