Skip to content

Commit 6b20f5d

Browse files
committed
healthy peers
1 parent 706151c commit 6b20f5d

File tree

1 file changed

+104
-3
lines changed

1 file changed

+104
-3
lines changed

grafana/dashboards/monitoring.json

Lines changed: 104 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,8 @@
649649
"mode": "absolute",
650650
"steps": [
651651
{
652-
"color": "green"
652+
"color": "green",
653+
"value": null
653654
},
654655
{
655656
"color": "red",
@@ -700,6 +701,106 @@
700701
],
701702
"title": "libp2p unhealthy peers (d_low)",
702703
"type": "timeseries"
704+
},
705+
{
706+
"datasource": {
707+
"type": "prometheus",
708+
"uid": "PBFA97CFB590B2093"
709+
},
710+
"description": "",
711+
"fieldConfig": {
712+
"defaults": {
713+
"color": {
714+
"mode": "palette-classic"
715+
},
716+
"custom": {
717+
"axisBorderShow": false,
718+
"axisCenteredZero": false,
719+
"axisColorMode": "text",
720+
"axisLabel": "",
721+
"axisPlacement": "auto",
722+
"barAlignment": 0,
723+
"drawStyle": "line",
724+
"fillOpacity": 0,
725+
"gradientMode": "none",
726+
"hideFrom": {
727+
"legend": false,
728+
"tooltip": false,
729+
"viz": false
730+
},
731+
"insertNulls": false,
732+
"lineInterpolation": "linear",
733+
"lineWidth": 1,
734+
"pointSize": 5,
735+
"scaleDistribution": {
736+
"type": "linear"
737+
},
738+
"showPoints": "auto",
739+
"spanNulls": false,
740+
"stacking": {
741+
"group": "A",
742+
"mode": "none"
743+
},
744+
"thresholdsStyle": {
745+
"mode": "off"
746+
}
747+
},
748+
"mappings": [],
749+
"thresholds": {
750+
"mode": "absolute",
751+
"steps": [
752+
{
753+
"color": "green",
754+
"value": null
755+
},
756+
{
757+
"color": "red",
758+
"value": 80
759+
}
760+
]
761+
}
762+
},
763+
"overrides": []
764+
},
765+
"gridPos": {
766+
"h": 8,
767+
"w": 12,
768+
"x": 12,
769+
"y": 24
770+
},
771+
"id": 9,
772+
"options": {
773+
"legend": {
774+
"calcs": [],
775+
"displayMode": "list",
776+
"placement": "bottom",
777+
"showLegend": true
778+
},
779+
"tooltip": {
780+
"mode": "multi",
781+
"sort": "none"
782+
}
783+
},
784+
"targets": [
785+
{
786+
"datasource": {
787+
"type": "prometheus",
788+
"uid": "PBFA97CFB590B2093"
789+
},
790+
"disableTextWrap": false,
791+
"editorMode": "builder",
792+
"expr": "libp2p_gossipsub_healthy_peers_topics",
793+
"fullMetaSearch": false,
794+
"includeNullMetadata": true,
795+
"instant": false,
796+
"legendFormat": "{{instance}}",
797+
"range": true,
798+
"refId": "A",
799+
"useBackend": false
800+
}
801+
],
802+
"title": "libp2p healthy peers",
803+
"type": "timeseries"
703804
}
704805
],
705806
"refresh": "",
@@ -709,13 +810,13 @@
709810
"list": []
710811
},
711812
"time": {
712-
"from": "now-5m",
813+
"from": "now-30m",
713814
"to": "now"
714815
},
715816
"timepicker": {},
716817
"timezone": "browser",
717818
"title": "local nimlibp2p",
718819
"uid": "c3dc4cf1-d3c3-4682-85a6-af2bc6b55d69",
719-
"version": 2,
820+
"version": 1,
720821
"weekStart": ""
721822
}

0 commit comments

Comments
 (0)