Skip to content

Commit

Permalink
.maintain/monitoring: Ensure to sum over all connections_closed variants
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Jun 22, 2020
1 parent 68c4f31 commit 2d2f93e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1790,7 +1790,7 @@
"steppedLine": false,
"targets": [
{
"expr": "avg(increase(${metric_namespace}_sub_libp2p_connections_closed_total{instance=~\"${nodename}\"}[$__interval])) by (reason)",
"expr": "avg(sum(rate(${metric_namespace}_sub_libp2p_connections_closed_total{instance=~\"${nodename}\"}[$__interval])) by (instance, reason)) by (reason)",
"interval": "",
"legendFormat": "{{reason}}",
"refId": "A"
Expand Down Expand Up @@ -2719,4 +2719,4 @@
"list": []
},
"version": 103
}
}

0 comments on commit 2d2f93e

Please sign in to comment.