Skip to content

Commit a02a5d9

Browse files
easyCZroboquat
authored andcommitted
[alert] Page on failing workspace starts
1 parent 1c9857b commit a02a5d9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

operations/observability/mixins/meta/rules/server.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,14 @@ spec:
123123
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/WebAppServicesCrashlooping.md
124124
summary: Pod is crash looping in {{ $labels.cluster }}.
125125
description: Pod {{ $labels.namespace }}/{{ $labels.pod }} ({{ $labels.container }}) is restarting {{ printf "%.2f" $value }} times / 5 minutes
126+
127+
- alert: StartWorkspace_InternalErrors
128+
expr: sum(increase(gitpod_server_api_calls_total{method="startWorkspace", statusCode=~"5.*"}[1m])) by (cluster) > 5
129+
for: 5m
130+
labels:
131+
severity: critical
132+
team: webapp
133+
annotations:
134+
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/StartWorkspace_InternalErrors.md
135+
summary: Failing to start workspaces in {{ $labels.cluster }}.
136+
description: Server is failed to start {{ printf "%.2f" $value }} workspaces in {{ $labels.cluster }} in the last 5 minutes

0 commit comments

Comments
 (0)