summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorJoshua Lambert <joshua@gitlab.com>2017-09-08 16:35:17 -0400
committerJoshua Lambert <joshua@gitlab.com>2017-09-08 16:35:17 -0400
commit6e2ce46760f4d5dd77f77cb65e87d17223a07399 (patch)
treee1dc73df4ffa2a5ac9d842aa6c0b6bae17b0dd24 /config
parente099e7eb23f948224ce406b0eb78054b39a50c8d (diff)
downloadgitlab-ce-6e2ce46760f4d5dd77f77cb65e87d17223a07399.tar.gz
Update k8s metrics and docs
Diffstat (limited to 'config')
-rw-r--r--config/prometheus/additional_metrics.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/prometheus/additional_metrics.yml b/config/prometheus/additional_metrics.yml
index 11670282ef9..407a6b0c73c 100644
--- a/config/prometheus/additional_metrics.yml
+++ b/config/prometheus/additional_metrics.yml
@@ -153,7 +153,7 @@
- container_cpu_usage_seconds_total
weight: 1
queries:
- - query_range: 'sum(rate(container_cpu_usage_seconds_total{container_name!="POD",%{environment_filter}}[2m]) * 100) by (cpu)'
+ - query_range: 'sum(rate(container_cpu_usage_seconds_total{container_name!="POD",%{environment_filter}}[2m])) by (cpu) * 100'
label: CPU
unit: "%"
series: