Skip to content

Commit e7e4a9e

Browse files
abcxffMasterPtato
authored andcommitted
feat(grafana): fix api dashboards
1 parent c913996 commit e7e4a9e

File tree

12 files changed

+270
-90
lines changed

12 files changed

+270
-90
lines changed

engine/docker/dev-host/grafana/dashboards/guard.json

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@
9292
"id": 10,
9393
"options": {
9494
"legend": {
95-
"calcs": ["lastNotNull"],
95+
"calcs": [
96+
"lastNotNull"
97+
],
9698
"displayMode": "table",
9799
"placement": "bottom",
98100
"showLegend": true,
@@ -196,7 +198,9 @@
196198
"id": 11,
197199
"options": {
198200
"legend": {
199-
"calcs": ["lastNotNull"],
201+
"calcs": [
202+
"lastNotNull"
203+
],
200204
"displayMode": "table",
201205
"placement": "bottom",
202206
"showLegend": true,
@@ -300,7 +304,9 @@
300304
"id": 12,
301305
"options": {
302306
"legend": {
303-
"calcs": ["lastNotNull"],
307+
"calcs": [
308+
"lastNotNull"
309+
],
304310
"displayMode": "table",
305311
"placement": "bottom",
306312
"showLegend": true,
@@ -404,7 +410,9 @@
404410
"id": 2,
405411
"options": {
406412
"legend": {
407-
"calcs": ["lastNotNull"],
413+
"calcs": [
414+
"lastNotNull"
415+
],
408416
"displayMode": "table",
409417
"placement": "bottom",
410418
"showLegend": true,
@@ -509,7 +517,9 @@
509517
"id": 5,
510518
"options": {
511519
"legend": {
512-
"calcs": ["lastNotNull"],
520+
"calcs": [
521+
"lastNotNull"
522+
],
513523
"displayMode": "table",
514524
"placement": "bottom",
515525
"showLegend": true,
@@ -717,7 +727,9 @@
717727
"id": 7,
718728
"options": {
719729
"legend": {
720-
"calcs": ["lastNotNull"],
730+
"calcs": [
731+
"lastNotNull"
732+
],
721733
"displayMode": "table",
722734
"placement": "bottom",
723735
"showLegend": true,
@@ -822,7 +834,9 @@
822834
"id": 8,
823835
"options": {
824836
"legend": {
825-
"calcs": ["lastNotNull"],
837+
"calcs": [
838+
"lastNotNull"
839+
],
826840
"displayMode": "table",
827841
"placement": "bottom",
828842
"showLegend": true,

engine/docker/dev-host/grafana/dashboards/tokio.json

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@
9393
"id": 24,
9494
"options": {
9595
"legend": {
96-
"calcs": ["lastNotNull"],
96+
"calcs": [
97+
"lastNotNull"
98+
],
9799
"displayMode": "table",
98100
"placement": "bottom",
99101
"showLegend": false,
@@ -198,7 +200,9 @@
198200
"id": 27,
199201
"options": {
200202
"legend": {
201-
"calcs": ["lastNotNull"],
203+
"calcs": [
204+
"lastNotNull"
205+
],
202206
"displayMode": "table",
203207
"placement": "bottom",
204208
"showLegend": false,
@@ -414,7 +418,9 @@
414418
"id": 26,
415419
"options": {
416420
"legend": {
417-
"calcs": ["lastNotNull"],
421+
"calcs": [
422+
"lastNotNull"
423+
],
418424
"displayMode": "table",
419425
"placement": "bottom",
420426
"showLegend": false,
@@ -630,7 +636,9 @@
630636
"id": 25,
631637
"options": {
632638
"legend": {
633-
"calcs": ["lastNotNull"],
639+
"calcs": [
640+
"lastNotNull"
641+
],
634642
"displayMode": "table",
635643
"placement": "bottom",
636644
"showLegend": false,
@@ -735,7 +743,9 @@
735743
"id": 28,
736744
"options": {
737745
"legend": {
738-
"calcs": ["lastNotNull"],
746+
"calcs": [
747+
"lastNotNull"
748+
],
739749
"displayMode": "table",
740750
"placement": "bottom",
741751
"showLegend": false,
@@ -840,7 +850,9 @@
840850
"id": 29,
841851
"options": {
842852
"legend": {
843-
"calcs": ["lastNotNull"],
853+
"calcs": [
854+
"lastNotNull"
855+
],
844856
"displayMode": "table",
845857
"placement": "bottom",
846858
"showLegend": false,
@@ -956,8 +968,12 @@
956968
},
957969
{
958970
"current": {
959-
"text": ["All"],
960-
"value": ["$__all"]
971+
"text": [
972+
"All"
973+
],
974+
"value": [
975+
"$__all"
976+
]
961977
},
962978
"datasource": {
963979
"type": "grafana-clickhouse-datasource",

engine/docker/dev-multidc-multinode/core/grafana/dashboards/guard.json

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@
9292
"id": 10,
9393
"options": {
9494
"legend": {
95-
"calcs": ["lastNotNull"],
95+
"calcs": [
96+
"lastNotNull"
97+
],
9698
"displayMode": "table",
9799
"placement": "bottom",
98100
"showLegend": true,
@@ -196,7 +198,9 @@
196198
"id": 11,
197199
"options": {
198200
"legend": {
199-
"calcs": ["lastNotNull"],
201+
"calcs": [
202+
"lastNotNull"
203+
],
200204
"displayMode": "table",
201205
"placement": "bottom",
202206
"showLegend": true,
@@ -300,7 +304,9 @@
300304
"id": 12,
301305
"options": {
302306
"legend": {
303-
"calcs": ["lastNotNull"],
307+
"calcs": [
308+
"lastNotNull"
309+
],
304310
"displayMode": "table",
305311
"placement": "bottom",
306312
"showLegend": true,
@@ -404,7 +410,9 @@
404410
"id": 2,
405411
"options": {
406412
"legend": {
407-
"calcs": ["lastNotNull"],
413+
"calcs": [
414+
"lastNotNull"
415+
],
408416
"displayMode": "table",
409417
"placement": "bottom",
410418
"showLegend": true,
@@ -509,7 +517,9 @@
509517
"id": 5,
510518
"options": {
511519
"legend": {
512-
"calcs": ["lastNotNull"],
520+
"calcs": [
521+
"lastNotNull"
522+
],
513523
"displayMode": "table",
514524
"placement": "bottom",
515525
"showLegend": true,
@@ -717,7 +727,9 @@
717727
"id": 7,
718728
"options": {
719729
"legend": {
720-
"calcs": ["lastNotNull"],
730+
"calcs": [
731+
"lastNotNull"
732+
],
721733
"displayMode": "table",
722734
"placement": "bottom",
723735
"showLegend": true,
@@ -822,7 +834,9 @@
822834
"id": 8,
823835
"options": {
824836
"legend": {
825-
"calcs": ["lastNotNull"],
837+
"calcs": [
838+
"lastNotNull"
839+
],
826840
"displayMode": "table",
827841
"placement": "bottom",
828842
"showLegend": true,

engine/docker/dev-multidc-multinode/core/grafana/dashboards/tokio.json

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,9 @@
9393
"id": 24,
9494
"options": {
9595
"legend": {
96-
"calcs": ["lastNotNull"],
96+
"calcs": [
97+
"lastNotNull"
98+
],
9799
"displayMode": "table",
98100
"placement": "bottom",
99101
"showLegend": false,
@@ -198,7 +200,9 @@
198200
"id": 27,
199201
"options": {
200202
"legend": {
201-
"calcs": ["lastNotNull"],
203+
"calcs": [
204+
"lastNotNull"
205+
],
202206
"displayMode": "table",
203207
"placement": "bottom",
204208
"showLegend": false,
@@ -414,7 +418,9 @@
414418
"id": 26,
415419
"options": {
416420
"legend": {
417-
"calcs": ["lastNotNull"],
421+
"calcs": [
422+
"lastNotNull"
423+
],
418424
"displayMode": "table",
419425
"placement": "bottom",
420426
"showLegend": false,
@@ -630,7 +636,9 @@
630636
"id": 25,
631637
"options": {
632638
"legend": {
633-
"calcs": ["lastNotNull"],
639+
"calcs": [
640+
"lastNotNull"
641+
],
634642
"displayMode": "table",
635643
"placement": "bottom",
636644
"showLegend": false,
@@ -735,7 +743,9 @@
735743
"id": 28,
736744
"options": {
737745
"legend": {
738-
"calcs": ["lastNotNull"],
746+
"calcs": [
747+
"lastNotNull"
748+
],
739749
"displayMode": "table",
740750
"placement": "bottom",
741751
"showLegend": false,
@@ -840,7 +850,9 @@
840850
"id": 29,
841851
"options": {
842852
"legend": {
843-
"calcs": ["lastNotNull"],
853+
"calcs": [
854+
"lastNotNull"
855+
],
844856
"displayMode": "table",
845857
"placement": "bottom",
846858
"showLegend": false,
@@ -956,8 +968,12 @@
956968
},
957969
{
958970
"current": {
959-
"text": ["All"],
960-
"value": ["$__all"]
971+
"text": [
972+
"All"
973+
],
974+
"value": [
975+
"$__all"
976+
]
961977
},
962978
"datasource": {
963979
"type": "grafana-clickhouse-datasource",

engine/docker/dev-multidc/core/grafana/dashboards/guard.json

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@
9292
"id": 10,
9393
"options": {
9494
"legend": {
95-
"calcs": ["lastNotNull"],
95+
"calcs": [
96+
"lastNotNull"
97+
],
9698
"displayMode": "table",
9799
"placement": "bottom",
98100
"showLegend": true,
@@ -196,7 +198,9 @@
196198
"id": 11,
197199
"options": {
198200
"legend": {
199-
"calcs": ["lastNotNull"],
201+
"calcs": [
202+
"lastNotNull"
203+
],
200204
"displayMode": "table",
201205
"placement": "bottom",
202206
"showLegend": true,
@@ -300,7 +304,9 @@
300304
"id": 12,
301305
"options": {
302306
"legend": {
303-
"calcs": ["lastNotNull"],
307+
"calcs": [
308+
"lastNotNull"
309+
],
304310
"displayMode": "table",
305311
"placement": "bottom",
306312
"showLegend": true,
@@ -404,7 +410,9 @@
404410
"id": 2,
405411
"options": {
406412
"legend": {
407-
"calcs": ["lastNotNull"],
413+
"calcs": [
414+
"lastNotNull"
415+
],
408416
"displayMode": "table",
409417
"placement": "bottom",
410418
"showLegend": true,
@@ -509,7 +517,9 @@
509517
"id": 5,
510518
"options": {
511519
"legend": {
512-
"calcs": ["lastNotNull"],
520+
"calcs": [
521+
"lastNotNull"
522+
],
513523
"displayMode": "table",
514524
"placement": "bottom",
515525
"showLegend": true,
@@ -717,7 +727,9 @@
717727
"id": 7,
718728
"options": {
719729
"legend": {
720-
"calcs": ["lastNotNull"],
730+
"calcs": [
731+
"lastNotNull"
732+
],
721733
"displayMode": "table",
722734
"placement": "bottom",
723735
"showLegend": true,
@@ -822,7 +834,9 @@
822834
"id": 8,
823835
"options": {
824836
"legend": {
825-
"calcs": ["lastNotNull"],
837+
"calcs": [
838+
"lastNotNull"
839+
],
826840
"displayMode": "table",
827841
"placement": "bottom",
828842
"showLegend": true,

0 commit comments

Comments
 (0)