From 5de79dba1f66e146ee6a8a23ca19814944b7fc0b Mon Sep 17 00:00:00 2001 From: Nicolas Embriz Date: Mon, 2 Mar 2020 21:17:11 +0100 Subject: [PATCH] fix stated time added `"$host:$port"` to prevent showing the `Only queries that return single series/table is supported` warning --- prometheus/haproxy-2.0-full.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prometheus/haproxy-2.0-full.json b/prometheus/haproxy-2.0-full.json index 9af3429..6b0eeb1 100644 --- a/prometheus/haproxy-2.0-full.json +++ b/prometheus/haproxy-2.0-full.json @@ -106,7 +106,7 @@ }, "targets": [ { - "expr": "time() - haproxy_process_start_time_seconds", + "expr": "time() - haproxy_process_start_time_seconds{instance=~\"$host:$port\"}", "intervalFactor": 2, "refId": "A", "step": 1800 @@ -8848,4 +8848,4 @@ "timezone": "browser", "title": "HAProxy 2.0", "version": 135 -} \ No newline at end of file +}