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