Skip to content

Commit

Permalink
edit high memory alert
Browse files Browse the repository at this point in the history
  • Loading branch information
ssb-jnk committed Jan 10, 2025
1 parent 772643d commit 3ae7013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .nais/alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:

# This alert checks if memory usage exceeds 90% of the memory limit assigned to the pseudo-service pod.
- alert: HighMemoryUsage
expr: process_resident_memory_bytes{app="pseudo-service"} > (0.9 * on(pod, namespace) group_left kube_pod_container_resource_limits_memory_bytes{pod=~"pseudo-service.*"})
expr: process_resident_memory_bytes{app="pseudo-service"} > (0.9 * on(app) group_left(container_memory_limit_bytes) container_memory_limit_bytes{app="pseudo-service"})
for: 5m
annotations:
title: "High memory usage detected"
Expand Down

0 comments on commit 3ae7013

Please sign in to comment.