summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoshua Lambert <joshua@gitlab.com>2017-09-09 00:53:06 -0400
committerJoshua Lambert <joshua@gitlab.com>2017-09-09 00:53:06 -0400
commit9297377653d9b28607f454cd548af028a325725e (patch)
treefc411741fe08fb9f9a6a2311de02c9107fb0a206 /doc
parent2149e90cc1af0a40515aee8d5e8712f7d46c0911 (diff)
downloadgitlab-ce-9297377653d9b28607f454cd548af028a325725e.tar.gz
Diffstat (limited to 'doc')
-rw-r--r--doc/user/project/integrations/prometheus_library/nginx_ingress.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/user/project/integrations/prometheus_library/nginx_ingress.md b/doc/user/project/integrations/prometheus_library/nginx_ingress.md
index 772d0995f48..2a37cbd160b 100644
--- a/doc/user/project/integrations/prometheus_library/nginx_ingress.md
+++ b/doc/user/project/integrations/prometheus_library/nginx_ingress.md
@@ -7,7 +7,7 @@ GitLab has support for automatically detecting and monitoring the Kubernetes NGI
| Name | Query |
| ---- | ----- |
-| Throughput (req/sec) | rate(nginx_upstream_responses_total{upstream=~"%{kube_namespace}-%{ci_environment_slug}-.*"}[2m]) |
+| Throughput (req/sec) | sum(rate(nginx_upstream_responses_total{upstream=~"%{kube_namespace}-%{ci_environment_slug}-.*"}[2m])) by (status_code) |
| Latency (ms) | avg(nginx_upstream_response_msecs_avg{upstream=~"%{kube_namespace}-%{ci_environment_slug}-.*"}) |
| HTTP Error Rate (HTTP Errors / sec) | sum(rate(nginx_upstream_responses_total{status_code="5xx", upstream=~"%{kube_namespace}-%{ci_environment_slug}-.*"}[2m])) |