=s_("PrometheusService|To set up automatic monitoring, add the environment variable %{variable} to exporter's queries."%{variable: "<code>$CI_ENVIRONMENT_SLUG</code>"}).html_safe
=s_("PrometheusService|To set up automatic monitoring, add the environment variable %{variable} to exporter's queries."%{variable: "<code>$CI_ENVIRONMENT_SLUG</code>"}).html_safe
@@ -98,7 +98,10 @@ You can view the performance dashboard for an environment by [clicking on the mo
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3799) in [GitLab Premium](https://about.gitlab.com/pricing/) 10.6.
Additional metrics can be monitored by adding them on the Prometheus integration page. Once saved, they will be displayed on the environment performance dashboard.
Custom metrics can be monitored by adding them on the Prometheus integration page. Once saved, they will be displayed on the environment performance dashboard provided that either:
- A [connected Kubernetes cluster](../clusters/index.md#adding-and-removing-clusters) with the environment scope of `*` is used and [Prometheus installed on the cluster](#enabling-prometheus-integration), or
- Prometheus is [manually configured](#manual-configuration-of-prometheus).