grafana/pkg/services/ngalert/models
Yuriy Tseretyan a081764fd8
Alerting: Scheduler to use AlertRule (#52354)
* update GetAlertRulesForSchedulingQuery to have result AlertRule
* update fetcher utils and registry to support AlertRule
* alertRuleInfo to use alert rule instead of version
* update updateCh hanlder of ruleRoutine to just clean up the state. The updated rule will be provided at the next evaluation
* update evalCh handler of ruleRoutine to use rule from the message and clear state as well as update extra labels

* remove unused function in ruleRoutine
* remove unused model SchedulableAlertRule

* store rule version in ruleRoutine instead of rule
* do not call the sender if nothing to send
2022-07-26 09:40:06 -04:00
..
admin_configuration_test.go Alerting: send alerts to external, internal, or both alertmanagers (#40341) 2022-02-01 20:36:55 -03:00
admin_configuration.go Alerting: send alerts to external, internal, or both alertmanagers (#40341) 2022-02-01 20:36:55 -03:00
alert_query_test.go Alerting: Display query from grafana-managed alert rules on /api/v1/rules (#45969) 2022-03-14 10:39:20 +00:00
alert_query.go Alerting: add YAML support for relative time range (#51694) 2022-07-04 06:03:34 -04:00
alert_rule_test.go Alerting: add YAML support for relative time range (#51694) 2022-07-04 06:03:34 -04:00
alert_rule.go Alerting: Scheduler to use AlertRule (#52354) 2022-07-26 09:40:06 -04:00
alertmanager.go Alerting: add collision safe update function for alertmanager configurations (#46692) 2022-03-23 09:31:46 +01:00
image.go Alerting: Add stored screenshot utilities to the channels package. (#49470) 2022-05-26 13:29:56 +08:00
instance_labels.go Alerting: Fix state cache id duplication (#33480) 2021-04-28 11:42:19 -04:00
instance.go Alerting: Add a "Reason" to Alert Instances to show underlying cause of state. (#49259) 2022-05-23 16:49:49 +08:00
provisioning.go Drop ProvenanceOrgAdapter and build into store API instead (#48137) 2022-04-26 10:30:57 -05:00
testing.go Alerting: Split Scheduler and AlertRouter tests (#52416) 2022-07-19 09:32:54 -04:00