Add rule cancellation support for metrics threshold and log threshold rule types #122550
Labels
Feature:Alerting/RuleTypes
Issues related to specific Alerting Rules Types
Team: Actionable Observability - DEPRECATED
For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge"
v8.4.0
The alerting system now supports cancellation, which is currently only driven via timeouts. A rule can check manually if it's been cancelled, while it's running, and can get "free" cancellation support via an instrumented ES client. The PR [Alerting] Using abortable es client in stack rules #122435 is doing this work for the stack alerts, and should be a good example to follow when adding cancellation support to a rule executor.
While we want ALL rules to be able to support cancellation in this way, I've created this specific issue for metrics threshold and log threshold rule types, as they've been the rule types that we've seen most frequently go over the rule timeout (5 minutes).
The text was updated successfully, but these errors were encountered: