Skip to content

Commit b476d49

Browse files
committed
[ETCM-715] Add Grafana panel: tried/discovered
1 parent 525b9ab commit b476d49

File tree

1 file changed

+138
-0
lines changed

1 file changed

+138
-0
lines changed

docker/mantis/grafana/provisioning/dashboards/mantis-dashboard.json

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3017,6 +3017,144 @@
30173017
"alignLevel": null
30183018
}
30193019
},
3020+
{
3021+
"aliasColors": {},
3022+
"bars": false,
3023+
"dashLength": 10,
3024+
"dashes": false,
3025+
"datasource": "Prometheus",
3026+
"fieldConfig": {
3027+
"defaults": {
3028+
"custom": {},
3029+
"links": []
3030+
},
3031+
"overrides": []
3032+
},
3033+
"fill": 0,
3034+
"fillGradient": 0,
3035+
"gridPos": {
3036+
"h": 8,
3037+
"w": 24,
3038+
"x": 0,
3039+
"y": 8
3040+
},
3041+
"hiddenSeries": false,
3042+
"id": 84,
3043+
"legend": {
3044+
"avg": false,
3045+
"current": false,
3046+
"hideEmpty": false,
3047+
"max": false,
3048+
"min": false,
3049+
"show": true,
3050+
"total": false,
3051+
"values": false
3052+
},
3053+
"lines": true,
3054+
"linewidth": 1,
3055+
"nullPointMode": "connected",
3056+
"options": {
3057+
"alertThreshold": true
3058+
},
3059+
"percentage": true,
3060+
"pluginVersion": "7.3.6",
3061+
"pointradius": 0.5,
3062+
"points": false,
3063+
"renderer": "flot",
3064+
"seriesOverrides": [
3065+
{
3066+
"alias": "nb_tried_peers",
3067+
"hiddenSeries": true,
3068+
"hideTooltip": true,
3069+
"legend": false
3070+
},
3071+
{
3072+
"alias": "nb_discovered_peers",
3073+
"hiddenSeries": true,
3074+
"hideTooltip": true,
3075+
"legend": false
3076+
}
3077+
],
3078+
"spaceLength": 10,
3079+
"stack": false,
3080+
"steppedLine": false,
3081+
"targets": [
3082+
{
3083+
"expr": "app_network_tried_peers_gauge",
3084+
"interval": "",
3085+
"legendFormat": "nb_tried_peers",
3086+
"refId": "Number of tried peers"
3087+
},
3088+
{
3089+
"expr": "app_network_discovery_foundPeers_gauge",
3090+
"interval": "",
3091+
"legendFormat": "nb_discovered_peers",
3092+
"refId": "Number discovered peers"
3093+
}
3094+
],
3095+
"thresholds": [],
3096+
"timeFrom": null,
3097+
"timeRegions": [],
3098+
"timeShift": null,
3099+
"title": "Ratio of tried / discovered peers",
3100+
"tooltip": {
3101+
"shared": true,
3102+
"sort": 0,
3103+
"value_type": "individual"
3104+
},
3105+
"transformations": [
3106+
{
3107+
"id": "calculateField",
3108+
"options": {
3109+
"alias": "Ratio",
3110+
"binary": {
3111+
"left": "nb_tried_peers",
3112+
"operator": "/",
3113+
"reducer": "sum",
3114+
"right": "nb_discovered_peers"
3115+
},
3116+
"mode": "binary",
3117+
"reduce": {
3118+
"include": [
3119+
"{{instance}}"
3120+
],
3121+
"reducer": "sum"
3122+
}
3123+
}
3124+
}
3125+
],
3126+
"type": "graph",
3127+
"xaxis": {
3128+
"buckets": null,
3129+
"mode": "time",
3130+
"name": null,
3131+
"show": true,
3132+
"values": []
3133+
},
3134+
"yaxes": [
3135+
{
3136+
"decimals": null,
3137+
"format": "percentunit",
3138+
"label": "%",
3139+
"logBase": 1,
3140+
"max": 1,
3141+
"min": 0,
3142+
"show": true
3143+
},
3144+
{
3145+
"format": "short",
3146+
"label": null,
3147+
"logBase": 1,
3148+
"max": null,
3149+
"min": null,
3150+
"show": false
3151+
}
3152+
],
3153+
"yaxis": {
3154+
"align": false,
3155+
"alignLevel": null
3156+
}
3157+
},
30203158
{
30213159
"aliasColors": {},
30223160
"bars": false,

0 commit comments

Comments
 (0)