Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/operations/observability/mixins/meta/dashboards/components/meta-services.json
2501 views
1
{
2
"annotations": {
3
"list": [
4
{
5
"builtIn": 1,
6
"datasource": {
7
"type": "datasource",
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": 68,
28
"links": [],
29
"liveNow": false,
30
"panels": [
31
{
32
"datasource": {
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": 10,
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": "never",
61
"spanNulls": true,
62
"stacking": {
63
"group": "A",
64
"mode": "none"
65
},
66
"thresholdsStyle": {
67
"mode": "off"
68
}
69
},
70
"mappings": [],
71
"min": 0,
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
"unit": "short"
86
},
87
"overrides": []
88
},
89
"gridPos": {
90
"h": 12,
91
"w": 24,
92
"x": 0,
93
"y": 0
94
},
95
"id": 2,
96
"options": {
97
"legend": {
98
"calcs": [],
99
"displayMode": "table",
100
"placement": "bottom",
101
"showLegend": true
102
},
103
"tooltip": {
104
"mode": "single",
105
"sort": "none"
106
}
107
},
108
"pluginVersion": "8.2.2",
109
"repeat": "cluster",
110
"repeatDirection": "h",
111
"targets": [
112
{
113
"datasource": {
114
"uid": "$datasource"
115
},
116
"exemplar": true,
117
"expr": "sum(\n rate(container_cpu_usage_seconds_total{container!=\"POD\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$component-.*\"}[5m])\n) by (pod, cluster, node)",
118
"hide": false,
119
"interval": "",
120
"legendFormat": "{{ pod }} - {{ node }}",
121
"queryType": "randomWalk",
122
"refId": "A"
123
}
124
],
125
"title": "$cluster: CPU per Pod (# of vCores)",
126
"type": "timeseries"
127
},
128
{
129
"datasource": {
130
"uid": "$datasource"
131
},
132
"fieldConfig": {
133
"defaults": {
134
"color": {
135
"mode": "palette-classic"
136
},
137
"custom": {
138
"axisCenteredZero": false,
139
"axisColorMode": "text",
140
"axisLabel": "",
141
"axisPlacement": "auto",
142
"barAlignment": 0,
143
"drawStyle": "line",
144
"fillOpacity": 10,
145
"gradientMode": "none",
146
"hideFrom": {
147
"legend": false,
148
"tooltip": false,
149
"viz": false
150
},
151
"lineInterpolation": "linear",
152
"lineWidth": 1,
153
"pointSize": 5,
154
"scaleDistribution": {
155
"type": "linear"
156
},
157
"showPoints": "never",
158
"spanNulls": true,
159
"stacking": {
160
"group": "A",
161
"mode": "none"
162
},
163
"thresholdsStyle": {
164
"mode": "off"
165
}
166
},
167
"mappings": [],
168
"min": 0,
169
"thresholds": {
170
"mode": "absolute",
171
"steps": [
172
{
173
"color": "green",
174
"value": null
175
},
176
{
177
"color": "red",
178
"value": 80
179
}
180
]
181
},
182
"unit": "bytes"
183
},
184
"overrides": []
185
},
186
"gridPos": {
187
"h": 12,
188
"w": 24,
189
"x": 0,
190
"y": 12
191
},
192
"id": 4,
193
"options": {
194
"legend": {
195
"calcs": [],
196
"displayMode": "table",
197
"placement": "bottom",
198
"showLegend": true
199
},
200
"tooltip": {
201
"mode": "single",
202
"sort": "none"
203
}
204
},
205
"pluginVersion": "8.2.2",
206
"repeat": "cluster",
207
"targets": [
208
{
209
"datasource": {
210
"uid": "$datasource"
211
},
212
"exemplar": true,
213
"expr": "sum(container_memory_working_set_bytes{container!=\"POD\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$component-.*\"}) by (pod, cluster, node)",
214
"interval": "",
215
"legendFormat": "{{ pod }} - {{ node }}",
216
"queryType": "randomWalk",
217
"refId": "A"
218
}
219
],
220
"title": "$cluster: RAM usage",
221
"type": "timeseries"
222
},
223
{
224
"datasource": {
225
"uid": "$datasource"
226
},
227
"fieldConfig": {
228
"defaults": {
229
"color": {
230
"mode": "palette-classic"
231
},
232
"custom": {
233
"axisCenteredZero": false,
234
"axisColorMode": "text",
235
"axisLabel": "",
236
"axisPlacement": "auto",
237
"barAlignment": 0,
238
"drawStyle": "line",
239
"fillOpacity": 10,
240
"gradientMode": "none",
241
"hideFrom": {
242
"legend": false,
243
"tooltip": false,
244
"viz": false
245
},
246
"lineInterpolation": "linear",
247
"lineWidth": 1,
248
"pointSize": 5,
249
"scaleDistribution": {
250
"type": "linear"
251
},
252
"showPoints": "never",
253
"spanNulls": true,
254
"stacking": {
255
"group": "A",
256
"mode": "none"
257
},
258
"thresholdsStyle": {
259
"mode": "off"
260
}
261
},
262
"mappings": [],
263
"min": 0,
264
"thresholds": {
265
"mode": "absolute",
266
"steps": [
267
{
268
"color": "green",
269
"value": null
270
},
271
{
272
"color": "red",
273
"value": 80
274
}
275
]
276
},
277
"unit": "binBps"
278
},
279
"overrides": []
280
},
281
"gridPos": {
282
"h": 12,
283
"w": 24,
284
"x": 0,
285
"y": 24
286
},
287
"id": 5,
288
"options": {
289
"legend": {
290
"calcs": [],
291
"displayMode": "table",
292
"placement": "bottom",
293
"showLegend": true
294
},
295
"tooltip": {
296
"mode": "single",
297
"sort": "none"
298
}
299
},
300
"pluginVersion": "8.2.2",
301
"repeat": "cluster",
302
"repeatDirection": "h",
303
"targets": [
304
{
305
"datasource": {
306
"uid": "$datasource"
307
},
308
"exemplar": true,
309
"expr": "sum (\n rate(container_network_receive_bytes_total{container!=\"POD\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$component-.*\"}[5m])\n) by (pod, cluster, node)",
310
"interval": "",
311
"legendFormat": "{{ pod }} - {{ node }}",
312
"queryType": "randomWalk",
313
"refId": "A"
314
}
315
],
316
"title": "$cluster: Network Utilization",
317
"type": "timeseries"
318
}
319
],
320
"refresh": "",
321
"schemaVersion": 38,
322
"style": "dark",
323
"tags": [
324
"gitpod-mixin"
325
],
326
"templating": {
327
"list": [
328
{
329
"current": {
330
"selected": false,
331
"text": "VictoriaMetrics",
332
"value": "VictoriaMetrics"
333
},
334
"hide": 0,
335
"includeAll": false,
336
"multi": false,
337
"name": "datasource",
338
"options": [],
339
"query": "prometheus",
340
"queryValue": "",
341
"refresh": 1,
342
"regex": "",
343
"skipUrlSync": false,
344
"type": "datasource"
345
},
346
{
347
"allValue": ".*",
348
"current": {
349
"selected": true,
350
"text": [
351
"All"
352
],
353
"value": [
354
"$__all"
355
]
356
},
357
"datasource": {
358
"type": "prometheus",
359
"uid": "$datasource"
360
},
361
"definition": "label_values(up{job=\"redis\"},cluster)",
362
"hide": 0,
363
"includeAll": true,
364
"label": "cluster",
365
"multi": true,
366
"name": "cluster",
367
"options": [],
368
"query": {
369
"query": "label_values(up{job=\"redis\"},cluster)",
370
"refId": "PrometheusVariableQueryEditor-VariableQuery"
371
},
372
"refresh": 2,
373
"regex": "",
374
"skipUrlSync": false,
375
"sort": 1,
376
"tagValuesQuery": "",
377
"tagsQuery": "",
378
"type": "query",
379
"useTags": false
380
},
381
{
382
"allValue": ".*",
383
"current": {
384
"selected": true,
385
"text": [
386
"All"
387
],
388
"value": [
389
"$__all"
390
]
391
},
392
"datasource": {
393
"type": "prometheus",
394
"uid": "$datasource"
395
},
396
"definition": "label_values(kube_node_info{cluster=~\"$cluster\", node=~\".*-services-.*\"}, node)",
397
"hide": 0,
398
"includeAll": true,
399
"label": "node",
400
"multi": true,
401
"name": "node",
402
"options": [],
403
"query": {
404
"query": "label_values(kube_node_info{cluster=~\"$cluster\", node=~\".*-services-.*\"}, node)",
405
"refId": "StandardVariableQuery"
406
},
407
"refresh": 2,
408
"regex": "",
409
"skipUrlSync": false,
410
"sort": 1,
411
"type": "query"
412
},
413
{
414
"allValue": "",
415
"current": {
416
"selected": true,
417
"text": [
418
"content-service",
419
"dashboard",
420
"db",
421
"proxy",
422
"server",
423
"ws-manager-bridge"
424
],
425
"value": [
426
"content-service",
427
"dashboard",
428
"db",
429
"proxy",
430
"server",
431
"ws-manager-bridge"
432
]
433
},
434
"hide": 0,
435
"includeAll": true,
436
"label": "component",
437
"multi": true,
438
"name": "component",
439
"options": [
440
{
441
"selected": false,
442
"text": "All",
443
"value": "$__all"
444
},
445
{
446
"selected": true,
447
"text": "content-service",
448
"value": "content-service"
449
},
450
{
451
"selected": true,
452
"text": "dashboard",
453
"value": "dashboard"
454
},
455
{
456
"selected": true,
457
"text": "db",
458
"value": "db"
459
},
460
{
461
"selected": true,
462
"text": "proxy",
463
"value": "proxy"
464
},
465
{
466
"selected": true,
467
"text": "server",
468
"value": "server"
469
},
470
{
471
"selected": true,
472
"text": "ws-manager-bridge",
473
"value": "ws-manager-bridge"
474
},
475
{
476
"selected": false,
477
"text": "image-builder",
478
"value": "image-builder"
479
},
480
{
481
"selected": false,
482
"text": "image-builder-mk3",
483
"value": "image-builder-mk3"
484
}
485
],
486
"query": "content-service, dashboard, db, proxy, server, ws-manager-bridge, image-builder, image-builder-mk3",
487
"queryValue": "",
488
"skipUrlSync": false,
489
"type": "custom"
490
}
491
]
492
},
493
"time": {
494
"from": "now-3h",
495
"to": "now"
496
},
497
"timepicker": {},
498
"timezone": "utc",
499
"title": "Meta Services",
500
"uid": "gitpod-services",
501
"version": 1,
502
"weekStart": ""
503
}
504
505