[Metrics UI] Refactor rate aggregation for Metric Threshold Alerts to eliminate "Drop Partial Buckets" #118820
Labels
enhancement
New value added to drive a business result
Feature:Metrics UI
Metrics UI feature
Project: Actionable Observability - DEPRECATED
Deprecated - Do not use
Team: Actionable Observability - DEPRECATED
For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge"
Instead of querying for the last 5 time units, taken from
FOR THE LAST x units
, we should query for the last 2 units of data then create 2 buckets with adate_range
aggregation and manually subtract the first bucket from the second bucket.This would eliminate the need for the “drop partial buckets” feature and provide a more accurate result. It would also be more performant because we would query less data.
The text was updated successfully, but these errors were encountered: