Skip to content

Commit 95547a6

Browse files
committed
fix: lint failure on CPUThrottlingHigh alert
1 parent bdbf7f4 commit 95547a6

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
@@ -200,7 +200,7 @@
200200
alert: 'CPUThrottlingHigh',
201201
expr: |||
202202
sum(increase(container_cpu_cfs_throttled_periods_total{container!="", %(cadvisorSelector)s, %(cpuThrottlingSelector)s}[5m])) without (id, metrics_path, name, image, endpoint, job, node)
203-
/
203+
/ on (%(clusterLabel)s, %(namespaceLabel)s, pod, container) group_left
204204
sum(increase(container_cpu_cfs_periods_total{%(cadvisorSelector)s, %(cpuThrottlingSelector)s}[5m])) without (id, metrics_path, name, image, endpoint, job, node)
205205
> ( %(cpuThrottlingPercent)s / 100 )
206206
||| % $._config,

0 commit comments

Comments
 (0)