Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/operations/observability/mixins/workspace/dashboards/network-limiting.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": "Shows statistics about network limiting",
25
"editable": true,
26
"fiscalYearStartMonth": 0,
27
"graphTooltip": 0,
28
"links": [],
29
"liveNow": false,
30
"panels": [
31
{
32
"datasource": {
33
"type": "prometheus",
34
"uid": "${datasource}"
35
},
36
"fieldConfig": {
37
"defaults": {
38
"color": {
39
"mode": "palette-classic"
40
},
41
"custom": {
42
"axisCenteredZero": false,
43
"axisColorMode": "text",
44
"axisLabel": "",
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": 9,
90
"w": 12,
91
"x": 0,
92
"y": 0
93
},
94
"id": 2,
95
"options": {
96
"legend": {
97
"calcs": [],
98
"displayMode": "list",
99
"placement": "bottom",
100
"showLegend": true
101
},
102
"tooltip": {
103
"mode": "single",
104
"sort": "none"
105
}
106
},
107
"targets": [
108
{
109
"datasource": {
110
"type": "prometheus",
111
"uid": "${datasource}"
112
},
113
"editorMode": "code",
114
"expr": "sum(gitpod_ws_daemon_netlimit_connections_dropped_packets{node=~\"$node\", workspace=~\"$workspace\"}) by(node, workspace)",
115
"legendFormat": "{{workspace}}",
116
"range": true,
117
"refId": "A"
118
}
119
],
120
"title": "Dropped packets",
121
"type": "timeseries"
122
},
123
{
124
"datasource": {
125
"type": "prometheus",
126
"uid": "${datasource}"
127
},
128
"fieldConfig": {
129
"defaults": {
130
"color": {
131
"mode": "palette-classic"
132
},
133
"custom": {
134
"axisCenteredZero": false,
135
"axisColorMode": "text",
136
"axisLabel": "",
137
"axisPlacement": "auto",
138
"barAlignment": 0,
139
"drawStyle": "line",
140
"fillOpacity": 0,
141
"gradientMode": "none",
142
"hideFrom": {
143
"legend": false,
144
"tooltip": false,
145
"viz": false
146
},
147
"lineInterpolation": "linear",
148
"lineWidth": 1,
149
"pointSize": 5,
150
"scaleDistribution": {
151
"type": "linear"
152
},
153
"showPoints": "auto",
154
"spanNulls": false,
155
"stacking": {
156
"group": "A",
157
"mode": "none"
158
},
159
"thresholdsStyle": {
160
"mode": "off"
161
}
162
},
163
"mappings": [],
164
"thresholds": {
165
"mode": "absolute",
166
"steps": [
167
{
168
"color": "green",
169
"value": null
170
},
171
{
172
"color": "red",
173
"value": 80
174
}
175
]
176
}
177
},
178
"overrides": []
179
},
180
"gridPos": {
181
"h": 9,
182
"w": 12,
183
"x": 12,
184
"y": 0
185
},
186
"id": 4,
187
"options": {
188
"legend": {
189
"calcs": [],
190
"displayMode": "list",
191
"placement": "bottom",
192
"showLegend": true
193
},
194
"tooltip": {
195
"mode": "single",
196
"sort": "none"
197
}
198
},
199
"targets": [
200
{
201
"datasource": {
202
"type": "prometheus",
203
"uid": "${datasource}"
204
},
205
"editorMode": "code",
206
"expr": "sum(gitpod_ws_daemon_netlimit_connections_dropped_bytes{node=~\"$node\", workspace=~\"$workspace\"}) by (node, workspace)",
207
"legendFormat": "{{workspace}}",
208
"range": true,
209
"refId": "A"
210
}
211
],
212
"title": "Dropped bytes",
213
"type": "timeseries"
214
},
215
{
216
"datasource": {
217
"type": "prometheus",
218
"uid": "${datasource}"
219
},
220
"fieldConfig": {
221
"defaults": {
222
"color": {
223
"mode": "palette-classic"
224
},
225
"custom": {
226
"axisCenteredZero": false,
227
"axisColorMode": "text",
228
"axisLabel": "",
229
"axisPlacement": "auto",
230
"barAlignment": 0,
231
"drawStyle": "line",
232
"fillOpacity": 0,
233
"gradientMode": "none",
234
"hideFrom": {
235
"legend": false,
236
"tooltip": false,
237
"viz": false
238
},
239
"lineInterpolation": "linear",
240
"lineWidth": 1,
241
"pointSize": 5,
242
"scaleDistribution": {
243
"type": "linear"
244
},
245
"showPoints": "auto",
246
"spanNulls": false,
247
"stacking": {
248
"group": "A",
249
"mode": "none"
250
},
251
"thresholdsStyle": {
252
"mode": "off"
253
}
254
},
255
"mappings": [],
256
"thresholds": {
257
"mode": "absolute",
258
"steps": [
259
{
260
"color": "green",
261
"value": null
262
},
263
{
264
"color": "red",
265
"value": 80
266
}
267
]
268
}
269
},
270
"overrides": []
271
},
272
"gridPos": {
273
"h": 8,
274
"w": 12,
275
"x": 0,
276
"y": 9
277
},
278
"id": 6,
279
"options": {
280
"legend": {
281
"calcs": [],
282
"displayMode": "list",
283
"placement": "bottom",
284
"showLegend": true
285
},
286
"tooltip": {
287
"mode": "single",
288
"sort": "none"
289
}
290
},
291
"targets": [
292
{
293
"datasource": {
294
"type": "prometheus",
295
"uid": "${datasource}"
296
},
297
"editorMode": "code",
298
"expr": "sum(rate(gitpod_ws_daemon_netlimit_connections_dropped_packets[1m])) by(workspace) != 0",
299
"legendFormat": "__auto",
300
"range": true,
301
"refId": "A"
302
}
303
],
304
"title": "Overview",
305
"type": "timeseries"
306
}
307
],
308
"schemaVersion": 37,
309
"style": "dark",
310
"tags": [],
311
"templating": {
312
"list": [
313
{
314
"current": {
315
"selected": false,
316
"text": "VictoriaMetrics",
317
"value": "VictoriaMetrics"
318
},
319
"hide": 2,
320
"includeAll": false,
321
"multi": false,
322
"name": "datasource",
323
"options": [],
324
"query": "prometheus",
325
"queryValue": "",
326
"refresh": 1,
327
"regex": "",
328
"skipUrlSync": false,
329
"type": "datasource"
330
},
331
{
332
"current": {},
333
"datasource": {
334
"type": "prometheus",
335
"uid": "${datasource}"
336
},
337
"definition": "label_values(gitpod_ws_daemon_netlimit_connections_dropped_bytes,node)",
338
"hide": 0,
339
"includeAll": false,
340
"label": "Node",
341
"multi": false,
342
"name": "node",
343
"options": [],
344
"query": {
345
"query": "label_values(gitpod_ws_daemon_netlimit_connections_dropped_bytes,node)",
346
"refId": "StandardVariableQuery"
347
},
348
"refresh": 2,
349
"regex": "",
350
"skipUrlSync": false,
351
"sort": 1,
352
"type": "query"
353
},
354
{
355
"current": {},
356
"datasource": {
357
"type": "prometheus",
358
"uid": "${datasource}"
359
},
360
"definition": "label_values(gitpod_ws_daemon_netlimit_connections_dropped_bytes{node=\"$node\"},workspace)",
361
"hide": 0,
362
"includeAll": true,
363
"label": "Workspace",
364
"multi": true,
365
"name": "workspace",
366
"options": [],
367
"query": {
368
"query": "label_values(gitpod_ws_daemon_netlimit_connections_dropped_bytes{node=\"$node\"},workspace)",
369
"refId": "StandardVariableQuery"
370
},
371
"refresh": 2,
372
"regex": "",
373
"skipUrlSync": false,
374
"sort": 1,
375
"type": "query"
376
}
377
]
378
},
379
"time": {
380
"from": "now-5m",
381
"to": "now"
382
},
383
"timepicker": {},
384
"timezone": "",
385
"title": "Network limiting",
386
"uid": "-q-ZCsW4z",
387
"version": 2,
388
"weekStart": ""
389
}
390
391