mirror of
https://github.com/rfmoz/grafana-dashboards.git
synced 2025-03-05 20:51:45 -08:00
Merge pull request #28 from f9n/patch-1
Use scalar query function instead of count_scalar
This commit is contained in:
commit
5fcf1a1613
|
@ -179,7 +179,7 @@
|
||||||
"step": 120
|
"step": 120
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "count_scalar(apache_up{instance=~\"$host:$port\"} == 0)",
|
"expr": "scalar(count(apache_up{instance=~\"$host:$port\"} == 0))",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"intervalFactor": 2,
|
"intervalFactor": 2,
|
||||||
"legendFormat": "Apache Down",
|
"legendFormat": "Apache Down",
|
||||||
|
|
Loading…
Reference in a new issue