diff options
author | Joshua Lambert <joshua@gitlab.com> | 2017-03-21 02:48:06 -0400 |
---|---|---|
committer | Joshua Lambert <joshua@gitlab.com> | 2017-03-21 02:48:06 -0400 |
commit | 57a6edd19fe1ade4bdd9391a164639d04b54bb68 (patch) | |
tree | 1047e718f75a7e765663e7f0e0e2920e365ee6c4 | |
parent | 307d706ca627316472a362ad99da9c743fba48ce (diff) | |
download | gitlab-ce-57a6edd19fe1ade4bdd9391a164639d04b54bb68.tar.gz |
Move text to a MD heredoc.
-rw-r--r-- | app/models/project_services/prometheus_service.rb | 9 |
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 8c2220c4ad1..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 the Kubernetes node metrics `container_cpu_usage_seconds_total` and `container_memory_usage_bytes` from the configured Prometheus server. If you are not using <a href="https://docs.gitlab.com/ee/ci/autodeploy/index.html">Auto-Deploy</a> or have set up your own Prometheus server, an `environment` label is required on each metric to <a href="https://docs.gitlab.com/ce/user/project/integrations/prometheus.html#metrics-and-labels">identify the Environment</a>.' + <<-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 |