Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/operations/observability/mixins/workspace/dashboards/workspace-psi.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": 83,
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
"max": 1,
73
"thresholds": {
74
"mode": "absolute",
75
"steps": [
76
{
77
"color": "green",
78
"value": null
79
},
80
{
81
"color": "red",
82
"value": 80
83
}
84
]
85
}
86
},
87
"overrides": []
88
},
89
"gridPos": {
90
"h": 9,
91
"w": 12,
92
"x": 0,
93
"y": 0
94
},
95
"id": 2,
96
"options": {
97
"legend": {
98
"calcs": [],
99
"displayMode": "list",
100
"placement": "bottom",
101
"showLegend": false
102
},
103
"tooltip": {
104
"mode": "single",
105
"sort": "none"
106
}
107
},
108
"targets": [
109
{
110
"datasource": {
111
"type": "prometheus",
112
"uid": "${datasource}"
113
},
114
"editorMode": "code",
115
"exemplar": false,
116
"expr": "rate(gitpod_ws_daemon_workspace_cpu_psi_total_seconds{cluster=\"$cluster\", node=\"$node\", workspace=~\"$workspace\"}[10s]/1000000)",
117
"legendFormat": "{{workspace}}",
118
"range": true,
119
"refId": "A"
120
}
121
],
122
"title": "CPU ",
123
"type": "timeseries"
124
},
125
{
126
"datasource": {
127
"type": "prometheus",
128
"uid": "${datasource}"
129
},
130
"fieldConfig": {
131
"defaults": {
132
"color": {
133
"mode": "palette-classic"
134
},
135
"custom": {
136
"axisCenteredZero": false,
137
"axisColorMode": "text",
138
"axisLabel": "",
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
"max": 1,
167
"thresholds": {
168
"mode": "absolute",
169
"steps": [
170
{
171
"color": "green",
172
"value": null
173
},
174
{
175
"color": "red",
176
"value": 80
177
}
178
]
179
}
180
},
181
"overrides": []
182
},
183
"gridPos": {
184
"h": 9,
185
"w": 12,
186
"x": 12,
187
"y": 0
188
},
189
"id": 4,
190
"options": {
191
"legend": {
192
"calcs": [],
193
"displayMode": "list",
194
"placement": "bottom",
195
"showLegend": false
196
},
197
"tooltip": {
198
"mode": "single",
199
"sort": "none"
200
}
201
},
202
"targets": [
203
{
204
"datasource": {
205
"type": "prometheus",
206
"uid": "${datasource}"
207
},
208
"editorMode": "code",
209
"expr": "rate(gitpod_ws_daemon_workspace_memory_psi_total_seconds{cluster=\"$cluster\", node=\"$node\", workspace=~\"$workspace\"}[10s]/1000000)",
210
"legendFormat": "{{workspace}}",
211
"range": true,
212
"refId": "A"
213
}
214
],
215
"title": "Memory",
216
"type": "timeseries"
217
},
218
{
219
"datasource": {
220
"type": "prometheus",
221
"uid": "${datasource}"
222
},
223
"fieldConfig": {
224
"defaults": {
225
"color": {
226
"mode": "palette-classic"
227
},
228
"custom": {
229
"axisCenteredZero": false,
230
"axisColorMode": "text",
231
"axisLabel": "",
232
"axisPlacement": "auto",
233
"barAlignment": 0,
234
"drawStyle": "line",
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
"max": 1,
260
"thresholds": {
261
"mode": "absolute",
262
"steps": [
263
{
264
"color": "green",
265
"value": null
266
},
267
{
268
"color": "red",
269
"value": 80
270
}
271
]
272
}
273
},
274
"overrides": []
275
},
276
"gridPos": {
277
"h": 8,
278
"w": 12,
279
"x": 0,
280
"y": 9
281
},
282
"id": 6,
283
"options": {
284
"legend": {
285
"calcs": [],
286
"displayMode": "list",
287
"placement": "bottom",
288
"showLegend": false
289
},
290
"tooltip": {
291
"mode": "single",
292
"sort": "none"
293
}
294
},
295
"targets": [
296
{
297
"datasource": {
298
"type": "prometheus",
299
"uid": "${datasource}"
300
},
301
"editorMode": "code",
302
"expr": "rate(gitpod_ws_daemon_workspace_io_psi_total_seconds{cluster=\"$cluster\", node=\"$node\", workspace=~\"$workspace\"}[10s]/1000000)",
303
"legendFormat": "{{workspace}}",
304
"range": true,
305
"refId": "A"
306
}
307
],
308
"title": "IO",
309
"type": "timeseries"
310
}
311
],
312
"schemaVersion": 37,
313
"style": "dark",
314
"tags": [],
315
"templating": {
316
"list": [
317
{
318
"current": {
319
"selected": false,
320
"text": "VictoriaMetrics",
321
"value": "VictoriaMetrics"
322
},
323
"hide": 0,
324
"includeAll": false,
325
"multi": false,
326
"name": "datasource",
327
"options": [],
328
"query": "prometheus",
329
"refresh": 1,
330
"regex": "",
331
"skipUrlSync": false,
332
"type": "datasource"
333
},
334
{
335
"current": {
336
"selected": false,
337
"text": "eu73",
338
"value": "eu73"
339
},
340
"datasource": {
341
"type": "prometheus",
342
"uid": "${datasource}"
343
},
344
"definition": "label_values(gitpod_ws_daemon_workspace_cpu_psi_total_seconds,cluster)",
345
"hide": 0,
346
"includeAll": false,
347
"multi": false,
348
"name": "cluster",
349
"options": [],
350
"query": {
351
"query": "label_values(gitpod_ws_daemon_workspace_cpu_psi_total_seconds,cluster)",
352
"refId": "StandardVariableQuery"
353
},
354
"refresh": 1,
355
"regex": "",
356
"skipUrlSync": false,
357
"sort": 1,
358
"type": "query"
359
},
360
{
361
"current": {
362
"selected": true,
363
"text": "workspace-ws-eu73-pool-v5bp",
364
"value": "workspace-ws-eu73-pool-v5bp"
365
},
366
"datasource": {
367
"type": "prometheus",
368
"uid": "${datasource}"
369
},
370
"definition": "label_values(gitpod_ws_daemon_workspace_cpu_psi_total_seconds{cluster=\"$cluster\"},node)",
371
"hide": 0,
372
"includeAll": false,
373
"multi": false,
374
"name": "node",
375
"options": [],
376
"query": {
377
"query": "label_values(gitpod_ws_daemon_workspace_cpu_psi_total_seconds{cluster=\"$cluster\"},node)",
378
"refId": "StandardVariableQuery"
379
},
380
"refresh": 1,
381
"regex": "",
382
"skipUrlSync": false,
383
"sort": 0,
384
"type": "query"
385
},
386
{
387
"current": {
388
"selected": true,
389
"text": [
390
"4e3a9531-7177-4462-a28a-257013a1f590"
391
],
392
"value": [
393
"4e3a9531-7177-4462-a28a-257013a1f590"
394
]
395
},
396
"datasource": {
397
"type": "prometheus",
398
"uid": "${datasource}"
399
},
400
"definition": "label_values(gitpod_ws_daemon_workspace_cpu_psi_total_seconds{cluster=\"$cluster\",node=\"$node\"},workspace)",
401
"hide": 0,
402
"includeAll": true,
403
"multi": true,
404
"name": "workspace",
405
"options": [],
406
"query": {
407
"query": "label_values(gitpod_ws_daemon_workspace_cpu_psi_total_seconds{cluster=\"$cluster\",node=\"$node\"},workspace)",
408
"refId": "StandardVariableQuery"
409
},
410
"refresh": 1,
411
"regex": "",
412
"skipUrlSync": false,
413
"sort": 0,
414
"type": "query"
415
}
416
]
417
},
418
"time": {
419
"from": "now-6h",
420
"to": "now"
421
},
422
"timepicker": {},
423
"timezone": "",
424
"title": "Workspace Pressure Stall Information",
425
"uid": "aq5CzlHVz",
426
"version": 9,
427
"weekStart": ""
428
}
429
430