summaryrefslogtreecommitdiff
path: root/doc/user
diff options
context:
space:
mode:
authorJoshua Lambert <joshua.lambert@gmail.com>2018-02-28 14:56:28 -0500
committerJoshua Lambert <joshua.lambert@gmail.com>2018-02-28 14:56:28 -0500
commit79a6be045122ca3fc91f6911ce8a6c6712fafbc7 (patch)
tree21f8e43bb892d69fc22c640a678e49010b97856a /doc/user
parent9b9af870f2a94a20b91753d62fcfe65c4d4f977e (diff)
downloadgitlab-ce-79a6be045122ca3fc91f6911ce8a6c6712fafbc7.tar.gz
Update docs
Diffstat (limited to 'doc/user')
-rw-r--r--doc/user/project/integrations/prometheus_library/kubernetes.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/user/project/integrations/prometheus_library/kubernetes.md b/doc/user/project/integrations/prometheus_library/kubernetes.md
index f30e19c8209..3a8317cc6b9 100644
--- a/doc/user/project/integrations/prometheus_library/kubernetes.md
+++ b/doc/user/project/integrations/prometheus_library/kubernetes.md
@@ -14,7 +14,7 @@ integration services must be enabled.
| Name | Query |
| ---- | ----- |
| Average Memory Usage (MB) | avg(sum(container_memory_usage_bytes{container_name!="POD",pod_name=~"^%{ci_environment_slug}-([^c].*|c([^a]|a([^n]|n([^a]|a([^r]|r[^y])))).*|)-(.*)",namespace="%{kube_namespace}"}) by (job)) without (job) / count(avg(container_memory_usage_bytes{container_name!="POD",pod_name=~"^%{ci_environment_slug}-([^c].*|c([^a]|a([^n]|n([^a]|a([^r]|r[^y])))).*|)-(.*)",namespace="%{kube_namespace}"}) without (job)) /1024/1024 |
-| Average CPU Utilization (%) | avg(sum(rate(container_cpu_usage_seconds_total{container_name!="POD",pod_name=~"^%{ci_environment_slug}-([^c].*|c([^a]|a([^n]|n([^a]|a([^r]|r[^y])))).*|)-(.*)",namespace="%{kube_namespace}"}[15m])) by (job)) without (job) |
+| Average CPU Utilization (%) | avg(sum(rate(container_cpu_usage_seconds_total{container_name!="POD",pod_name=~"^%{ci_environment_slug}-([^c].*|c([^a]|a([^n]|n([^a]|a([^r]|r[^y])))).*|)-(.*)",namespace="%{kube_namespace}"}[15m])) by (job)) without (job) / count(sum(rate(container_cpu_usage_seconds_total{container_name!="POD",pod_name=~"^%{ci_environment_slug}-([^c].*|c([^a]|a([^n]|n([^a]|a([^r]|r[^y])))).*|)-(.*)",namespace="%{kube_namespace}"}[15m])) by (pod_name)) |
## Configuring Prometheus to monitor for Kubernetes node metrics