Skip to content

Commit 297eb40

Browse files
committed
[ops] Introduce GitpodWsManagerMk2BackupFailureError and GitpodWsManagerMk2BackupFailureCritical
1 parent 1accbd9 commit 297eb40

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,25 @@ spec:
4545
sum by(cluster) (avg_over_time(gitpod_workspace_regular_not_active_percentage_mk2[1m]) > 0)
4646
AND
4747
sum by(cluster) (rate(gitpod_ws_manager_mk2_workspace_startup_seconds_sum{type="Regular"}[1m])) == 0
48+
- alert: GitpodWsManagerMk2BackupFailureError
49+
labels:
50+
severity: error
51+
team: engine
52+
for: 1h
53+
annotations:
54+
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/WorkspaceBackupFailures.md
55+
summary: Workspace backups failed recently in cluster {{ $labels.cluster }}
56+
description: This can happen when a single node has failed in the cloud provider
57+
expr: |
58+
sum by (cluster) (increase(gitpod_ws_manager_mk2_workspace_backups_failure_total{cluster!~"ephemeral.*"}[1h])) <= 16
59+
- alert: GitpodWsManagerMk2BackupFailureCritical
60+
labels:
61+
severity: critical
62+
team: engine
63+
for: 1h
64+
annotations:
65+
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/WorkspaceBackupFailures.md
66+
summary: Workspace backups failed recently in cluster {{ $labels.cluster }}
67+
description: This can be an indicator of two or more nodes failing in a cloud provider
68+
expr: |
69+
sum by (cluster) (increase(gitpod_ws_manager_mk2_workspace_backups_failure_total{cluster!~"ephemeral.*"}[1h])) > 16

0 commit comments

Comments
 (0)