diff options
author | Joshua Lambert <joshua@gitlab.com> | 2017-08-14 16:23:32 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-08-14 16:23:32 +0000 |
commit | 69c9c83a487e9380a4fc3c318506d45c1680f0d9 (patch) | |
tree | 14e3ecf75706db92d9876d8bed9efdcac3ab4de6 /doc/user/project/integrations/prometheus_library/nginx.md | |
parent | 7963e2bb55fba009fe0e96c9d705a434df4c6483 (diff) | |
download | gitlab-ce-69c9c83a487e9380a4fc3c318506d45c1680f0d9.tar.gz |
Improve Prometheus docs, include nginx ingress
Diffstat (limited to 'doc/user/project/integrations/prometheus_library/nginx.md')
-rw-r--r-- | doc/user/project/integrations/prometheus_library/nginx.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/user/project/integrations/prometheus_library/nginx.md b/doc/user/project/integrations/prometheus_library/nginx.md index b3470773996..12e3321f5f3 100644 --- a/doc/user/project/integrations/prometheus_library/nginx.md +++ b/doc/user/project/integrations/prometheus_library/nginx.md @@ -8,8 +8,8 @@ GitLab has support for automatically detecting and monitoring NGINX. This is pro | Name | Query | | ---- | ----- | | 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(rate(haproxy_frontend_http_responses_total{code="5xx",%{environment_filter}}[2m])) / sum(rate(haproxy_frontend_http_responses_total{%{environment_filter}}[2m])) | +| Latency (ms) | avg(nginx_upstream_response_msecs_avg{%{environment_filter}}) | +| HTTP Error Rate (HTTP Errors / sec) | rate(nginx_responses_total{status_code="5xx", %{environment_filter}}[2m])) | ## Configuring Prometheus to monitor for NGINX metrics |