Skip to content

Commit 30a4280

Browse files
authored
Add IPFS storage to overview dashboard (#18949)
1 parent c7f8c35 commit 30a4280

File tree

1 file changed

+138
-26
lines changed

1 file changed

+138
-26
lines changed

operations/observability/mixins/cross-teams/dashboards/gitpod-overview.json

Lines changed: 138 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
},
9696
"textMode": "value"
9797
},
98-
"pluginVersion": "9.5.1",
98+
"pluginVersion": "9.5.3",
9999
"targets": [
100100
{
101101
"datasource": {
@@ -161,7 +161,7 @@
161161
},
162162
"textMode": "auto"
163163
},
164-
"pluginVersion": "9.5.1",
164+
"pluginVersion": "9.5.3",
165165
"targets": [
166166
{
167167
"datasource": {
@@ -245,7 +245,7 @@
245245
"showUnfilled": true,
246246
"valueMode": "color"
247247
},
248-
"pluginVersion": "9.5.1",
248+
"pluginVersion": "9.5.3",
249249
"targets": [
250250
{
251251
"datasource": {
@@ -305,7 +305,7 @@
305305
"showUnfilled": true,
306306
"valueMode": "color"
307307
},
308-
"pluginVersion": "9.5.1",
308+
"pluginVersion": "9.5.3",
309309
"targets": [
310310
{
311311
"datasource": {
@@ -456,7 +456,7 @@
456456
"fillGradient": 5,
457457
"gridPos": {
458458
"h": 7,
459-
"w": 24,
459+
"w": 12,
460460
"x": 0,
461461
"y": 13
462462
},
@@ -481,7 +481,7 @@
481481
"alertThreshold": true
482482
},
483483
"percentage": false,
484-
"pluginVersion": "9.5.1",
484+
"pluginVersion": "9.5.3",
485485
"pointradius": 5,
486486
"points": false,
487487
"renderer": "flot",
@@ -578,6 +578,118 @@
578578
"align": false
579579
}
580580
},
581+
{
582+
"collapsed": false,
583+
"gridPos": {
584+
"h": 1,
585+
"w": 24,
586+
"x": 0,
587+
"y": 20
588+
},
589+
"id": 28,
590+
"panels": [],
591+
"title": "IPFS Storage",
592+
"type": "row"
593+
},
594+
{
595+
"datasource": {
596+
"type": "prometheus",
597+
"uid": "${datasource}"
598+
},
599+
"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.",
600+
"fieldConfig": {
601+
"defaults": {
602+
"color": {
603+
"mode": "palette-classic"
604+
},
605+
"custom": {
606+
"axisCenteredZero": false,
607+
"axisColorMode": "text",
608+
"axisLabel": "",
609+
"axisPlacement": "auto",
610+
"barAlignment": 0,
611+
"drawStyle": "line",
612+
"fillOpacity": 0,
613+
"gradientMode": "none",
614+
"hideFrom": {
615+
"legend": false,
616+
"tooltip": false,
617+
"viz": false
618+
},
619+
"lineInterpolation": "linear",
620+
"lineWidth": 1,
621+
"pointSize": 5,
622+
"scaleDistribution": {
623+
"type": "linear"
624+
},
625+
"showPoints": "auto",
626+
"spanNulls": false,
627+
"stacking": {
628+
"group": "A",
629+
"mode": "none"
630+
},
631+
"thresholdsStyle": {
632+
"mode": "dashed"
633+
}
634+
},
635+
"mappings": [],
636+
"min": 0,
637+
"thresholds": {
638+
"mode": "absolute",
639+
"steps": [
640+
{
641+
"color": "green",
642+
"value": null
643+
},
644+
{
645+
"color": "red",
646+
"value": 214748364800
647+
},
648+
{
649+
"color": "#EAB839",
650+
"value": 644245094410
651+
}
652+
]
653+
},
654+
"unit": "bytes"
655+
},
656+
"overrides": []
657+
},
658+
"gridPos": {
659+
"h": 7,
660+
"w": 24,
661+
"x": 0,
662+
"y": 21
663+
},
664+
"id": 35,
665+
"options": {
666+
"legend": {
667+
"calcs": [],
668+
"displayMode": "list",
669+
"placement": "bottom",
670+
"showLegend": true
671+
},
672+
"tooltip": {
673+
"mode": "single",
674+
"sort": "none"
675+
}
676+
},
677+
"targets": [
678+
{
679+
"datasource": {
680+
"type": "prometheus",
681+
"uid": "${datasource}"
682+
},
683+
"editorMode": "code",
684+
"expr": "min(node_filesystem_avail_bytes{device=\"/dev/mapper/lvm--disk-ipfs\", node=~\"services-.*\", cluster=~\"$cluster\"}) by (cluster)",
685+
"legendFormat": "__auto",
686+
"range": true,
687+
"refId": "A"
688+
}
689+
],
690+
"title": "IPFS Storage Remaining",
691+
"type": "timeseries"
692+
},
581693
{
582694
"collapsed": false,
583695
"datasource": {
@@ -588,7 +700,7 @@
588700
"h": 1,
589701
"w": 24,
590702
"x": 0,
591-
"y": 503
703+
"y": 28
592704
},
593705
"id": 13,
594706
"panels": [],
@@ -617,9 +729,9 @@
617729
"fillGradient": 5,
618730
"gridPos": {
619731
"h": 7,
620-
"w": 24,
732+
"w": 12,
621733
"x": 0,
622-
"y": 504
734+
"y": 29
623735
},
624736
"hiddenSeries": false,
625737
"id": 6,
@@ -642,7 +754,7 @@
642754
"alertThreshold": true
643755
},
644756
"percentage": false,
645-
"pluginVersion": "9.5.1",
757+
"pluginVersion": "9.5.3",
646758
"pointradius": 5,
647759
"points": false,
648760
"renderer": "flot",
@@ -720,7 +832,7 @@
720832
"h": 1,
721833
"w": 24,
722834
"x": 0,
723-
"y": 994
835+
"y": 36
724836
},
725837
"id": 14,
726838
"panels": [],
@@ -767,9 +879,9 @@
767879
},
768880
"gridPos": {
769881
"h": 7,
770-
"w": 24,
882+
"w": 12,
771883
"x": 0,
772-
"y": 995
884+
"y": 37
773885
},
774886
"heatmap": {},
775887
"hideZeroBuckets": true,
@@ -815,7 +927,7 @@
815927
"unit": "s"
816928
}
817929
},
818-
"pluginVersion": "9.5.1",
930+
"pluginVersion": "9.5.3",
819931
"repeat": "cluster",
820932
"targets": [
821933
{
@@ -856,7 +968,7 @@
856968
"h": 1,
857969
"w": 24,
858970
"x": 0,
859-
"y": 1485
971+
"y": 44
860972
},
861973
"id": 15,
862974
"panels": [],
@@ -885,9 +997,9 @@
885997
"fillGradient": 5,
886998
"gridPos": {
887999
"h": 7,
888-
"w": 24,
1000+
"w": 12,
8891001
"x": 0,
890-
"y": 1486
1002+
"y": 45
8911003
},
8921004
"hiddenSeries": false,
8931005
"id": 8,
@@ -910,7 +1022,7 @@
9101022
"alertThreshold": true
9111023
},
9121024
"percentage": false,
913-
"pluginVersion": "9.5.1",
1025+
"pluginVersion": "9.5.3",
9141026
"pointradius": 5,
9151027
"points": false,
9161028
"renderer": "flot",
@@ -1016,7 +1128,7 @@
10161128
"h": 1,
10171129
"w": 24,
10181130
"x": 0,
1019-
"y": 1976
1131+
"y": 52
10201132
},
10211133
"id": 16,
10221134
"panels": [],
@@ -1044,9 +1156,9 @@
10441156
"fillGradient": 5,
10451157
"gridPos": {
10461158
"h": 7,
1047-
"w": 24,
1159+
"w": 12,
10481160
"x": 0,
1049-
"y": 1977
1161+
"y": 53
10501162
},
10511163
"hiddenSeries": false,
10521164
"id": 9,
@@ -1069,7 +1181,7 @@
10691181
"alertThreshold": true
10701182
},
10711183
"percentage": false,
1072-
"pluginVersion": "9.5.1",
1184+
"pluginVersion": "9.5.3",
10731185
"pointradius": 5,
10741186
"points": false,
10751187
"renderer": "flot",
@@ -1145,7 +1257,7 @@
11451257
"h": 1,
11461258
"w": 24,
11471259
"x": 0,
1148-
"y": 2467
1260+
"y": 60
11491261
},
11501262
"id": 17,
11511263
"panels": [],
@@ -1173,9 +1285,9 @@
11731285
"fillGradient": 5,
11741286
"gridPos": {
11751287
"h": 7,
1176-
"w": 24,
1288+
"w": 12,
11771289
"x": 0,
1178-
"y": 2468
1290+
"y": 61
11791291
},
11801292
"hiddenSeries": false,
11811293
"id": 10,
@@ -1198,7 +1310,7 @@
11981310
"alertThreshold": true
11991311
},
12001312
"percentage": false,
1201-
"pluginVersion": "9.5.1",
1313+
"pluginVersion": "9.5.3",
12021314
"pointradius": 5,
12031315
"points": false,
12041316
"renderer": "flot",

0 commit comments

Comments
 (0)