Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-06-08 00:31:00 +0300
committerMike Greiling <mike@pixelcog.com>2018-06-08 00:31:00 +0300
commit58ae01cbdd0c78463673b8734bf457648d453240 (patch)
tree11a17d69fa75c3dbfb86175fa5d3f64b7b95c738 /doc
parentb0c6466e4cd6f29b80f7dba0aa75d3a8dc677fed (diff)
parent19adcaf1bf36828a66e519e3c87b3f6a65eae261 (diff)
Merge branch 'jl-update-error-rate-to-percent' into 'master'
Update NGINX error rate to a percentage See merge request gitlab-org/gitlab-ce!19471
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 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