grafana/pkg/services/ngalert/state/historian
Alexander Weaver 046a9bb7c1
Alerting: Copy rule definitions into state history (#62032)
* Copy rules instead of accepting pointer

* Deep-copy the rule, for even more guarantees

* Create struct just for needed fields

* Move RuleMeta to historian/model package, iron out package dependencies

* Move tests for dash ID parsing to model package along with code
2023-01-25 11:29:57 -06:00
..
model Alerting: Copy rule definitions into state history (#62032) 2023-01-25 11:29:57 -06:00
annotation_test.go Alerting: Return chan <-error for #61811 (#61858) 2023-01-24 15:41:38 +00:00
annotation.go Alerting: Copy rule definitions into state history (#62032) 2023-01-25 11:29:57 -06:00
core_test.go Alerting: Copy rule definitions into state history (#62032) 2023-01-25 11:29:57 -06:00
core.go Alerting: Copy rule definitions into state history (#62032) 2023-01-25 11:29:57 -06:00
dashboard_test.go Chore: Remove Result from dashboard models (#61997) 2023-01-25 10:36:26 +01:00
dashboard.go Chore: Remove Result from dashboard models (#61997) 2023-01-25 10:36:26 +01:00
loki_http_test.go Alerting: Push state history entries to Loki (#61724) 2023-01-23 16:31:03 -06:00
loki_http.go Alerting: Push state history entries to Loki (#61724) 2023-01-23 16:31:03 -06:00
loki.go Alerting: Copy rule definitions into state history (#62032) 2023-01-25 11:29:57 -06:00
noop.go Alerting: Copy rule definitions into state history (#62032) 2023-01-25 11:29:57 -06:00
query.go Alerting: Create query interface for state history along with annotation-based implementation (#61646) 2023-01-19 10:45:31 +01:00
sql.go Alerting: Copy rule definitions into state history (#62032) 2023-01-25 11:29:57 -06:00