Skip to content

Commit

Permalink
fix: lint failure on CPUThrottlingHigh alert
Browse files Browse the repository at this point in the history
  • Loading branch information
skl committed Nov 7, 2024
1 parent bdbf7f4 commit 95547a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alerts/resource_alerts.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
alert: 'CPUThrottlingHigh',
expr: |||
sum(increase(container_cpu_cfs_throttled_periods_total{container!="", %(cadvisorSelector)s, %(cpuThrottlingSelector)s}[5m])) without (id, metrics_path, name, image, endpoint, job, node)
/
/ on (%(clusterLabel)s, %(namespaceLabel)s, pod, container) group_left
sum(increase(container_cpu_cfs_periods_total{%(cadvisorSelector)s, %(cpuThrottlingSelector)s}[5m])) without (id, metrics_path, name, image, endpoint, job, node)
> ( %(cpuThrottlingPercent)s / 100 )
||| % $._config,
Expand Down

0 comments on commit 95547a6

Please sign in to comment.