Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/operations/observability/mixins/meta/dashboards/components/server-garbage-collector.json
2501 views
1
{
2
"annotations": {
3
"list": [
4
{
5
"builtIn": 1,
6
"datasource": {
7
"type": "grafana",
8
"uid": "-- Grafana --"
9
},
10
"enable": true,
11
"hide": true,
12
"iconColor": "rgba(0, 211, 255, 1)",
13
"name": "Annotations & Alerts",
14
"target": {
15
"limit": 100,
16
"matchAny": false,
17
"tags": [],
18
"type": "dashboard"
19
},
20
"type": "dashboard"
21
}
22
]
23
},
24
"description": "Dashboard showing periodic garbage collection of DB records",
25
"editable": true,
26
"fiscalYearStartMonth": 0,
27
"graphTooltip": 1,
28
"links": [],
29
"liveNow": false,
30
"panels": [
31
{
32
"collapsed": false,
33
"gridPos": {
34
"h": 1,
35
"w": 24,
36
"x": 0,
37
"y": 0
38
},
39
"id": 4,
40
"panels": [],
41
"title": "Records purged",
42
"type": "row"
43
},
44
{
45
"datasource": {
46
"type": "prometheus",
47
"uid": "${datasource}"
48
},
49
"description": "Number of Workspace records purged in the last 1h",
50
"fieldConfig": {
51
"defaults": {
52
"color": {
53
"mode": "palette-classic"
54
},
55
"custom": {
56
"axisCenteredZero": false,
57
"axisColorMode": "text",
58
"axisLabel": "",
59
"axisPlacement": "auto",
60
"barAlignment": 0,
61
"drawStyle": "line",
62
"fillOpacity": 0,
63
"gradientMode": "none",
64
"hideFrom": {
65
"legend": false,
66
"tooltip": false,
67
"viz": false
68
},
69
"lineInterpolation": "linear",
70
"lineWidth": 1,
71
"pointSize": 5,
72
"scaleDistribution": {
73
"type": "linear"
74
},
75
"showPoints": "auto",
76
"spanNulls": false,
77
"stacking": {
78
"group": "A",
79
"mode": "none"
80
},
81
"thresholdsStyle": {
82
"mode": "off"
83
}
84
},
85
"mappings": [],
86
"thresholds": {
87
"mode": "absolute",
88
"steps": [
89
{
90
"color": "green",
91
"value": null
92
},
93
{
94
"color": "red",
95
"value": 80
96
}
97
]
98
}
99
},
100
"overrides": []
101
},
102
"gridPos": {
103
"h": 9,
104
"w": 12,
105
"x": 0,
106
"y": 1
107
},
108
"id": 2,
109
"options": {
110
"legend": {
111
"calcs": [],
112
"displayMode": "list",
113
"placement": "bottom",
114
"showLegend": true
115
},
116
"tooltip": {
117
"mode": "single",
118
"sort": "none"
119
}
120
},
121
"targets": [
122
{
123
"datasource": {
124
"type": "prometheus",
125
"uid": "${datasource}"
126
},
127
"editorMode": "code",
128
"expr": "sum(increase(gitpod_server_workspaces_purged_total[1h]))",
129
"legendFormat": "__auto",
130
"range": true,
131
"refId": "A"
132
}
133
],
134
"title": "Workspaces purged [1h]",
135
"type": "timeseries"
136
},
137
{
138
"datasource": {
139
"type": "prometheus",
140
"uid": "${datasource}"
141
},
142
"description": "Number of Workspace Instance records purged in the last 1h",
143
"fieldConfig": {
144
"defaults": {
145
"color": {
146
"mode": "palette-classic"
147
},
148
"custom": {
149
"axisCenteredZero": false,
150
"axisColorMode": "text",
151
"axisLabel": "",
152
"axisPlacement": "auto",
153
"barAlignment": 0,
154
"drawStyle": "line",
155
"fillOpacity": 0,
156
"gradientMode": "none",
157
"hideFrom": {
158
"legend": false,
159
"tooltip": false,
160
"viz": false
161
},
162
"lineInterpolation": "linear",
163
"lineWidth": 1,
164
"pointSize": 5,
165
"scaleDistribution": {
166
"type": "linear"
167
},
168
"showPoints": "auto",
169
"spanNulls": false,
170
"stacking": {
171
"group": "A",
172
"mode": "none"
173
},
174
"thresholdsStyle": {
175
"mode": "off"
176
}
177
},
178
"mappings": [],
179
"thresholds": {
180
"mode": "absolute",
181
"steps": [
182
{
183
"color": "green",
184
"value": null
185
},
186
{
187
"color": "red",
188
"value": 80
189
}
190
]
191
}
192
},
193
"overrides": []
194
},
195
"gridPos": {
196
"h": 9,
197
"w": 12,
198
"x": 12,
199
"y": 1
200
},
201
"id": 7,
202
"options": {
203
"legend": {
204
"calcs": [],
205
"displayMode": "list",
206
"placement": "bottom",
207
"showLegend": true
208
},
209
"tooltip": {
210
"mode": "single",
211
"sort": "none"
212
}
213
},
214
"targets": [
215
{
216
"datasource": {
217
"type": "prometheus",
218
"uid": "${datasource}"
219
},
220
"editorMode": "code",
221
"expr": "sum(increase(gitpod_server_workspace_instances_purged_total[1h]))",
222
"legendFormat": "__auto",
223
"range": true,
224
"refId": "A"
225
}
226
],
227
"title": "Workspace Instances purged [1h]",
228
"type": "timeseries"
229
},
230
{
231
"datasource": {
232
"type": "prometheus",
233
"uid": "${datasource}"
234
},
235
"description": "Number of Prebuilt Workspace records purged in the last 1h",
236
"fieldConfig": {
237
"defaults": {
238
"color": {
239
"mode": "palette-classic"
240
},
241
"custom": {
242
"axisCenteredZero": false,
243
"axisColorMode": "text",
244
"axisLabel": "",
245
"axisPlacement": "auto",
246
"barAlignment": 0,
247
"drawStyle": "line",
248
"fillOpacity": 0,
249
"gradientMode": "none",
250
"hideFrom": {
251
"legend": false,
252
"tooltip": false,
253
"viz": false
254
},
255
"lineInterpolation": "linear",
256
"lineWidth": 1,
257
"pointSize": 5,
258
"scaleDistribution": {
259
"type": "linear"
260
},
261
"showPoints": "auto",
262
"spanNulls": false,
263
"stacking": {
264
"group": "A",
265
"mode": "none"
266
},
267
"thresholdsStyle": {
268
"mode": "off"
269
}
270
},
271
"mappings": [],
272
"thresholds": {
273
"mode": "absolute",
274
"steps": [
275
{
276
"color": "green",
277
"value": null
278
},
279
{
280
"color": "red",
281
"value": 80
282
}
283
]
284
}
285
},
286
"overrides": []
287
},
288
"gridPos": {
289
"h": 9,
290
"w": 12,
291
"x": 0,
292
"y": 10
293
},
294
"id": 5,
295
"options": {
296
"legend": {
297
"calcs": [],
298
"displayMode": "list",
299
"placement": "bottom",
300
"showLegend": true
301
},
302
"tooltip": {
303
"mode": "single",
304
"sort": "none"
305
}
306
},
307
"targets": [
308
{
309
"datasource": {
310
"type": "prometheus",
311
"uid": "${datasource}"
312
},
313
"editorMode": "code",
314
"expr": "sum(increase(gitpod_server_prebuild_workspaces_purged_total[1h]))",
315
"legendFormat": "__auto",
316
"range": true,
317
"refId": "A"
318
}
319
],
320
"title": "Prebuilt Workspaces purged [1h]",
321
"type": "timeseries"
322
},
323
{
324
"datasource": {
325
"type": "prometheus",
326
"uid": "${datasource}"
327
},
328
"description": "Number of Prebuilt Info records purged in the last 1h",
329
"fieldConfig": {
330
"defaults": {
331
"color": {
332
"mode": "palette-classic"
333
},
334
"custom": {
335
"axisCenteredZero": false,
336
"axisColorMode": "text",
337
"axisLabel": "",
338
"axisPlacement": "auto",
339
"barAlignment": 0,
340
"drawStyle": "line",
341
"fillOpacity": 0,
342
"gradientMode": "none",
343
"hideFrom": {
344
"legend": false,
345
"tooltip": false,
346
"viz": false
347
},
348
"lineInterpolation": "linear",
349
"lineWidth": 1,
350
"pointSize": 5,
351
"scaleDistribution": {
352
"type": "linear"
353
},
354
"showPoints": "auto",
355
"spanNulls": false,
356
"stacking": {
357
"group": "A",
358
"mode": "none"
359
},
360
"thresholdsStyle": {
361
"mode": "off"
362
}
363
},
364
"mappings": [],
365
"thresholds": {
366
"mode": "absolute",
367
"steps": [
368
{
369
"color": "green",
370
"value": null
371
},
372
{
373
"color": "red",
374
"value": 80
375
}
376
]
377
}
378
},
379
"overrides": []
380
},
381
"gridPos": {
382
"h": 9,
383
"w": 12,
384
"x": 12,
385
"y": 10
386
},
387
"id": 6,
388
"options": {
389
"legend": {
390
"calcs": [],
391
"displayMode": "list",
392
"placement": "bottom",
393
"showLegend": true
394
},
395
"tooltip": {
396
"mode": "single",
397
"sort": "none"
398
}
399
},
400
"targets": [
401
{
402
"datasource": {
403
"type": "prometheus",
404
"uid": "${datasource}"
405
},
406
"editorMode": "code",
407
"expr": "sum(increase(gitpod_server_prebuild_info_purged_total[1h]))",
408
"legendFormat": "__auto",
409
"range": true,
410
"refId": "A"
411
}
412
],
413
"title": "Prebuilt Info purged [1h]",
414
"type": "timeseries"
415
},
416
{
417
"datasource": {
418
"type": "prometheus",
419
"uid": "${datasource}"
420
},
421
"description": "Number of Prebuilt WorkspaceUpdatable records purged in the last 1h",
422
"fieldConfig": {
423
"defaults": {
424
"color": {
425
"mode": "palette-classic"
426
},
427
"custom": {
428
"axisCenteredZero": false,
429
"axisColorMode": "text",
430
"axisLabel": "",
431
"axisPlacement": "auto",
432
"barAlignment": 0,
433
"drawStyle": "line",
434
"fillOpacity": 0,
435
"gradientMode": "none",
436
"hideFrom": {
437
"legend": false,
438
"tooltip": false,
439
"viz": false
440
},
441
"lineInterpolation": "linear",
442
"lineWidth": 1,
443
"pointSize": 5,
444
"scaleDistribution": {
445
"type": "linear"
446
},
447
"showPoints": "auto",
448
"spanNulls": false,
449
"stacking": {
450
"group": "A",
451
"mode": "none"
452
},
453
"thresholdsStyle": {
454
"mode": "off"
455
}
456
},
457
"mappings": [],
458
"thresholds": {
459
"mode": "absolute",
460
"steps": [
461
{
462
"color": "green",
463
"value": null
464
},
465
{
466
"color": "red",
467
"value": 80
468
}
469
]
470
}
471
},
472
"overrides": []
473
},
474
"gridPos": {
475
"h": 9,
476
"w": 12,
477
"x": 0,
478
"y": 19
479
},
480
"id": 8,
481
"options": {
482
"legend": {
483
"calcs": [],
484
"displayMode": "list",
485
"placement": "bottom",
486
"showLegend": true
487
},
488
"tooltip": {
489
"mode": "single",
490
"sort": "none"
491
}
492
},
493
"targets": [
494
{
495
"datasource": {
496
"type": "prometheus",
497
"uid": "${datasource}"
498
},
499
"editorMode": "code",
500
"expr": "sum(increase(gitpod_server_prebuilt_workspace_updatable_purged_total[1h]))",
501
"legendFormat": "__auto",
502
"range": true,
503
"refId": "A"
504
}
505
],
506
"title": "Prebuilt Workspace Updatable purged [1h]",
507
"type": "timeseries"
508
}
509
],
510
"schemaVersion": 37,
511
"style": "dark",
512
"tags": [
513
"webapp",
514
"server"
515
],
516
"templating": {
517
"list": [{
518
"current": {
519
"selected": false,
520
"text": "VictoriaMetrics",
521
"value": "VictoriaMetrics"
522
},
523
"hide": 0,
524
"includeAll": false,
525
"multi": false,
526
"name": "datasource",
527
"options": [],
528
"query": "prometheus",
529
"refresh": 1,
530
"regex": "",
531
"skipUrlSync": false,
532
"type": "datasource"
533
}]
534
},
535
"time": {
536
"from": "now-6h",
537
"to": "now"
538
},
539
"timepicker": {
540
"refresh_intervals": [
541
"30s",
542
"1m",
543
"5m",
544
"15m",
545
"30m",
546
"1h",
547
"2h",
548
"1d"
549
]
550
},
551
"timezone": "utc",
552
"title": "Components / server / garbage collection",
553
"version": 0,
554
"weekStart": "monday"
555
}
556
557