Skip to content

Commit a0e1967

Browse files
authored
Merge pull request grafana/cortex-jsonnet#379 from grafana/duologic/fix_cpu_irate
fix(rules): upstream recording rule switched to sum_irate
2 parents cea7f02 + a283035 commit a0e1967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonnet/mimir-mixin/recording_rules.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
213213
sum by (cluster, namespace, deployment) (
214214
label_replace(
215215
label_replace(
216-
node_namespace_pod_container:container_cpu_usage_seconds_total:sum_rate,
216+
node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate,
217217
"deployment", "$1", "pod", "(.*)-(?:([0-9]+)|([a-z0-9]+)-([a-z0-9]+))"
218218
),
219219
# The question mark in "(.*?)" is used to make it non-greedy, otherwise it

0 commit comments

Comments
 (0)