Replace deprecated count_scalar with count

This commit is contained in:
Ricardo F 2017-12-21 08:33:53 +01:00
parent a092b5ec7b
commit 449bafa3ad

View file

@ -95,7 +95,7 @@
"step": 60
},
{
"expr": "count_scalar(haproxy_backend_up{instance=~\"$host:$port\"} == 0)",
"expr": "count(haproxy_backend_up{instance=~\"$host:$port\"} == 0)",
"interval": "$interval",
"intervalFactor": 2,
"legendFormat": "Backends Down",