grafana/pkg/services/ngalert/models
Yuriy Tseretyan 4e19d7df63
Alerting: Calculate diff for two AlertRules (#45877)
* add custom diff reporter DiffReporter that reports only paths that have a difference
* create Diff method for AlertRule that returns DiffReport, which is an alias for []Diff

Tests:
* create copy method for AlertRule in testing
* create GenerateAlertQuery method in testing
2022-02-28 17:13:53 +01: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/Expr: New SSE Request/QueryType, alerting move data source UID (#33282) 2021-04-23 16:52:32 +02:00
alert_query.go api/ds/query: simplify data sources lookup for queries and expressions (#41172) 2021-11-05 08:12:55 -07:00
alert_rule_test.go Alerting: Calculate diff for two AlertRules (#45877) 2022-02-28 17:13:53 +01:00
alert_rule.go Alerting: Calculate diff for two AlertRules (#45877) 2022-02-28 17:13:53 +01:00
alertmanager.go Alerting: modify DB table, accessors and migration to restrict org access (#37414) 2021-08-12 16:04:09 +03:00
eval_condition.go [Alerting]: Implement test rule API route (#32837) 2021-04-13 20:58:34 +03:00
instance_labels.go Alerting: Fix state cache id duplication (#33480) 2021-04-28 11:42:19 -04:00
instance.go Alerting/Chore: Backend remove def_ columns from instance (#33875) 2021-05-12 07:17:43 -04:00
provisioning.go Alerting: Create basic storage layer for provisioning (#44679) 2022-02-04 13:23:19 -06:00
testing.go Alerting: Calculate diff for two AlertRules (#45877) 2022-02-28 17:13:53 +01:00