Skip to content

Commit 9bd532b

Browse files
authored
add GitpodV1APIServerErrors alert (#19212)
1 parent bb2473e commit 9bd532b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,19 @@ spec:
5757
summary: The error rate of the JSON RPC API is high on {{ $labels.cluster }}. Investigation required.
5858
description: JSON RPC API error rate high
5959

60+
- alert: GitpodV1APIServerErrors
61+
expr: sum(rate(grpc_server_handled_total{grpc_code=~"Internal|Unknown|DataLoss", grpc_service=~"gitpod.v1.*"}[5m])) by (cluster) / sum(rate(grpc_server_handled_total{grpc_service=~"gitpod.v1.*"}[5m])) by (cluster) > 0.01
62+
for: 5m
63+
labels:
64+
severity: critical
65+
team: webapp
66+
dedicated: included
67+
annotations:
68+
runbook_url: https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodV1APIServerErrors.md
69+
summary: gitpod.v1 API is returning higher number of errors on {{ $labels.cluster }}. Investigation required.
70+
description: gitpod.v1 API is returning higher number of errors
71+
72+
6073
- alert: WebsocketConnectionRateHigh
6174
# Reasoning: the values are taken from past data
6275
expr: sum(rate(gitpod_server_api_connections_total[2m])) by (pod) > 5

0 commit comments

Comments
 (0)