diff options
author | Joshua Lambert <joshua@gitlab.com> | 2017-07-20 01:51:31 -0400 |
---|---|---|
committer | Joshua Lambert <joshua@gitlab.com> | 2017-07-20 16:59:49 -0400 |
commit | 60b8bb6994032a3f0eb74789f5a5d67494bce36b (patch) | |
tree | e5cce1d25098abb95e489051a611111d6f5ad581 /config/prometheus | |
parent | 3193fd44e80d649f4460b0601028f94fd0196dba (diff) | |
download | gitlab-ce-60b8bb6994032a3f0eb74789f5a5d67494bce36b.tar.gz |
Fix for HA Proxy
Diffstat (limited to 'config/prometheus')
-rw-r--r-- | config/prometheus/additional_metrics.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/prometheus/additional_metrics.yml b/config/prometheus/additional_metrics.yml index 3b31d388e52..61d39e7bfcf 100644 --- a/config/prometheus/additional_metrics.yml +++ b/config/prometheus/additional_metrics.yml @@ -16,7 +16,7 @@ - haproxy_frontend_http_responses_total weight: 1 queries: - - query_range: 'sum(rate(haproxy_frontend_http_requests_total{code="5xx",%{environment_filter}}[2m])) / sum(rate(haproxy_frontend_http_requests_total{%{environment_filter}}[2m]))' + - query_range: 'sum(rate(haproxy_frontend_http_responses_total{code="5xx",%{environment_filter}}[2m])) / sum(rate(haproxy_frontend_http_responses_total{%{environment_filter}}[2m]))' label: HTTP Errors unit: "%" - group: AWS Elastic Load Balancer |