Allow upscaling from self in when recording aggregation sets from SLI aggregations
The new aggregation sets in Mimir needs to upscale the longer burn rates (6h, 3d) from the existing recorded 1h burn rates.
The generated rule would look something like:
- record: gitlab_component_ops:rate_6h
labels:
component: global_search
monitor: global
tier: sv
type: web
expr: |
sum by (env,environment,tier,type,stage,component) (
avg_over_time(gitlab_component_ops:rate_1h{component="global_search",monitor="global",tier="sv",type="web"}[6h] offset 30s)
)
To confirm: the sum
aggregation might not be needed in this case because gitlab_component_ops:rate_1h
has been matched with the specific selectors, resulting to only 1 series.
Edited by Gregorius Marco