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