summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-03-21 13:48:55 +0000
committerLin Jen-Shin <godfat@godfat.org>2017-03-21 22:37:27 +0800
commitafa4bd1bcf7b37403514e62c6e1bf0c89bac8db9 (patch)
tree77c8a5087fd33e2dcaa31a8a50a949398bef128e
parent3bc15df7501bc6192f00d17f98926877c6cd60d8 (diff)
downloadgitlab-ce-afa4bd1bcf7b37403514e62c6e1bf0c89bac8db9.tar.gz
Merge branch '29618-clarify-help-text-on-prometheus-integration-page' into 'master'
Clarify help text on Prometheus Integration Page Closes #29618 See merge request !10034
-rw-r--r--app/models/project_services/prometheus_service.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/app/models/project_services/prometheus_service.rb b/app/models/project_services/prometheus_service.rb
index 375966b9efc..4d7c81a721f 100644
--- a/app/models/project_services/prometheus_service.rb
+++ b/app/models/project_services/prometheus_service.rb
@@ -30,7 +30,14 @@ class PrometheusService < MonitoringService
end
def help
- 'Retrieves `container_cpu_usage_seconds_total` and `container_memory_usage_bytes` from the configured Prometheus server. An `environment` label is required on each metric to identify the Environment.'
+ <<-MD.strip_heredoc
+ Retrieves the Kubernetes node metrics `container_cpu_usage_seconds_total`
+ and `container_memory_usage_bytes` from the configured Prometheus server.
+
+ If you are not using [Auto-Deploy](https://docs.gitlab.com/ee/ci/autodeploy/index.html)
+ or have set up your own Prometheus server, an `environment` label is required on each metric to
+ [identify the Environment](https://docs.gitlab.com/ce/user/project/integrations/prometheus.html#metrics-and-labels).
+ MD
end
def self.to_param