diff --git a/.pint.hcl b/.pint.hcl deleted file mode 100644 index 4a3b44785..000000000 --- a/.pint.hcl +++ /dev/null @@ -1,3 +0,0 @@ -checks { - disabled = ["promql/fragile"] -} diff --git a/alerts/resource_alerts.libsonnet b/alerts/resource_alerts.libsonnet index 75abb51af..ca98454b2 100644 --- a/alerts/resource_alerts.libsonnet +++ b/alerts/resource_alerts.libsonnet @@ -208,7 +208,7 @@ local utils = import '../lib/utils.libsonnet'; 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, instance) 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,