diff --git a/prometheus/apache-exporter-full.json b/prometheus/apache-exporter-full.json index f030582..f213552 100644 --- a/prometheus/apache-exporter-full.json +++ b/prometheus/apache-exporter-full.json @@ -179,7 +179,7 @@ "step": 120 }, { - "expr": "count_scalar(apache_up{instance=~\"$host:$port\"} == 0)", + "expr": "scalar(count(apache_up{instance=~\"$host:$port\"} == 0))", "format": "time_series", "intervalFactor": 2, "legendFormat": "Apache Down", @@ -738,4 +738,4 @@ "timezone": "", "title": "Apache", "version": 13 -} \ No newline at end of file +}