Commit 57a6edd1 authored by Joshua Lambert's avatar Joshua Lambert

Move text to a MD heredoc.

parent 307d706c
...@@ -30,7 +30,14 @@ class PrometheusService < MonitoringService ...@@ -30,7 +30,14 @@ class PrometheusService < MonitoringService
end end
def help 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 end
def self.to_param def self.to_param
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment