File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
operations/observability/mixins/meta/rules/components/server Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 49
49
description: 'Server cannot start workspace instances on workspace clusters.' ,
50
50
},
51
51
},
52
+ // Rollout alerts
53
+ {
54
+ alert: 'JsonRpcApiErrorRates' ,
55
+ // Reasoning: the values are taken from past data
56
+ expr: 'sum (rate(gitpod_server_api_calls_total{statusCode!~"2..|429"}[5m])) / sum(rate(gitpod_server_api_calls_total[5m])) > 0.04' ,
57
+ 'for' : '5m' ,
58
+ labels: {
59
+ // sent to the team internal channel until we fine tuned it
60
+ severity: 'warning' ,
61
+ team: 'webapp'
62
+ },
63
+ annotations: {
64
+ runbook_url: 'https://github.com/gitpod-io/runbooks/blob/main/runbooks/GitpodApiErrorRate.md' ,
65
+ summary: 'The error rate of the JSON RPC API is high. Investigation required.' ,
66
+ description: 'JSON RPC API error rate high' ,
67
+ },
68
+ },
52
69
],
53
70
},
54
71
],
You can’t perform that action at this time.
0 commit comments