Skip to content
Snippets Groups Projects
Verified Commit 5aecfa4d authored by David Hoese's avatar David Hoese
Browse files

Fix prometheus checks for geosphere pod restarts

parent 1edc27af
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,7 @@ spec:
- name: geosphere-basic.rules
rules:
- alert: GeoSphereTooManyRestarts
expr: changes(process_start_time_seconds{job=~"geosphere"}[15m]) > 2
expr: changes(kube_pod_container_status_restarts_total{pod=~".*(geosphere|cspp).*"}[15m]) > 2
for: 5m
labels:
severity: warning
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment