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/config
diff options
context:
space:
mode:
authorJoshua Lambert <joshua@gitlab.com>2017-11-07 20:29:39 +0300
committerJoshua Lambert <joshua@gitlab.com>2017-11-12 20:27:25 +0300
commitab9acf1a5519763a6f871cd5eb68d60fe9b25760 (patch)
treec11fd5f370badbe06de71e6534466ef637120db5 /config
parentbc58f625c4a964212fd991982417cb5b561b0c99 (diff)
Fix to use variable
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 073948a965a..44a67dad843 100644
--- a/config/prometheus/additional_metrics.yml
+++ b/config/prometheus/additional_metrics.yml
@@ -145,7 +145,7 @@
- container_memory_usage_bytes
weight: 1
queries:
- - query_range: '(sum(avg(container_memory_usage_bytes{container_name!="POD",environment="production"}) without (job))) / count(avg(container_memory_usage_bytes{container_name!="POD",environment="production"}) without (job)) /1024/1024'
+ - query_range: '(sum(avg(container_memory_usage_bytes{container_name!="POD",environment="%{ci_environment_slug}"}) without (job))) / count(avg(container_memory_usage_bytes{container_name!="POD",environment="%{ci_environment_slug}"}) without (job)) /1024/1024'
label: Average
unit: MB
- title: "CPU Utilization"