Skip to content

Commit ea6e627

Browse files
committed
[ops] add Slack alert for GitpodImageBuilderMk3InternalErrors
1 parent 253dac6 commit ea6e627

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

operations/observability/mixins/workspace/rules/central/image-builder.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,15 @@ spec:
6262
expr: |
6363
kube_deployment_status_replicas_unavailable{deployment="image-builder-mk3", cluster!~"ephemeral.*"} > 0
6464
for: 10m
65+
- alert: GitpodImageBuilderMk3InternalErrors
66+
labels:
67+
severity: error
68+
dedicated: included
69+
annotations:
70+
# runbook is 404 for now
71+
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodImageBuilderMk3InternalErrors.md
72+
summary: image-builder-mk3 is returning unexpected internal errors
73+
description: 'Check the logs for image-builder-mk3 to inspect the high rate: {{ printf "%.2f" $value }}'
74+
expr: |
75+
sum by() (rate(grpc_server_handled_total{service="image-builder-mk3", grpc_code=~"Internal", grpc_method="Build"}[1h])) > 0.001
76+
for: 1h

0 commit comments

Comments
 (0)