Skip to content

Commit 44f53f4

Browse files
committed
fix(alerts): add instance label to join
1 parent 78c5bba commit 44f53f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alerts/resource_alerts.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ local utils = import '../lib/utils.libsonnet';
208208
alert: 'CPUThrottlingHigh',
209209
expr: |||
210210
sum(increase(container_cpu_cfs_throttled_periods_total{container!="", %(cadvisorSelector)s, %(cpuThrottlingSelector)s}[5m])) without (id, metrics_path, name, image, endpoint, job, node)
211-
/ on (%(clusterLabel)s, %(namespaceLabel)s, pod, container) group_left
211+
/ on (%(clusterLabel)s, %(namespaceLabel)s, pod, container, instance) group_left
212212
sum(increase(container_cpu_cfs_periods_total{%(cadvisorSelector)s, %(cpuThrottlingSelector)s}[5m])) without (id, metrics_path, name, image, endpoint, job, node)
213213
> ( %(cpuThrottlingPercent)s / 100 )
214214
||| % $._config,

0 commit comments

Comments
 (0)