Skip to content

Commit 3ff9173

Browse files
This adds an alert for GitpodWorkspaceHighStartFailureRate (#19099)
1 parent 41a89f3 commit 3ff9173

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

operations/observability/mixins/workspace/rules/central/workspaces.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,18 @@ spec:
2828
gitpod_ws_manager_mk2_workspace_phase_total{type="Regular", phase="Stopping", cluster!~"ephemeral.*"}
2929
) without(phase) > 15
3030
31+
- alert: GitpodWorkspaceHighStartFailureRate
32+
labels:
33+
severity: critical
34+
dedicated: included
35+
annotations:
36+
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodWorkspaceHighFailureRate.md
37+
summary: Workspaces are failing to start in cluster {{ $labels.cluster }}.
38+
description: For the last 15 minutes more than 20% of hew workspaces have failed to start
39+
for: 15m
40+
expr: |
41+
sum(increase(gitpod_ws_manager_mk2_workspace_starts_failure_total{type="Regular", cluster!~"ephemeral.*"}[5m])) by (cluster) / sum(increase(gitpod_ws_manager_mk2_workspace_starts_total{type="Regular", cluster!~"ephemeral.*"}[5m])) by (cluster) > 0.2
42+
3143
- alert: GitpodWorkspaceHighFailureRateMk2
3244
labels:
3345
severity: critical

0 commit comments

Comments
 (0)