Skip to content

Commit a2196d1

Browse files
authored
Merge pull request #752 from phillebaba/fix/multi-cluster
Fix KubeletPodStartUpLatencyHigh to work with multiple clusters
2 parents 0f0f3dc + cb44926 commit a2196d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alerts/kubelet.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
{
101101
alert: 'KubeletPodStartUpLatencyHigh',
102102
expr: |||
103-
histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{%(kubeletSelector)s}[5m])) by (instance, le)) * on(instance) group_left(node) kubelet_node_name{%(kubeletSelector)s} > 60
103+
histogram_quantile(0.99, sum(rate(kubelet_pod_worker_duration_seconds_bucket{%(kubeletSelector)s}[5m])) by (%(clusterLabel)s, instance, le)) * on(%(clusterLabel)s, instance) group_left(node) kubelet_node_name{%(kubeletSelector)s} > 60
104104
||| % $._config,
105105
'for': '15m',
106106
labels: {

0 commit comments

Comments
 (0)