grafana/pkg/services/ngalert/state
George Robinson 0c8876c3a2
Alerting: Return errors when expanding templates (#63662)
This commit changes the state package so that errors encountered while
expanding templates for custom labels and annotations are returned
from the function. This is not used at present, but will be used in the
future as we look at how to offer better feedback to users who don't
have access to logs, for example our customers who use Hosted Grafana.
2023-03-08 12:25:02 +00:00
..
historian Alerting: Expose Prometheus metrics for persisting state history (#63157) 2023-03-06 10:40:37 -06:00
template Alerting: Return errors when expanding templates (#63662) 2023-03-08 12:25:02 +00:00
cache_test.go Alerting: Return errors when expanding templates (#63662) 2023-03-08 12:25:02 +00:00
cache.go Alerting: Return errors when expanding templates (#63662) 2023-03-08 12:25:02 +00:00
image_mock.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
manager_bench_test.go Alerting: Expose Prometheus metrics for persisting state history (#63157) 2023-03-06 10:40:37 -06:00
manager_private_test.go Alerting: Do not persist noop transition from Normal state. (#61201) 2023-01-13 18:29:29 -05:00
manager_test.go Alerting: Expose Prometheus metrics for persisting state history (#63157) 2023-03-06 10:40:37 -06:00
manager.go Alerting: Update state manager to return StateTransitions when Delete or Reset (#62264) 2023-01-27 09:46:21 +01:00
persist.go Alerting: Copy rule definitions into state history (#62032) 2023-01-25 11:29:57 -06:00
state_test.go Chore: Remove xorcare/pointer dependency (#63900) 2023-03-06 05:23:15 -05:00
state.go Alerting: Do not persist noop transition from Normal state. (#61201) 2023-01-13 18:29:29 -05:00
testing.go Alerting: Add alert pausing feature (#60734) 2023-01-26 18:29:10 +01:00