Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Lambert <joshua@gitlab.com>2017-07-20 08:51:31 +0300
committerJoshua Lambert <joshua@gitlab.com>2017-07-20 23:59:49 +0300
commit60b8bb6994032a3f0eb74789f5a5d67494bce36b (patch)
treee5cce1d25098abb95e489051a611111d6f5ad581 /config/prometheus
parent3193fd44e80d649f4460b0601028f94fd0196dba (diff)
Fix for HA Proxy
Diffstat (limited to 'config/prometheus')
-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