Fix #83 - Active Sessions panel without rate

This commit is contained in:
Ricardo F 2021-07-07 12:20:34 +02:00
parent 3072e63640
commit 7d61c79619

View file

@ -54,7 +54,7 @@
"gnetId": 367,
"graphTooltip": 1,
"id": null,
"iteration": 1621339804258,
"iteration": 1625652439066,
"links": [],
"panels": [
{
@ -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",
@ -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",