Skip to content

Commit d9f44b2

Browse files
ailispnearprotocol-bulldozer[bot]
authored andcommitted
fix a few queries which was work for only one node by aggregate (#1563)
* fix a few queries which was work for only one node by aggregate * Merge branch 'staging' into fix-dashboard
1 parent 4232872 commit d9f44b2

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

conf/grafana-dashboard.json

+22-11
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
"showThresholdLabels": false,
242242
"showThresholdMarkers": true
243243
},
244-
"pluginVersion": "6.3.5",
244+
"pluginVersion": "6.4.3",
245245
"targets": [
246246
{
247247
"expr": "(block_processing_time_sum / block_processing_time_count) * 1000",
@@ -408,7 +408,7 @@
408408
"tableColumn": "",
409409
"targets": [
410410
{
411-
"expr": "block_height_head",
411+
"expr": "max(block_height_head)",
412412
"refId": "A"
413413
}
414414
],
@@ -425,7 +425,7 @@
425425
"value": "null"
426426
}
427427
],
428-
"valueName": "current"
428+
"valueName": "max"
429429
},
430430
{
431431
"cacheTimeout": null,
@@ -491,7 +491,7 @@
491491
"tableColumn": "",
492492
"targets": [
493493
{
494-
"expr": "http_rpc_requests_total",
494+
"expr": "sum(http_rpc_requests_total)",
495495
"refId": "A"
496496
}
497497
],
@@ -574,7 +574,7 @@
574574
"tableColumn": "",
575575
"targets": [
576576
{
577-
"expr": "http_status_requests_total",
577+
"expr": "sum(http_status_requests_total)",
578578
"refId": "A"
579579
}
580580
],
@@ -657,7 +657,7 @@
657657
"tableColumn": "",
658658
"targets": [
659659
{
660-
"expr": "http_prometheus_requests_total",
660+
"expr": "sum(http_prometheus_requests_total)",
661661
"refId": "A"
662662
}
663663
],
@@ -693,11 +693,16 @@
693693
],
694694
"defaults": {
695695
"mappings": [],
696+
"max": 100,
696697
"min": 0,
697698
"thresholds": [
698699
{
699700
"color": "green",
700701
"value": null
702+
},
703+
{
704+
"color": "red",
705+
"value": 80
701706
}
702707
]
703708
},
@@ -706,7 +711,7 @@
706711
},
707712
"orientation": "horizontal"
708713
},
709-
"pluginVersion": "6.3.5",
714+
"pluginVersion": "6.4.3",
710715
"targets": [
711716
{
712717
"expr": "action_create_account_total",
@@ -765,11 +770,16 @@
765770
],
766771
"defaults": {
767772
"mappings": [],
773+
"max": 100,
768774
"min": 0,
769775
"thresholds": [
770776
{
771777
"color": "orange",
772778
"value": null
779+
},
780+
{
781+
"color": "red",
782+
"value": 80
773783
}
774784
]
775785
},
@@ -778,7 +788,7 @@
778788
},
779789
"orientation": "horizontal"
780790
},
781-
"pluginVersion": "6.3.5",
791+
"pluginVersion": "6.4.3",
782792
"targets": [
783793
{
784794
"expr": "peer_connections_total",
@@ -875,7 +885,7 @@
875885
"tableColumn": "",
876886
"targets": [
877887
{
878-
"expr": "validator_active_total",
888+
"expr": "sum(validator_active_total)",
879889
"legendFormat": "",
880890
"refId": "A"
881891
}
@@ -900,6 +910,7 @@
900910
"bars": false,
901911
"dashLength": 10,
902912
"dashes": false,
913+
"datasource": null,
903914
"fill": 1,
904915
"fillGradient": 0,
905916
"gridPos": {
@@ -982,7 +993,7 @@
982993
}
983994
],
984995
"refresh": "5s",
985-
"schemaVersion": 19,
996+
"schemaVersion": 20,
986997
"style": "dark",
987998
"tags": [],
988999
"templating": {
@@ -1009,5 +1020,5 @@
10091020
"timezone": "",
10101021
"title": "nearcore",
10111022
"uid": "qgvhAH2Wk",
1012-
"version": 12
1023+
"version": 7
10131024
}

0 commit comments

Comments
 (0)