Files
grafana/pkg/services
Grot (@grafanabot) 5c9c5f2f61 Alerting: make alert rule routine evaluation control be thread-safe (#41220) (#43243)
* change registry.delete to return deleted struct
* use pointer to alertRuleInfo instead copying.
* do not access evaluation channel when routine is stopped
* remove stopCh and use context cancellation
* do not return ctx.Err when channel is cancelled because it cancels all other routines
* make alertRuleInfo fields and functions package private

(cherry picked from commit 1a762083d7)

Co-authored-by: Yuriy Tseretyan <tceretian@gmail.com>
2021-12-16 15:48:53 -05:00
..