summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Lambert <joshua@gitlab.com>2017-07-20 01:51:31 -0400
committerJoshua Lambert <joshua@gitlab.com>2017-07-20 16:59:49 -0400
commit60b8bb6994032a3f0eb74789f5a5d67494bce36b (patch)
treee5cce1d25098abb95e489051a611111d6f5ad581
parent3193fd44e80d649f4460b0601028f94fd0196dba (diff)
downloadgitlab-ce-60b8bb6994032a3f0eb74789f5a5d67494bce36b.tar.gz
Fix for HA Proxy
-rw-r--r--config/prometheus/additional_metrics.yml2
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