Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/operations/observability/mixins/cross-teams/dashboards/gitpod-overview.json
2500 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": 1,
27
"id": 5,
28
"links": [],
29
"liveNow": false,
30
"panels": [
31
{
32
"collapsed": false,
33
"datasource": {
34
"type": "datasource",
35
"uid": "grafana"
36
},
37
"gridPos": {
38
"h": 1,
39
"w": 24,
40
"x": 0,
41
"y": 0
42
},
43
"id": 11,
44
"panels": [],
45
"targets": [
46
{
47
"datasource": {
48
"type": "datasource",
49
"uid": "grafana"
50
},
51
"refId": "A"
52
}
53
],
54
"title": "Summary",
55
"type": "row"
56
},
57
{
58
"datasource": {
59
"type": "prometheus",
60
"uid": "$datasource"
61
},
62
"fieldConfig": {
63
"defaults": {
64
"color": {
65
"mode": "thresholds"
66
},
67
"mappings": [],
68
"thresholds": {
69
"mode": "absolute",
70
"steps": []
71
}
72
},
73
"overrides": []
74
},
75
"gridPos": {
76
"h": 7,
77
"w": 4,
78
"x": 0,
79
"y": 1
80
},
81
"id": 19,
82
"options": {
83
"colorMode": "value",
84
"graphMode": "none",
85
"justifyMode": "center",
86
"orientation": "auto",
87
"reduceOptions": {
88
"calcs": [
89
"lastNotNull"
90
],
91
"fields": "/value/",
92
"values": false
93
},
94
"showPercentChange": false,
95
"text": {
96
"titleSize": 1
97
},
98
"textMode": "value",
99
"wideLayout": true
100
},
101
"pluginVersion": "10.4.1",
102
"targets": [
103
{
104
"datasource": {
105
"type": "prometheus",
106
"uid": "$datasource"
107
},
108
"editorMode": "code",
109
"exemplar": false,
110
"expr": "max(gitpod_version_info{cell=\"$cell\"}) by (gitpod_version)",
111
"instant": true,
112
"range": false,
113
"refId": "A"
114
}
115
],
116
"title": "Current Gitpod Version",
117
"transformations": [
118
{
119
"id": "labelsToFields",
120
"options": {
121
"mode": "rows"
122
}
123
}
124
],
125
"type": "stat"
126
},
127
{
128
"datasource": {
129
"type": "prometheus",
130
"uid": "$datasource"
131
},
132
"fieldConfig": {
133
"defaults": {
134
"decimals": 0,
135
"links": [],
136
"mappings": [],
137
"thresholds": {
138
"mode": "absolute",
139
"steps": []
140
},
141
"unit": "none"
142
},
143
"overrides": []
144
},
145
"gridPos": {
146
"h": 7,
147
"w": 6,
148
"x": 4,
149
"y": 1
150
},
151
"id": 2,
152
"options": {
153
"colorMode": "value",
154
"graphMode": "none",
155
"justifyMode": "center",
156
"orientation": "vertical",
157
"reduceOptions": {
158
"calcs": [
159
"mean"
160
],
161
"fields": "",
162
"values": false
163
},
164
"showPercentChange": false,
165
"textMode": "auto",
166
"wideLayout": true
167
},
168
"pluginVersion": "10.4.1",
169
"targets": [
170
{
171
"datasource": {
172
"uid": "$datasource"
173
},
174
"editorMode": "code",
175
"expr": "avg_over_time(sum(gitpod_ws_manager_mk2_workspace_phase_total{phase=\"Running\",cell=\"$cell\"})[7d:10m])",
176
"format": "time_series",
177
"intervalFactor": 2,
178
"legendFormat": "Avg",
179
"range": true,
180
"refId": "A"
181
},
182
{
183
"datasource": {
184
"uid": "$datasource"
185
},
186
"editorMode": "code",
187
"expr": "min_over_time(sum(gitpod_ws_manager_mk2_workspace_phase_total{phase=\"Running\",cell=\"$cell\"})[7d:10m])",
188
"format": "time_series",
189
"intervalFactor": 2,
190
"legendFormat": "Min",
191
"range": true,
192
"refId": "B"
193
},
194
{
195
"datasource": {
196
"uid": "$datasource"
197
},
198
"editorMode": "code",
199
"expr": "max_over_time(sum(gitpod_ws_manager_mk2_workspace_phase_total{phase=\"Running\",cell=\"$cell\"})[7d:10m])",
200
"format": "time_series",
201
"intervalFactor": 2,
202
"legendFormat": "Max",
203
"range": true,
204
"refId": "C"
205
}
206
],
207
"title": "Stats(7d)",
208
"type": "stat"
209
},
210
{
211
"datasource": {
212
"type": "prometheus",
213
"uid": "$datasource"
214
},
215
"fieldConfig": {
216
"defaults": {
217
"color": {
218
"fixedColor": "semi-dark-orange",
219
"mode": "fixed"
220
},
221
"decimals": 0,
222
"mappings": [],
223
"thresholds": {
224
"mode": "absolute",
225
"steps": []
226
}
227
},
228
"overrides": []
229
},
230
"gridPos": {
231
"h": 7,
232
"w": 7,
233
"x": 10,
234
"y": 1
235
},
236
"id": 3,
237
"options": {
238
"displayMode": "lcd",
239
"maxVizHeight": 300,
240
"minVizHeight": 10,
241
"minVizWidth": 0,
242
"namePlacement": "auto",
243
"orientation": "horizontal",
244
"reduceOptions": {
245
"calcs": [
246
"mean"
247
],
248
"fields": "",
249
"values": false
250
},
251
"showUnfilled": true,
252
"sizing": "auto",
253
"valueMode": "color"
254
},
255
"pluginVersion": "10.4.1",
256
"targets": [
257
{
258
"datasource": {
259
"uid": "$datasource"
260
},
261
"editorMode": "code",
262
"expr": "sum(gitpod_ws_manager_mk2_workspace_phase_total{cell=\"$cell\"}) by (phase)",
263
"format": "time_series",
264
"intervalFactor": 2,
265
"legendFormat": "{{ label_name }}",
266
"range": true,
267
"refId": "A"
268
}
269
],
270
"title": "Workspaces by phase",
271
"type": "bargauge"
272
},
273
{
274
"datasource": {
275
"type": "prometheus",
276
"uid": "$datasource"
277
},
278
"fieldConfig": {
279
"defaults": {
280
"color": {
281
"fixedColor": "green",
282
"mode": "fixed"
283
},
284
"decimals": 0,
285
"mappings": [],
286
"thresholds": {
287
"mode": "absolute",
288
"steps": []
289
}
290
},
291
"overrides": []
292
},
293
"gridPos": {
294
"h": 7,
295
"w": 7,
296
"x": 17,
297
"y": 1
298
},
299
"id": 4,
300
"options": {
301
"displayMode": "lcd",
302
"maxVizHeight": 300,
303
"minVizHeight": 10,
304
"minVizWidth": 0,
305
"namePlacement": "auto",
306
"orientation": "horizontal",
307
"reduceOptions": {
308
"calcs": [
309
"mean"
310
],
311
"fields": "",
312
"values": false
313
},
314
"showUnfilled": true,
315
"sizing": "auto",
316
"valueMode": "color"
317
},
318
"pluginVersion": "10.4.1",
319
"targets": [
320
{
321
"datasource": {
322
"uid": "$datasource"
323
},
324
"editorMode": "code",
325
"expr": "sum(gitpod_ws_manager_mk2_workspace_phase_total{phase=\"Running\",cell=\"$cell\"}) by (cluster,type)",
326
"format": "time_series",
327
"intervalFactor": 2,
328
"legendFormat": "{{cluster}}: {{type}}",
329
"range": true,
330
"refId": "A"
331
}
332
],
333
"title": "Running workspaces",
334
"type": "bargauge"
335
},
336
{
337
"datasource": {
338
"type": "prometheus",
339
"uid": "$datasource"
340
},
341
"fieldConfig": {
342
"defaults": {
343
"color": {
344
"mode": "palette-classic"
345
},
346
"custom": {
347
"axisBorderShow": false,
348
"axisCenteredZero": false,
349
"axisColorMode": "text",
350
"axisGridShow": true,
351
"axisLabel": "",
352
"axisPlacement": "auto",
353
"barAlignment": 0,
354
"drawStyle": "line",
355
"fillOpacity": 0,
356
"gradientMode": "none",
357
"hideFrom": {
358
"legend": false,
359
"tooltip": false,
360
"viz": false
361
},
362
"insertNulls": false,
363
"lineInterpolation": "linear",
364
"lineStyle": {
365
"fill": "solid"
366
},
367
"lineWidth": 1,
368
"pointSize": 5,
369
"scaleDistribution": {
370
"type": "linear"
371
},
372
"showPoints": "auto",
373
"spanNulls": false,
374
"stacking": {
375
"group": "A",
376
"mode": "none"
377
},
378
"thresholdsStyle": {
379
"mode": "off"
380
}
381
},
382
"mappings": [],
383
"thresholds": {
384
"mode": "absolute",
385
"steps": [
386
{
387
"color": "green",
388
"value": null
389
}
390
]
391
}
392
},
393
"overrides": []
394
},
395
"gridPos": {
396
"h": 4,
397
"w": 24,
398
"x": 0,
399
"y": 8
400
},
401
"id": 21,
402
"options": {
403
"legend": {
404
"calcs": [],
405
"displayMode": "table",
406
"placement": "bottom",
407
"showLegend": false
408
},
409
"tooltip": {
410
"mode": "single",
411
"sort": "none"
412
}
413
},
414
"targets": [
415
{
416
"datasource": {
417
"type": "prometheus",
418
"uid": "$datasource"
419
},
420
"editorMode": "code",
421
"expr": "max(gitpod_version_info{cell=\"$cell\"}) by (gitpod_version)",
422
"instant": false,
423
"legendFormat": "{{label_name}}",
424
"range": true,
425
"refId": "A"
426
}
427
],
428
"title": "Gitpod Version",
429
"type": "timeseries"
430
},
431
{
432
"collapsed": false,
433
"datasource": {
434
"type": "datasource",
435
"uid": "grafana"
436
},
437
"gridPos": {
438
"h": 1,
439
"w": 24,
440
"x": 0,
441
"y": 12
442
},
443
"id": 12,
444
"panels": [],
445
"targets": [
446
{
447
"datasource": {
448
"type": "datasource",
449
"uid": "grafana"
450
},
451
"refId": "A"
452
}
453
],
454
"title": "Running workspaces",
455
"type": "row"
456
},
457
{
458
"aliasColors": {},
459
"bars": false,
460
"dashLength": 10,
461
"dashes": false,
462
"datasource": {
463
"type": "prometheus",
464
"uid": "$datasource"
465
},
466
"fill": 1,
467
"fillGradient": 5,
468
"gridPos": {
469
"h": 7,
470
"w": 8,
471
"x": 0,
472
"y": 13
473
},
474
"hiddenSeries": false,
475
"id": 5,
476
"legend": {
477
"alignAsTable": false,
478
"avg": false,
479
"current": false,
480
"max": false,
481
"min": false,
482
"rightSide": false,
483
"show": true,
484
"total": false,
485
"values": false
486
},
487
"lines": true,
488
"linewidth": 1,
489
"nullPointMode": "null",
490
"options": {
491
"alertThreshold": true
492
},
493
"percentage": false,
494
"pluginVersion": "10.4.1",
495
"pointradius": 5,
496
"points": false,
497
"renderer": "flot",
498
"repeat": "cluster",
499
"seriesOverrides": [
500
{
501
"$$hashKey": "object:146",
502
"alias": "Regular",
503
"color": "#73BF69"
504
},
505
{
506
"$$hashKey": "object:147",
507
"alias": "Prebuild",
508
"color": "#5794F2",
509
"yaxis": 1
510
},
511
{
512
"$$hashKey": "object:149",
513
"alias": "Regular Not Active",
514
"color": "#FADE2A"
515
},
516
{
517
"$$hashKey": "object:389",
518
"alias": "ImageBuild",
519
"color": "#6ED0E0",
520
"dashLength": 8,
521
"dashes": true,
522
"spaceLength": 8,
523
"steppedLine": true,
524
"yaxis": 2
525
}
526
],
527
"spaceLength": 10,
528
"stack": false,
529
"steppedLine": false,
530
"targets": [
531
{
532
"datasource": {
533
"uid": "$datasource"
534
},
535
"editorMode": "code",
536
"expr": "sum(gitpod_ws_manager_mk2_workspace_phase_total{cluster=~\"$cluster\", phase=\"Running\", cell=\"$cell\"}) by (type)",
537
"format": "time_series",
538
"intervalFactor": 2,
539
"legendFormat": "{{ type }}",
540
"range": true,
541
"refId": "A"
542
},
543
{
544
"datasource": {
545
"uid": "$datasource"
546
},
547
"editorMode": "code",
548
"expr": "sum(gitpod_ws_manager_mk2_workspace_activity_total{cluster=~\"$cluster\",cell=\"$cell\",active=\"false\"})",
549
"format": "time_series",
550
"intervalFactor": 2,
551
"legendFormat": "Regular Not Active",
552
"range": true,
553
"refId": "B"
554
}
555
],
556
"thresholds": [],
557
"timeRegions": [],
558
"title": "$cluster: Running Workspaces",
559
"tooltip": {
560
"shared": true,
561
"sort": 0,
562
"value_type": "individual"
563
},
564
"type": "graph",
565
"xaxis": {
566
"mode": "time",
567
"show": true,
568
"values": []
569
},
570
"yaxes": [
571
{
572
"$$hashKey": "object:126",
573
"format": "none",
574
"logBase": 1,
575
"min": 0,
576
"show": true
577
},
578
{
579
"$$hashKey": "object:127",
580
"format": "none",
581
"label": "",
582
"logBase": 1,
583
"min": 0,
584
"show": true
585
}
586
],
587
"yaxis": {
588
"align": false
589
}
590
},
591
{
592
"collapsed": false,
593
"gridPos": {
594
"h": 1,
595
"w": 24,
596
"x": 0,
597
"y": 20
598
},
599
"id": 36,
600
"panels": [],
601
"title": "SSH Summary",
602
"type": "row"
603
},
604
{
605
"datasource": {
606
"type": "prometheus",
607
"uid": "${datasource}"
608
},
609
"description": "The # of connections over SSH. It's possible for a single workspace to have many SSH connections. For example, two tabs on my local machine could both be connected to the same workspace.",
610
"fieldConfig": {
611
"defaults": {
612
"color": {
613
"mode": "palette-classic"
614
},
615
"custom": {
616
"axisBorderShow": false,
617
"axisCenteredZero": false,
618
"axisColorMode": "text",
619
"axisLabel": "",
620
"axisPlacement": "auto",
621
"barAlignment": 0,
622
"drawStyle": "line",
623
"fillOpacity": 0,
624
"gradientMode": "none",
625
"hideFrom": {
626
"legend": false,
627
"tooltip": false,
628
"viz": false
629
},
630
"insertNulls": false,
631
"lineInterpolation": "linear",
632
"lineWidth": 1,
633
"pointSize": 5,
634
"scaleDistribution": {
635
"type": "linear"
636
},
637
"showPoints": "auto",
638
"spanNulls": false,
639
"stacking": {
640
"group": "A",
641
"mode": "none"
642
},
643
"thresholdsStyle": {
644
"mode": "off"
645
}
646
},
647
"mappings": [],
648
"thresholds": {
649
"mode": "absolute",
650
"steps": [
651
{
652
"color": "green",
653
"value": null
654
},
655
{
656
"color": "red",
657
"value": 80
658
}
659
]
660
}
661
},
662
"overrides": []
663
},
664
"gridPos": {
665
"h": 8,
666
"w": 12,
667
"x": 0,
668
"y": 21
669
},
670
"id": 37,
671
"options": {
672
"legend": {
673
"calcs": [],
674
"displayMode": "list",
675
"placement": "bottom",
676
"showLegend": true
677
},
678
"tooltip": {
679
"mode": "single",
680
"sort": "none"
681
}
682
},
683
"targets": [
684
{
685
"datasource": {
686
"type": "prometheus",
687
"uid": "${datasource}"
688
},
689
"disableTextWrap": false,
690
"editorMode": "code",
691
"expr": "sum by(cluster) (gitpod_ws_proxy_ssh_connection_count{cluster=~\"$cluster\"})",
692
"fullMetaSearch": false,
693
"includeNullMetadata": true,
694
"instant": false,
695
"legendFormat": "__auto",
696
"range": true,
697
"refId": "A",
698
"useBackend": false
699
}
700
],
701
"title": "Active SSH Connections",
702
"type": "timeseries"
703
},
704
{
705
"collapsed": false,
706
"gridPos": {
707
"h": 1,
708
"w": 24,
709
"x": 0,
710
"y": 29
711
},
712
"id": 28,
713
"panels": [],
714
"title": "IPFS Storage",
715
"type": "row"
716
},
717
{
718
"datasource": {
719
"type": "prometheus",
720
"uid": "${datasource}"
721
},
722
"description": "Amount of available storage remaining for IPFS in the workspace clusters. This storage is used as workspace image cache. Clusters must get recreated before this gets too low.",
723
"fieldConfig": {
724
"defaults": {
725
"color": {
726
"mode": "palette-classic"
727
},
728
"custom": {
729
"axisBorderShow": false,
730
"axisCenteredZero": false,
731
"axisColorMode": "text",
732
"axisLabel": "",
733
"axisPlacement": "auto",
734
"barAlignment": 0,
735
"drawStyle": "line",
736
"fillOpacity": 0,
737
"gradientMode": "none",
738
"hideFrom": {
739
"legend": false,
740
"tooltip": false,
741
"viz": false
742
},
743
"insertNulls": false,
744
"lineInterpolation": "linear",
745
"lineWidth": 1,
746
"pointSize": 5,
747
"scaleDistribution": {
748
"type": "linear"
749
},
750
"showPoints": "auto",
751
"spanNulls": false,
752
"stacking": {
753
"group": "A",
754
"mode": "none"
755
},
756
"thresholdsStyle": {
757
"mode": "dashed"
758
}
759
},
760
"mappings": [],
761
"min": 0,
762
"thresholds": {
763
"mode": "absolute",
764
"steps": [
765
{
766
"color": "green",
767
"value": null
768
},
769
{
770
"color": "red",
771
"value": 214748364800
772
},
773
{
774
"color": "#EAB839",
775
"value": 644245094410
776
}
777
]
778
},
779
"unit": "bytes"
780
},
781
"overrides": []
782
},
783
"gridPos": {
784
"h": 7,
785
"w": 24,
786
"x": 0,
787
"y": 30
788
},
789
"id": 35,
790
"options": {
791
"legend": {
792
"calcs": [],
793
"displayMode": "list",
794
"placement": "bottom",
795
"showLegend": true
796
},
797
"tooltip": {
798
"mode": "single",
799
"sort": "none"
800
}
801
},
802
"targets": [
803
{
804
"datasource": {
805
"type": "prometheus",
806
"uid": "${datasource}"
807
},
808
"editorMode": "code",
809
"expr": "min(node_filesystem_avail_bytes{device=\"/dev/mapper/lvm--disk-ipfs\", node=~\"services-.*\", cluster=~\"$cluster\"}) by (cluster)",
810
"legendFormat": "__auto",
811
"range": true,
812
"refId": "A"
813
}
814
],
815
"title": "IPFS Storage Remaining",
816
"type": "timeseries"
817
},
818
{
819
"collapsed": false,
820
"datasource": {
821
"type": "datasource",
822
"uid": "grafana"
823
},
824
"gridPos": {
825
"h": 1,
826
"w": 24,
827
"x": 0,
828
"y": 37
829
},
830
"id": 13,
831
"panels": [],
832
"targets": [
833
{
834
"datasource": {
835
"type": "datasource",
836
"uid": "grafana"
837
},
838
"refId": "A"
839
}
840
],
841
"title": "Workspace node's normalized Load Average",
842
"type": "row"
843
},
844
{
845
"aliasColors": {},
846
"bars": false,
847
"dashLength": 10,
848
"dashes": false,
849
"datasource": {
850
"uid": "$datasource"
851
},
852
"description": "Nodes with a high normalized load average do not represent a real problem, it only means that pods should probably not be scheduled to them.\n\nIf you'd like to see more details about resource consumption of a particular node, you can do so by clicking at the node name.\n",
853
"fill": 1,
854
"fillGradient": 5,
855
"gridPos": {
856
"h": 7,
857
"w": 8,
858
"x": 0,
859
"y": 38
860
},
861
"hiddenSeries": false,
862
"id": 6,
863
"legend": {
864
"alignAsTable": false,
865
"avg": false,
866
"current": false,
867
"max": false,
868
"min": false,
869
"rightSide": false,
870
"show": true,
871
"total": false,
872
"values": false
873
},
874
"lines": true,
875
"linewidth": 1,
876
"nullPointMode": "null",
877
"options": {
878
"alertThreshold": true
879
},
880
"percentage": false,
881
"pluginVersion": "10.4.1",
882
"pointradius": 5,
883
"points": false,
884
"renderer": "flot",
885
"repeat": "cluster",
886
"seriesOverrides": [
887
{
888
"alias": "Node Max Load Avg",
889
"color": "#FF0000"
890
}
891
],
892
"spaceLength": 10,
893
"stack": false,
894
"steppedLine": false,
895
"targets": [
896
{
897
"datasource": {
898
"uid": "$datasource"
899
},
900
"expr": "topk(5, sum(nodepool:node_load1:normalized{cluster=~\"$cluster\", nodepool=~\".*workspace.*\",cell=\"$cell\"}) by (node))\n",
901
"format": "time_series",
902
"intervalFactor": 2,
903
"legendFormat": "{{node}}",
904
"refId": "A"
905
},
906
{
907
"datasource": {
908
"uid": "$datasource"
909
},
910
"expr": "1\n",
911
"format": "time_series",
912
"intervalFactor": 2,
913
"legendFormat": "Node Max Load Avg",
914
"refId": "B"
915
}
916
],
917
"thresholds": [],
918
"timeRegions": [],
919
"title": "$cluster: Workspace node's normalized load average",
920
"tooltip": {
921
"shared": true,
922
"sort": 0,
923
"value_type": "individual"
924
},
925
"type": "graph",
926
"xaxis": {
927
"mode": "time",
928
"show": true,
929
"values": []
930
},
931
"yaxes": [
932
{
933
"format": "none",
934
"logBase": 1,
935
"min": 0,
936
"show": true
937
},
938
{
939
"format": "none",
940
"logBase": 1,
941
"min": 0,
942
"show": true
943
}
944
],
945
"yaxis": {
946
"align": false
947
}
948
},
949
{
950
"collapsed": false,
951
"datasource": {
952
"type": "datasource",
953
"uid": "grafana"
954
},
955
"gridPos": {
956
"h": 1,
957
"w": 24,
958
"x": 0,
959
"y": 45
960
},
961
"id": 18,
962
"panels": [],
963
"targets": [
964
{
965
"datasource": {
966
"type": "datasource",
967
"uid": "grafana"
968
},
969
"refId": "A"
970
}
971
],
972
"title": "Headless node's normalized Load Average",
973
"type": "row"
974
},
975
{
976
"aliasColors": {},
977
"bars": false,
978
"dashLength": 10,
979
"dashes": false,
980
"datasource": {
981
"uid": "$datasource"
982
},
983
"description": "Nodes with a high normalized load average do not represent a real problem, it only means that pods should probably not be scheduled to them.\n\nIf you'd like to see more details about resource consumption of a particular node, you can do so by clicking at the node name.\n",
984
"fill": 1,
985
"fillGradient": 5,
986
"gridPos": {
987
"h": 7,
988
"w": 8,
989
"x": 0,
990
"y": 46
991
},
992
"hiddenSeries": false,
993
"id": 38,
994
"legend": {
995
"alignAsTable": false,
996
"avg": false,
997
"current": false,
998
"max": false,
999
"min": false,
1000
"rightSide": false,
1001
"show": true,
1002
"total": false,
1003
"values": false
1004
},
1005
"lines": true,
1006
"linewidth": 1,
1007
"nullPointMode": "null",
1008
"options": {
1009
"alertThreshold": true
1010
},
1011
"percentage": false,
1012
"pluginVersion": "10.4.1",
1013
"pointradius": 5,
1014
"points": false,
1015
"renderer": "flot",
1016
"repeat": "cluster",
1017
"seriesOverrides": [
1018
{
1019
"alias": "Node Max Load Avg",
1020
"color": "#FF0000"
1021
}
1022
],
1023
"spaceLength": 10,
1024
"stack": false,
1025
"steppedLine": false,
1026
"targets": [
1027
{
1028
"datasource": {
1029
"uid": "$datasource"
1030
},
1031
"expr": "topk(5, sum(nodepool:node_load1:normalized{cluster=~\"$cluster\", nodepool=~\".*headless.*\",cell=\"$cell\"}) by (node))\n",
1032
"format": "time_series",
1033
"intervalFactor": 2,
1034
"legendFormat": "{{node}}",
1035
"refId": "A"
1036
},
1037
{
1038
"datasource": {
1039
"uid": "$datasource"
1040
},
1041
"expr": "1\n",
1042
"format": "time_series",
1043
"intervalFactor": 2,
1044
"legendFormat": "Node Max Load Avg",
1045
"refId": "B"
1046
}
1047
],
1048
"thresholds": [],
1049
"timeRegions": [],
1050
"title": "$cluster: Headless node's normalized load average",
1051
"tooltip": {
1052
"shared": true,
1053
"sort": 0,
1054
"value_type": "individual"
1055
},
1056
"type": "graph",
1057
"xaxis": {
1058
"mode": "time",
1059
"show": true,
1060
"values": []
1061
},
1062
"yaxes": [
1063
{
1064
"format": "none",
1065
"logBase": 1,
1066
"min": 0,
1067
"show": true
1068
},
1069
{
1070
"format": "none",
1071
"logBase": 1,
1072
"min": 0,
1073
"show": true
1074
}
1075
],
1076
"yaxis": {
1077
"align": false
1078
}
1079
},
1080
{
1081
"collapsed": false,
1082
"datasource": {
1083
"type": "datasource",
1084
"uid": "grafana"
1085
},
1086
"gridPos": {
1087
"h": 1,
1088
"w": 24,
1089
"x": 0,
1090
"y": 53
1091
},
1092
"id": 14,
1093
"panels": [],
1094
"targets": [
1095
{
1096
"datasource": {
1097
"type": "datasource",
1098
"uid": "grafana"
1099
},
1100
"refId": "A"
1101
}
1102
],
1103
"title": "Workspace Startup time",
1104
"type": "row"
1105
},
1106
{
1107
"cards": {},
1108
"color": {
1109
"cardColor": "#b4ff00",
1110
"colorScale": "sqrt",
1111
"colorScheme": "interpolateGreens",
1112
"exponent": 0.5,
1113
"mode": "spectrum"
1114
},
1115
"dataFormat": "tsbuckets",
1116
"datasource": {
1117
"type": "prometheus",
1118
"uid": "$datasource"
1119
},
1120
"fieldConfig": {
1121
"defaults": {
1122
"custom": {
1123
"hideFrom": {
1124
"legend": false,
1125
"tooltip": false,
1126
"viz": false
1127
},
1128
"scaleDistribution": {
1129
"type": "linear"
1130
}
1131
}
1132
},
1133
"overrides": []
1134
},
1135
"gridPos": {
1136
"h": 7,
1137
"w": 8,
1138
"x": 0,
1139
"y": 54
1140
},
1141
"heatmap": {},
1142
"hideZeroBuckets": true,
1143
"highlightCards": true,
1144
"id": 7,
1145
"legend": {
1146
"show": false
1147
},
1148
"options": {
1149
"calculate": false,
1150
"calculation": {},
1151
"cellGap": 2,
1152
"cellValues": {},
1153
"color": {
1154
"exponent": 0.5,
1155
"fill": "#b4ff00",
1156
"mode": "scheme",
1157
"reverse": false,
1158
"scale": "exponential",
1159
"scheme": "Greens",
1160
"steps": 128
1161
},
1162
"exemplars": {
1163
"color": "rgba(255,0,255,0.7)"
1164
},
1165
"filterValues": {
1166
"le": 1e-9
1167
},
1168
"legend": {
1169
"show": false
1170
},
1171
"rowsFrame": {
1172
"layout": "auto"
1173
},
1174
"showValue": "never",
1175
"tooltip": {
1176
"mode": "single",
1177
"showColorScale": false,
1178
"yHistogram": false
1179
},
1180
"yAxis": {
1181
"axisPlacement": "left",
1182
"reverse": false,
1183
"unit": "s"
1184
}
1185
},
1186
"pluginVersion": "10.4.1",
1187
"repeat": "cluster",
1188
"targets": [
1189
{
1190
"datasource": {
1191
"uid": "$datasource"
1192
},
1193
"editorMode": "code",
1194
"expr": "sum(rate(gitpod_ws_manager_mk2_workspace_startup_seconds_bucket{cluster=~\"$cluster\",type=\"Regular\",cell=\"$cell\"}[$__rate_interval])) by (le)",
1195
"format": "heatmap",
1196
"intervalFactor": 2,
1197
"legendFormat": "{{le}}",
1198
"range": true,
1199
"refId": "A"
1200
}
1201
],
1202
"title": "$cluster: Regular Workspace Startup time",
1203
"tooltip": {
1204
"show": true,
1205
"showHistogram": false
1206
},
1207
"type": "heatmap",
1208
"xAxis": {
1209
"show": true
1210
},
1211
"yAxis": {
1212
"format": "s",
1213
"show": true
1214
},
1215
"yBucketBound": "auto"
1216
},
1217
{
1218
"collapsed": false,
1219
"datasource": {
1220
"type": "datasource",
1221
"uid": "grafana"
1222
},
1223
"gridPos": {
1224
"h": 1,
1225
"w": 24,
1226
"x": 0,
1227
"y": 61
1228
},
1229
"id": 15,
1230
"panels": [],
1231
"targets": [
1232
{
1233
"datasource": {
1234
"type": "datasource",
1235
"uid": "grafana"
1236
},
1237
"refId": "A"
1238
}
1239
],
1240
"title": "Workspace Phases",
1241
"type": "row"
1242
},
1243
{
1244
"aliasColors": {},
1245
"bars": false,
1246
"dashLength": 10,
1247
"dashes": false,
1248
"datasource": {
1249
"type": "prometheus",
1250
"uid": "$datasource"
1251
},
1252
"fill": 1,
1253
"fillGradient": 5,
1254
"gridPos": {
1255
"h": 7,
1256
"w": 8,
1257
"x": 0,
1258
"y": 62
1259
},
1260
"hiddenSeries": false,
1261
"id": 8,
1262
"legend": {
1263
"alignAsTable": false,
1264
"avg": false,
1265
"current": false,
1266
"max": false,
1267
"min": false,
1268
"rightSide": false,
1269
"show": true,
1270
"total": false,
1271
"values": false
1272
},
1273
"lines": true,
1274
"linewidth": 1,
1275
"nullPointMode": "null",
1276
"options": {
1277
"alertThreshold": true
1278
},
1279
"percentage": false,
1280
"pluginVersion": "10.4.1",
1281
"pointradius": 5,
1282
"points": false,
1283
"renderer": "flot",
1284
"repeat": "cluster",
1285
"seriesOverrides": [
1286
{
1287
"alias": "Regular - Initializing",
1288
"color": "#C8F2C2"
1289
},
1290
{
1291
"alias": "Regular - Creating",
1292
"color": "#96D98D"
1293
},
1294
{
1295
"alias": "Regular - Pending",
1296
"color": "#56A64B"
1297
},
1298
{
1299
"alias": "Regular - Stopping",
1300
"color": "#37872D"
1301
},
1302
{
1303
"alias": "Regular - Stopped",
1304
"color": "rgb(30, 80, 30)"
1305
},
1306
{
1307
"alias": "Prebuild - Initializing",
1308
"color": "#C0D8FF"
1309
},
1310
{
1311
"alias": "Prebuild - Creating",
1312
"color": "#8AB8FF"
1313
},
1314
{
1315
"alias": "Prebuild - Pending",
1316
"color": "#3274D9"
1317
},
1318
{
1319
"alias": "Prebuild - Stopping",
1320
"color": "#1F60C4"
1321
},
1322
{
1323
"alias": "Prebuild - Stopped",
1324
"color": "rgb(30, 30, 80)"
1325
}
1326
],
1327
"spaceLength": 10,
1328
"stack": false,
1329
"steppedLine": false,
1330
"targets": [
1331
{
1332
"datasource": {
1333
"uid": "$datasource"
1334
},
1335
"editorMode": "code",
1336
"expr": "sum by (type, phase)(gitpod_ws_manager_mk2_workspace_phase_total{cluster=~\"$cluster\",cell=\"$cell\",phase!=\"Running\"})",
1337
"format": "time_series",
1338
"intervalFactor": 2,
1339
"legendFormat": "{{type}} - {{phase}}",
1340
"range": true,
1341
"refId": "A"
1342
}
1343
],
1344
"thresholds": [],
1345
"timeRegions": [],
1346
"title": "$cluster: Workspace Phases",
1347
"tooltip": {
1348
"shared": true,
1349
"sort": 0,
1350
"value_type": "individual"
1351
},
1352
"type": "graph",
1353
"xaxis": {
1354
"mode": "time",
1355
"show": true,
1356
"values": []
1357
},
1358
"yaxes": [
1359
{
1360
"format": "none",
1361
"logBase": 1,
1362
"min": 0,
1363
"show": true
1364
},
1365
{
1366
"format": "none",
1367
"logBase": 1,
1368
"min": 0,
1369
"show": true
1370
}
1371
],
1372
"yaxis": {
1373
"align": false
1374
}
1375
},
1376
{
1377
"collapsed": false,
1378
"datasource": {
1379
"type": "datasource",
1380
"uid": "grafana"
1381
},
1382
"gridPos": {
1383
"h": 1,
1384
"w": 24,
1385
"x": 0,
1386
"y": 69
1387
},
1388
"id": 16,
1389
"panels": [],
1390
"targets": [
1391
{
1392
"datasource": {
1393
"type": "datasource",
1394
"uid": "grafana"
1395
},
1396
"refId": "A"
1397
}
1398
],
1399
"title": "Workspace failures",
1400
"type": "row"
1401
},
1402
{
1403
"aliasColors": {},
1404
"bars": false,
1405
"dashLength": 10,
1406
"dashes": false,
1407
"datasource": {
1408
"uid": "$datasource"
1409
},
1410
"fill": 1,
1411
"fillGradient": 5,
1412
"gridPos": {
1413
"h": 7,
1414
"w": 8,
1415
"x": 0,
1416
"y": 70
1417
},
1418
"hiddenSeries": false,
1419
"id": 9,
1420
"legend": {
1421
"alignAsTable": false,
1422
"avg": false,
1423
"current": false,
1424
"max": false,
1425
"min": false,
1426
"rightSide": false,
1427
"show": true,
1428
"total": false,
1429
"values": false
1430
},
1431
"lines": true,
1432
"linewidth": 1,
1433
"nullPointMode": "null",
1434
"options": {
1435
"alertThreshold": true
1436
},
1437
"percentage": false,
1438
"pluginVersion": "10.4.1",
1439
"pointradius": 5,
1440
"points": false,
1441
"renderer": "flot",
1442
"repeat": "cluster",
1443
"seriesOverrides": [
1444
{
1445
"alias": "Regular",
1446
"color": "#73BF69"
1447
},
1448
{
1449
"alias": "Prebuild",
1450
"color": "#5794F2"
1451
},
1452
{
1453
"alias": "PROBE",
1454
"color": "#B877D9"
1455
}
1456
],
1457
"spaceLength": 10,
1458
"stack": false,
1459
"steppedLine": false,
1460
"targets": [
1461
{
1462
"datasource": {
1463
"uid": "$datasource"
1464
},
1465
"expr": "sum(\n rate(gitpod_ws_manager_mk2_workspace_stops_total{cluster=~\"$cluster\",cell=\"$cell\",reason=\"failed\"}[5m])\n) by (cluster, type) OR on() vector(0)\n",
1466
"format": "time_series",
1467
"intervalFactor": 2,
1468
"legendFormat": "{{type}}",
1469
"refId": "A"
1470
}
1471
],
1472
"thresholds": [],
1473
"timeRegions": [],
1474
"title": "$cluster: Workspace Failures per second",
1475
"tooltip": {
1476
"shared": true,
1477
"sort": 0,
1478
"value_type": "individual"
1479
},
1480
"type": "graph",
1481
"xaxis": {
1482
"mode": "time",
1483
"show": true,
1484
"values": []
1485
},
1486
"yaxes": [
1487
{
1488
"format": "none",
1489
"logBase": 1,
1490
"min": 0,
1491
"show": true
1492
},
1493
{
1494
"format": "none",
1495
"logBase": 1,
1496
"min": 0,
1497
"show": true
1498
}
1499
],
1500
"yaxis": {
1501
"align": false
1502
}
1503
},
1504
{
1505
"collapsed": false,
1506
"datasource": {
1507
"type": "datasource",
1508
"uid": "grafana"
1509
},
1510
"gridPos": {
1511
"h": 1,
1512
"w": 24,
1513
"x": 0,
1514
"y": 77
1515
},
1516
"id": 17,
1517
"panels": [],
1518
"targets": [
1519
{
1520
"datasource": {
1521
"type": "datasource",
1522
"uid": "grafana"
1523
},
1524
"refId": "A"
1525
}
1526
],
1527
"title": "Cluster size",
1528
"type": "row"
1529
},
1530
{
1531
"aliasColors": {},
1532
"bars": false,
1533
"dashLength": 10,
1534
"dashes": false,
1535
"datasource": {
1536
"uid": "$datasource"
1537
},
1538
"fill": 1,
1539
"fillGradient": 5,
1540
"gridPos": {
1541
"h": 7,
1542
"w": 8,
1543
"x": 0,
1544
"y": 78
1545
},
1546
"hiddenSeries": false,
1547
"id": 10,
1548
"legend": {
1549
"alignAsTable": false,
1550
"avg": false,
1551
"current": false,
1552
"max": false,
1553
"min": false,
1554
"rightSide": false,
1555
"show": true,
1556
"total": false,
1557
"values": false
1558
},
1559
"lines": true,
1560
"linewidth": 1,
1561
"nullPointMode": "null",
1562
"options": {
1563
"alertThreshold": true
1564
},
1565
"percentage": false,
1566
"pluginVersion": "10.4.1",
1567
"pointradius": 5,
1568
"points": false,
1569
"renderer": "flot",
1570
"repeat": "cluster",
1571
"seriesOverrides": [],
1572
"spaceLength": 10,
1573
"stack": false,
1574
"steppedLine": false,
1575
"targets": [
1576
{
1577
"datasource": {
1578
"uid": "$datasource"
1579
},
1580
"expr": "count(kube_node_labels{cluster=~\"$cluster\",cell=\"$cell\"}) by (nodepool)",
1581
"format": "time_series",
1582
"intervalFactor": 2,
1583
"legendFormat": "{{nodepool}}",
1584
"refId": "A"
1585
}
1586
],
1587
"thresholds": [],
1588
"timeRegions": [],
1589
"title": "$cluster: Number of nodes",
1590
"tooltip": {
1591
"shared": true,
1592
"sort": 0,
1593
"value_type": "individual"
1594
},
1595
"type": "graph",
1596
"xaxis": {
1597
"mode": "time",
1598
"show": true,
1599
"values": []
1600
},
1601
"yaxes": [
1602
{
1603
"format": "short",
1604
"logBase": 1,
1605
"min": 0,
1606
"show": true
1607
},
1608
{
1609
"format": "short",
1610
"logBase": 1,
1611
"min": 0,
1612
"show": true
1613
}
1614
],
1615
"yaxis": {
1616
"align": false
1617
}
1618
}
1619
],
1620
"refresh": "30s",
1621
"revision": 1,
1622
"schemaVersion": 39,
1623
"tags": [],
1624
"templating": {
1625
"list": [
1626
{
1627
"current": {
1628
"selected": false,
1629
"text": "VictoriaMetrics",
1630
"value": "P4169E866C3094E38"
1631
},
1632
"hide": 0,
1633
"includeAll": false,
1634
"multi": false,
1635
"name": "datasource",
1636
"options": [],
1637
"query": "prometheus",
1638
"queryValue": "",
1639
"refresh": 1,
1640
"regex": "",
1641
"skipUrlSync": false,
1642
"type": "datasource"
1643
},
1644
{
1645
"current": {
1646
"selected": true,
1647
"text": [
1648
"All"
1649
],
1650
"value": [
1651
"$__all"
1652
]
1653
},
1654
"datasource": {
1655
"uid": "$datasource"
1656
},
1657
"definition": "",
1658
"hide": 0,
1659
"includeAll": true,
1660
"multi": true,
1661
"name": "cluster",
1662
"options": [],
1663
"query": {
1664
"query": "label_values(gitpod_ws_manager_mk2_workspace_phase_total, cluster)",
1665
"refId": "VictoriaMetrics-cluster-Variable-Query"
1666
},
1667
"refresh": 2,
1668
"regex": "",
1669
"skipUrlSync": false,
1670
"sort": 1,
1671
"tagValuesQuery": "",
1672
"tagsQuery": "",
1673
"type": "query",
1674
"useTags": false
1675
},
1676
{
1677
"current": {
1678
"isNone": true,
1679
"selected": false,
1680
"text": "None",
1681
"value": ""
1682
},
1683
"datasource": {
1684
"type": "prometheus",
1685
"uid": "$datasource"
1686
},
1687
"definition": "label_values(cell)",
1688
"hide": 0,
1689
"includeAll": false,
1690
"label": "Cell",
1691
"multi": false,
1692
"name": "cell",
1693
"options": [],
1694
"query": {
1695
"query": "label_values(cell)",
1696
"refId": "PrometheusVariableQueryEditor-VariableQuery"
1697
},
1698
"refresh": 1,
1699
"regex": "",
1700
"skipUrlSync": false,
1701
"sort": 0,
1702
"type": "query"
1703
}
1704
]
1705
},
1706
"time": {
1707
"from": "now-1h",
1708
"to": "now"
1709
},
1710
"timepicker": {
1711
"refresh_intervals": [
1712
"5s",
1713
"10s",
1714
"30s",
1715
"1m",
1716
"5m",
1717
"15m",
1718
"30m",
1719
"1h",
1720
"2h",
1721
"1d"
1722
],
1723
"time_options": [
1724
"5m",
1725
"15m",
1726
"1h",
1727
"6h",
1728
"12h",
1729
"24h",
1730
"2d",
1731
"7d",
1732
"30d"
1733
]
1734
},
1735
"timezone": "utc",
1736
"title": "Gitpod / Overview",
1737
"uid": "gitpod-overview",
1738
"version": 1,
1739
"weekStart": ""
1740
}
1741
1742