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/ssh-gateway.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
"id": 66,
28
"iteration": 1655363716055,
29
"links": [],
30
"liveNow": true,
31
"panels": [
32
{
33
"datasource": {
34
"type": "prometheus",
35
"uid": "${datasource}"
36
},
37
"description": "",
38
"fieldConfig": {
39
"defaults": {
40
"color": {
41
"mode": "palette-classic"
42
},
43
"custom": {
44
"axisLabel": "attempt/second",
45
"axisPlacement": "auto",
46
"barAlignment": 0,
47
"drawStyle": "line",
48
"fillOpacity": 0,
49
"gradientMode": "none",
50
"hideFrom": {
51
"legend": false,
52
"tooltip": false,
53
"viz": false
54
},
55
"lineInterpolation": "linear",
56
"lineWidth": 1,
57
"pointSize": 5,
58
"scaleDistribution": {
59
"type": "linear"
60
},
61
"showPoints": "auto",
62
"spanNulls": false,
63
"stacking": {
64
"group": "A",
65
"mode": "none"
66
},
67
"thresholdsStyle": {
68
"mode": "off"
69
}
70
},
71
"mappings": [],
72
"thresholds": {
73
"mode": "absolute",
74
"steps": [
75
{
76
"color": "green",
77
"value": null
78
},
79
{
80
"color": "red",
81
"value": 80
82
}
83
]
84
}
85
},
86
"overrides": []
87
},
88
"gridPos": {
89
"h": 8,
90
"w": 12,
91
"x": 0,
92
"y": 0
93
},
94
"id": 2,
95
"options": {
96
"legend": {
97
"calcs": [
98
"max",
99
"mean",
100
"min"
101
],
102
"displayMode": "table",
103
"placement": "bottom"
104
},
105
"tooltip": {
106
"mode": "single",
107
"sort": "none"
108
}
109
},
110
"targets": [
111
{
112
"datasource": {
113
"type": "prometheus",
114
"uid": "${datasource}"
115
},
116
"editorMode": "code",
117
"expr": "sum(rate(gitpod_ws_proxy_ssh_attempt_total{error_type!~\"OTHERS|WS_ID_INVALID\"}[2m]))",
118
"legendFormat": "rate",
119
"range": true,
120
"refId": "A"
121
}
122
],
123
"title": "Attempts",
124
"type": "timeseries"
125
},
126
{
127
"datasource": {
128
"type": "prometheus",
129
"uid": "${datasource}"
130
},
131
"description": "",
132
"fieldConfig": {
133
"defaults": {
134
"color": {
135
"mode": "palette-classic"
136
},
137
"custom": {
138
"axisLabel": "attempt/second",
139
"axisPlacement": "auto",
140
"barAlignment": 0,
141
"drawStyle": "line",
142
"fillOpacity": 0,
143
"gradientMode": "none",
144
"hideFrom": {
145
"legend": false,
146
"tooltip": false,
147
"viz": false
148
},
149
"lineInterpolation": "linear",
150
"lineWidth": 1,
151
"pointSize": 5,
152
"scaleDistribution": {
153
"type": "linear"
154
},
155
"showPoints": "auto",
156
"spanNulls": false,
157
"stacking": {
158
"group": "A",
159
"mode": "none"
160
},
161
"thresholdsStyle": {
162
"mode": "off"
163
}
164
},
165
"mappings": [],
166
"thresholds": {
167
"mode": "absolute",
168
"steps": [
169
{
170
"color": "green",
171
"value": null
172
},
173
{
174
"color": "red",
175
"value": 80
176
}
177
]
178
}
179
},
180
"overrides": []
181
},
182
"gridPos": {
183
"h": 8,
184
"w": 12,
185
"x": 12,
186
"y": 0
187
},
188
"id": 3,
189
"options": {
190
"legend": {
191
"calcs": [
192
"max",
193
"mean",
194
"min"
195
],
196
"displayMode": "table",
197
"placement": "right"
198
},
199
"tooltip": {
200
"mode": "single",
201
"sort": "none"
202
}
203
},
204
"targets": [
205
{
206
"datasource": {
207
"type": "prometheus",
208
"uid": "${datasource}"
209
},
210
"editorMode": "code",
211
"expr": "sum by (error_type) (rate(gitpod_ws_proxy_ssh_attempt_total{error_type=~\"OTHERS|WS_ID_INVALID\"}[2m]))",
212
"legendFormat": "__auto",
213
"range": true,
214
"refId": "A"
215
}
216
],
217
"title": "Suspicious attempts",
218
"type": "timeseries"
219
},
220
{
221
"datasource": {
222
"type": "prometheus",
223
"uid": "${datasource}"
224
},
225
"fieldConfig": {
226
"defaults": {
227
"color": {
228
"mode": "palette-classic"
229
},
230
"custom": {
231
"axisLabel": "",
232
"axisPlacement": "auto",
233
"barAlignment": 0,
234
"drawStyle": "bars",
235
"fillOpacity": 0,
236
"gradientMode": "none",
237
"hideFrom": {
238
"legend": false,
239
"tooltip": false,
240
"viz": false
241
},
242
"lineInterpolation": "linear",
243
"lineWidth": 1,
244
"pointSize": 5,
245
"scaleDistribution": {
246
"type": "linear"
247
},
248
"showPoints": "auto",
249
"spanNulls": false,
250
"stacking": {
251
"group": "A",
252
"mode": "none"
253
},
254
"thresholdsStyle": {
255
"mode": "off"
256
}
257
},
258
"mappings": [],
259
"thresholds": {
260
"mode": "absolute",
261
"steps": [
262
{
263
"color": "green",
264
"value": null
265
},
266
{
267
"color": "red",
268
"value": 80
269
}
270
]
271
},
272
"unit": "percentunit"
273
},
274
"overrides": []
275
},
276
"gridPos": {
277
"h": 8,
278
"w": 12,
279
"x": 0,
280
"y": 8
281
},
282
"id": 5,
283
"options": {
284
"legend": {
285
"calcs": [
286
"mean"
287
],
288
"displayMode": "table",
289
"placement": "bottom"
290
},
291
"tooltip": {
292
"mode": "single",
293
"sort": "none"
294
}
295
},
296
"targets": [
297
{
298
"datasource": {
299
"type": "prometheus",
300
"uid": "${datasource}"
301
},
302
"editorMode": "code",
303
"expr": "sum(rate(gitpod_ws_proxy_ssh_attempt_total{error_type!~\"WS_ID_INVALID|OTHERS\",status=\"failed\"}[2m]))/sum(rate(gitpod_ws_proxy_ssh_attempt_total{error_type!~\"WS_ID_INVALID|OTHERS\"}[2m]))",
304
"legendFormat": "total ratio",
305
"range": true,
306
"refId": "A"
307
}
308
],
309
"title": "Failures",
310
"type": "timeseries"
311
},
312
{
313
"datasource": {
314
"type": "prometheus",
315
"uid": "${datasource}"
316
},
317
"fieldConfig": {
318
"defaults": {
319
"color": {
320
"mode": "palette-classic"
321
},
322
"custom": {
323
"axisLabel": "",
324
"axisPlacement": "auto",
325
"barAlignment": 0,
326
"drawStyle": "bars",
327
"fillOpacity": 0,
328
"gradientMode": "none",
329
"hideFrom": {
330
"legend": false,
331
"tooltip": false,
332
"viz": false
333
},
334
"lineInterpolation": "linear",
335
"lineWidth": 1,
336
"pointSize": 5,
337
"scaleDistribution": {
338
"type": "linear"
339
},
340
"showPoints": "auto",
341
"spanNulls": false,
342
"stacking": {
343
"group": "A",
344
"mode": "none"
345
},
346
"thresholdsStyle": {
347
"mode": "off"
348
}
349
},
350
"mappings": [],
351
"thresholds": {
352
"mode": "absolute",
353
"steps": [
354
{
355
"color": "green",
356
"value": null
357
},
358
{
359
"color": "red",
360
"value": 80
361
}
362
]
363
},
364
"unit": "percentunit"
365
},
366
"overrides": []
367
},
368
"gridPos": {
369
"h": 8,
370
"w": 12,
371
"x": 12,
372
"y": 8
373
},
374
"id": 6,
375
"options": {
376
"legend": {
377
"calcs": [
378
"mean"
379
],
380
"displayMode": "table",
381
"placement": "right"
382
},
383
"tooltip": {
384
"mode": "single",
385
"sort": "none"
386
}
387
},
388
"targets": [
389
{
390
"datasource": {
391
"type": "prometheus",
392
"uid": "${datasource}"
393
},
394
"editorMode": "code",
395
"expr": "sum by (error_type) (rate(gitpod_ws_proxy_ssh_attempt_total{error_type!~\"WS_ID_INVALID|OTHERS\",status=\"failed\"}[2m]))/sum(rate(gitpod_ws_proxy_ssh_attempt_total{error_type!~\"WS_ID_INVALID|OTHERS\"}[2m]))",
396
"legendFormat": "__auto",
397
"range": true,
398
"refId": "A"
399
}
400
],
401
"title": "Errors",
402
"type": "timeseries"
403
}
404
],
405
"refresh": "30s",
406
"schemaVersion": 36,
407
"style": "dark",
408
"tags": [],
409
"templating": {
410
"list": [
411
{
412
"current": {
413
"selected": false,
414
"text": "VictoriaMetrics",
415
"value": "VictoriaMetrics"
416
},
417
"hide": 0,
418
"includeAll": false,
419
"multi": false,
420
"name": "datasource",
421
"options": [],
422
"query": "prometheus",
423
"refresh": 1,
424
"regex": "",
425
"skipUrlSync": false,
426
"type": "datasource"
427
}
428
]
429
},
430
"time": {
431
"from": "now-6h",
432
"to": "now"
433
},
434
"timepicker": {},
435
"timezone": "",
436
"title": "SSH Gateway Overview",
437
"uid": "3oan1Zr7k",
438
"version": 6,
439
"weekStart": ""
440
}
441
442