Skip to content

Commit

Permalink
Add more regex to match new haproxy backend format
Browse files Browse the repository at this point in the history
  • Loading branch information
bjrara authored and pingleig committed Apr 9, 2021
1 parent 897acc9 commit 6c2974a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/eks/prometheus/config-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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$"
Expand Down
2 changes: 1 addition & 1 deletion config/eks/prometheus/config-haproxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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$"
Expand Down

0 comments on commit 6c2974a

Please sign in to comment.