summaryrefslogtreecommitdiff
path: root/config/prometheus
diff options
context:
space:
mode:
authorJoshua Lambert <joshua@gitlab.com>2017-11-12 05:19:43 +0000
committerJoshua Lambert <joshua@gitlab.com>2017-11-12 12:27:25 -0500
commit712d5d891f04d2a67803759b288ffe9d7a30590c (patch)
tree3fcbe0e54aff95962399c688b8e7e83c54d569a8 /config/prometheus
parent41d1843f96d38979c350cd862e29bd838bac9750 (diff)
downloadgitlab-ce-712d5d891f04d2a67803759b288ffe9d7a30590c.tar.gz
Change label to be more consistent, not a series.
Diffstat (limited to 'config/prometheus')
-rw-r--r--config/prometheus/additional_metrics.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/config/prometheus/additional_metrics.yml b/config/prometheus/additional_metrics.yml
index e2635d492cd..601a86490d4 100644
--- a/config/prometheus/additional_metrics.yml
+++ b/config/prometheus/additional_metrics.yml
@@ -155,7 +155,5 @@
weight: 1
queries:
- query_range: 'sum(avg(rate(container_cpu_usage_seconds_total{container_name!="POD",environment="%{ci_environment_slug}"}[2m])) without (job)) * 100'
- label: CPU
- unit: "%"
- series:
- - label: cpu \ No newline at end of file
+ label: Average
+ unit: "%" \ No newline at end of file