Skip to content

Commit

Permalink
Fix #83 - Active Sessions panel without rate
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo F committed Jul 7, 2021
1 parent 3072e63 commit 7d61c79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prometheus/haproxy-2-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"gnetId": 367,
"graphTooltip": 1,
"id": null,
"iteration": 1621339804258,
"iteration": 1625652439066,
"links": [],
"panels": [
{
Expand Down Expand Up @@ -742,7 +742,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(haproxy_frontend_current_sessions{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])) by (instance)",
"expr": "sum(haproxy_frontend_current_sessions{proxy=~\"$frontend\",instance=\"$host\"}) by (instance)",
"interval": "$interval",
"intervalFactor": 1,
"legendFormat": "Front",
Expand All @@ -751,7 +751,7 @@
"step": 240
},
{
"expr": "sum(rate(haproxy_backend_current_sessions{proxy=~\"$frontend\",instance=\"$host\"}[$__rate_interval])) by (instance)",
"expr": "sum(haproxy_backend_current_sessions{proxy=~\"$frontend\",instance=\"$host\"}) by (instance)",
"interval": "$interval",
"intervalFactor": 1,
"legendFormat": "Back",
Expand Down

0 comments on commit 7d61c79

Please sign in to comment.