Skip to content

Commit 2d2f93e

Browse files
committed
.maintain/monitoring: Ensure to sum over all connections_closed variants
1 parent 68c4f31 commit 2d2f93e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.maintain/monitoring/grafana-dashboards/substrate-networking.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,7 +1790,7 @@
17901790
"steppedLine": false,
17911791
"targets": [
17921792
{
1793-
"expr": "avg(increase(${metric_namespace}_sub_libp2p_connections_closed_total{instance=~\"${nodename}\"}[$__interval])) by (reason)",
1793+
"expr": "avg(sum(rate(${metric_namespace}_sub_libp2p_connections_closed_total{instance=~\"${nodename}\"}[$__interval])) by (instance, reason)) by (reason)",
17941794
"interval": "",
17951795
"legendFormat": "{{reason}}",
17961796
"refId": "A"
@@ -2719,4 +2719,4 @@
27192719
"list": []
27202720
},
27212721
"version": 103
2722-
}
2722+
}

0 commit comments

Comments
 (0)