File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed
operations/observability/mixins/workspace/rules/components/ws-daemon Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 23
23
increase(kube_pod_container_status_restarts_total{container="ws-daemon"}[10m]) > 0
24
24
||| ,
25
25
},
26
+ {
27
+ alert: 'GitpodWsDaemonExcessiveGC' ,
28
+ labels: {
29
+ severity: 'warning' ,
30
+ },
31
+ annotations: {
32
+ runbook_url: '' ,
33
+ summary: 'Ws-daemon is doing excessive garbage collection.' ,
34
+ description: 'Ws-daemon has excessive garbage collection time. Collecting garbage for more than 1 second.' ,
35
+ },
36
+ expr: |||
37
+ go_gc_duration_seconds{job="ws-daemon", quantile="1"} > 1
38
+ ||| ,
39
+ },
40
+ {
41
+ alert: 'GitpodWsDaemonExcessiveGC' ,
42
+ labels: {
43
+ severity: 'critical' ,
44
+ },
45
+ annotations: {
46
+ runbook_url: '' ,
47
+ summary: 'Ws-daemon is doing excessive garbage collection.' ,
48
+ description: 'Ws-daemon has excessive garbage collection time. Collecting garbage for more than 1 minute.' ,
49
+ },
50
+ expr: |||
51
+ go_gc_duration_seconds{job="ws-daemon", quantile="1"} > 60
52
+ ||| ,
53
+ },
26
54
],
27
55
},
28
56
],
29
57
},
30
- }
58
+ }
You can’t perform that action at this time.
0 commit comments