提交 57a6edd1 编写于 作者: J Joshua Lambert

Move text to a MD heredoc.

上级 307d706c
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册