diff options
author | Joshua Lambert <joshua@gitlab.com> | 2017-09-09 07:53:06 +0300 |
---|---|---|
committer | Joshua Lambert <joshua@gitlab.com> | 2017-09-09 07:53:06 +0300 |
commit | 9297377653d9b28607f454cd548af028a325725e (patch) | |
tree | fc411741fe08fb9f9a6a2311de02c9107fb0a206 /doc/user | |
parent | 2149e90cc1af0a40515aee8d5e8712f7d46c0911 (diff) |
update ingress doc
Diffstat (limited to 'doc/user')
-rw-r--r-- | doc/user/project/integrations/prometheus_library/nginx_ingress.md | 2 |
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])) | |