Skip to content

Commit

Permalink
[alerts] group by cluster for the NodePoolLoad alert (#18663)
Browse files Browse the repository at this point in the history
  • Loading branch information
vulkoingim authored Sep 6, 2023
1 parent 882ac56 commit bcfa933
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ spec:
summary: Node pool load has been high for too long for 4 or more nodes
description: Node pool {{ $labels.nodepool }} in cluster {{ $labels.cluster }} has high, sustained load
expr: |
sum by(nodepool) (count by(node, nodepool) (sum by(node, nodepool) (nodepool:node_load1:normalized{nodepool=~".*workspace.*", cluster!~"ephemeral.*"}) >= 1)) >= 4
sum by(nodepool, cluster) (count by(node, nodepool, cluster) (sum by(node, nodepool, cluster) (nodepool:node_load1:normalized{nodepool=~".*workspace.*", cluster!~"ephemeral.*"}) >= 1)) >= 4

0 comments on commit bcfa933

Please sign in to comment.