From 6c2974adff4450dd2e49f3ac3fccefab603a2133 Mon Sep 17 00:00:00 2001 From: Mengyi Zhou Date: Tue, 23 Mar 2021 22:21:37 -0700 Subject: [PATCH] Add more regex to match new haproxy backend format --- config/eks/prometheus/config-all.yaml | 2 +- config/eks/prometheus/config-haproxy.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/eks/prometheus/config-all.yaml b/config/eks/prometheus/config-all.yaml index 9e9bd7bff8..9c80ca4f93 100644 --- a/config/eks/prometheus/config-all.yaml +++ b/config/eks/prometheus/config-all.yaml @@ -304,7 +304,7 @@ exporters: - label_names: - Service - backend - regex: ".*haproxy-ingress-.*metrics;(httpback-shared-backend|httpback-default-backend|httpsback-shared-backend|_default_backend)" + regex: ".*haproxy-ingress-.*metrics;(httpback-shared-backend|httpback-default-backend|httpsback-shared-backend|_default_backend|.*backend_http)" - dimensions: [ [ Service, Namespace, ClusterName ] ] metric_name_selectors: - "^haproxy_backend_up$" diff --git a/config/eks/prometheus/config-haproxy.yaml b/config/eks/prometheus/config-haproxy.yaml index 6ce4e64711..d6ba4f9fd6 100644 --- a/config/eks/prometheus/config-haproxy.yaml +++ b/config/eks/prometheus/config-haproxy.yaml @@ -166,7 +166,7 @@ exporters: - label_names: - Service - backend - regex: ".*haproxy-ingress-.*metrics;(httpback-shared-backend|httpback-default-backend|httpsback-shared-backend|_default_backend)" + regex: ".*haproxy-ingress-.*metrics;(httpback-shared-backend|httpback-default-backend|httpsback-shared-backend|_default_backend|.*backend_http)" - dimensions: [ [ Service, Namespace, ClusterName ] ] metric_name_selectors: - "^haproxy_backend_up$"