From 1b5cc1b5e4c7eb1afed3f1390f16c9a764df8766 Mon Sep 17 00:00:00 2001 From: Dmitriy Alekseev Date: Wed, 20 May 2020 23:03:06 +0300 Subject: [PATCH] Filter query by instance --- prometheus/haproxy-2.0-full.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prometheus/haproxy-2.0-full.json b/prometheus/haproxy-2.0-full.json index f9170f0..bd30d64 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