diff options
author | Joshua Lambert <joshua@gitlab.com> | 2017-07-21 17:27:28 +0300 |
---|---|---|
committer | Joshua Lambert <joshua@gitlab.com> | 2017-07-21 17:27:28 +0300 |
commit | 08346768f8b214deef4cc99ba72cb16c301e1ff7 (patch) | |
tree | 1dba9bde259903787cbab14f857e57f25ed77ca1 /doc | |
parent | 60b8bb6994032a3f0eb74789f5a5d67494bce36b (diff) |
Update nginx docs
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user/project/integrations/prometheus_library/nginx.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/user/project/integrations/prometheus_library/nginx.md b/doc/user/project/integrations/prometheus_library/nginx.md index fe238e74e36..b3470773996 100644 --- a/doc/user/project/integrations/prometheus_library/nginx.md +++ b/doc/user/project/integrations/prometheus_library/nginx.md @@ -9,7 +9,7 @@ GitLab has support for automatically detecting and monitoring NGINX. This is pro | ---- | ----- | | Throughput (req/sec) | sum(rate(nginx_requests_total{server_zone!="*", server_zone!="_", %{environment_filter}}[2m])) | | Latency (ms) | avg(nginx_upstream_response_msecs_avg{%{environment_filter}}) * 1000 | -| HTTP Error Rate (%) | sum(nginx_responses_total{status_code="5xx", %{environment_filter}}) / sum(nginx_responses_total{server_zone!="*", server_zone!="_", %{environment_filter}}) | +| HTTP Error Rate (%) | sum(rate(haproxy_frontend_http_responses_total{code="5xx",%{environment_filter}}[2m])) / sum(rate(haproxy_frontend_http_responses_total{%{environment_filter}}[2m])) | ## Configuring Prometheus to monitor for NGINX metrics |