Commit Graph

116 Commits (9d182986f19c20aa700fc0577d79bb738adb14c2)

Author SHA1 Message Date
Alexander Akhmetov 9d182986f1
Alerting: make StatePersister more configurable to support custom rule-level state persisters (#94590) 9 months ago
Alexander Akhmetov 0a4e6ff86b
Alerting: Add SaveAlertInstancesForRule instance store method (#94505) 9 months ago
Alexander Weaver 393faa8732
Alerting: Move rule evaluation status logic out of prometheus API and into scheduler (#89141) 10 months ago
Matthew Jacobson a397bca02e
Alerting: Fix panic with nil annotations & Nodata=alerting/ok/keep (#91506) 12 months ago
Nihal 9ad9b4989b
Alerting: Include a list of ref_Id and aggregated datasource UIDs to alerts when state reason is NoData (#88819) 12 months ago
Matthew Jacobson ba800692c6
Alerting: Persist AlertInstance ResolvedAt & LastSentAt (#89135) 1 year ago
Alexander Weaver 3b6a8775bb
Alerting: Fix stale values associated with states that have gone to NoData, unify values calculation (#89807) 1 year ago
Matthew Jacobson 47c9259d75
Alerting: Ensure we update State.LastSentAt before persisting (#89427) 1 year ago
Matthew Jacobson 3228b64fe6
Alerting: Resend resolved notifications for ResolvedRetention duration (#88938) 1 year ago
Alexander Akhmetov 667fea6623
Alerting: use hash of labels instead of labels string as the alert state cache key (#88956) 1 year ago
Alexander Weaver a6a9ab4008
Alerting: Do not store series values from past evaluations in state manager for no reason (#87525) 1 year ago
Jean-Philippe Quéméner 7cfd470c91
fix(alerting): only expose metrics if executing alerts (#85512) 1 year ago
William Wernert 10dc6c6d75
Alerting: Add "Keep Last State" backend functionality (#83940) 1 year ago
Alexander Weaver 99fa064576
Alerting: Emit warning when creating or updating unusually large groups (#82279) 1 year ago
Jean-Philippe Quéméner aa25776f81
Alerting: Add a feature flag to periodically save states (#80987) 2 years ago
Jean-Philippe Quéméner 82638d059f
feat(alerting): add state persister interface (#80384) 2 years ago
Matthew Jacobson 1d4419fbe4
Alerting: Fix NoData & Error alerts not resolving when rule is reset (#80184) 2 years ago
Yuri Tseretyan f6a46744a6
Alerting: Support hysteresis command expression (#75189) 2 years ago
Marcus Efraimsson e4c1a7a141
Tracing: Standardize on otel tracing (#75528) 2 years ago
gotjosh e877174501
Alerting: Expose metrics for Alertmanager Alerts - `grafana_alerting_alertmanager_alerts` (#75802) 2 years ago
gotjosh 59694fb2be
Alerting: Don't use a separate collection system for metrics (#75296) 2 years ago
Steve Simpson 894f420014
Alerting: Pass loggers into SchedulerCfg and ManagerCfg. (#75158) 2 years ago
Yuri Tseretyan 938e26b59f
Alerting: Add new metrics and tracings to state manager and scheduler (#71398) 2 years ago
Yuri Tseretyan 0717ec11d6
Alerting: Update state manager to change all current states in the case when Error\NoData is executed as Ok\Nomal (#68142) 2 years ago
Yuri Tseretyan 78fc3bcdf4
Alerting: Fix state manager to not keep datasource_uid and ref_id labels in state after Error (#72216) 2 years ago
George Robinson 594c851d4b
Alerting: Add duration to saving alert states done (#70844) 2 years ago
George Robinson 7edbe72483
Alerting: Support concurrent queries for saving alert instances (#70525) 2 years ago
George Robinson 8a13ee3cd4
Alerting: Add debug logs when saving instances is finished (#70447) 2 years ago
Santiago b0881daf23
Alerting: Use URLs in image annotations (#66804) 2 years ago
Matthew Jacobson 63187fae0c
Alerting: Remove and revert flag alertingBigTransactions (#65976) 2 years ago
Yuri Tseretyan 622c23716a
Alerting: Use logger with context in the state cache (#65663) 2 years ago
Serge Zaitsev 0beb768427
Chore: Remove result fields from ngalert (#65410) 2 years ago
Alexander Weaver a31672fa40
Alerting: Create new state history "fanout" backend that dispatches to multiple other backends at once (#64774) 2 years ago
Yuri Tseretyan 05bf241952
Alerting: Update state manager to return StateTransitions when Delete or Reset (#62264) 3 years ago
Alex Moreno 531b439cf1
Alerting: Add alert pausing feature (#60734) 3 years ago
Alexander Weaver 046a9bb7c1
Alerting: Copy rule definitions into state history (#62032) 3 years ago
Denis Limarev e6dee8a723
Perfomance: Preallocate slices (#61580) 3 years ago
Yuri Tseretyan 9d57b1c72e
Alerting: Do not persist noop transition from Normal state. (#61201) 3 years ago
Yuri Tseretyan 86b5fbbf60
Alerting: Introduce state manager config structure (#61249) 3 years ago
Yuri Tseretyan 4d989860fb
Alerting: Fix conversion of alert state from db state during manager warmup (#60933) 3 years ago
George Robinson 6359dab040
Alerting: Change resultError in preparation for supporting ForError duration (#59894) 3 years ago
Yuri Tseretyan abb49d96b5
Alerting: update state manager to return StateTransition instead of State (#58867) 3 years ago
Yuri Tseretyan a85adeed96
Alerting: Update state history service to filter states transitions (#58863) 3 years ago
Yuri Tseretyan 28d39d35fd
Alerting: Update state manager to save state transitions in one batch (#58358) 3 years ago
George Robinson c5ae1bcfe0
Alerting: Fix logging pointer address of DashboardUID and PanelID variables (#58539) 3 years ago
Alexander Weaver 2bfdda5b68
Alerting: Break dependency between state and image packages (#58381) 3 years ago
George Robinson 1290951b65
Alerting: Small improvements to staleResultsHandler (#58007) 3 years ago
Yuri Tseretyan 3621cf5a12
Alerting: Update handling of stale state (#58276) 3 years ago
Yuri Tseretyan 623de12e35
Alerting: Create AlertInstanceKey in one place (#58278) 3 years ago
Yuri Tseretyan f9c88e72ae
Alerting: Update saveAlertStates in state manager to not return results (#58279) 3 years ago