Skip to content

Commit 70e362b

Browse files
authored
fix: lint failure on CPUThrottlingHigh alert (#986)
1 parent 78fba74 commit 70e362b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.pint.hcl

Lines changed: 0 additions & 3 deletions
This file was deleted.

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-
/
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)