summaryrefslogtreecommitdiff
path: root/doc/user/project/integrations/prometheus_library
diff options
context:
space:
mode:
authorJoshua Lambert <joshua@gitlab.com>2018-06-07 00:39:49 -0400
committerJoshua Lambert <joshua@gitlab.com>2018-06-07 00:39:49 -0400
commit19adcaf1bf36828a66e519e3c87b3f6a65eae261 (patch)
tree42d3308ecdfe9dae01a81781c3d15a9bc4091709 /doc/user/project/integrations/prometheus_library
parentc46db1390b3d503f78209f3ed1f064652b6a97e4 (diff)
downloadgitlab-ce-19adcaf1bf36828a66e519e3c87b3f6a65eae261.tar.gz
Update docs
Diffstat (limited to 'doc/user/project/integrations/prometheus_library')
-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 590b1c4275a..a1db79538a4 100644
--- a/doc/user/project/integrations/prometheus_library/nginx_ingress.md
+++ b/doc/user/project/integrations/prometheus_library/nginx_ingress.md
@@ -14,7 +14,7 @@ GitLab has support for automatically detecting and monitoring the Kubernetes NGI
| ---- | ----- |
| 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])) |
+| HTTP Error Rate (%) | sum(rate(nginx_upstream_responses_total{status_code="5xx", upstream=~"%{kube_namespace}-%{ci_environment_slug}-.*"}[2m])) / sum(rate(nginx_upstream_responses_total{upstream=~"%{kube_namespace}-%{ci_environment_slug}-.*"}[2m])) * 100 |
## Configuring NGINX ingress monitoring