summaryrefslogtreecommitdiff
path: root/doc/user/project
diff options
context:
space:
mode:
authorAmelia Bauerly <abauerly@gitlab.com>2019-09-11 13:38:54 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-09-11 13:38:54 +0000
commite5652f8e452a782f05e050f09716371efa62393f (patch)
treef4a685788728dd1ee89430df6220945ff1a4c799 /doc/user/project
parent68e8bbdb54f81847379659cbaad3ae9478684e24 (diff)
downloadgitlab-ce-e5652f8e452a782f05e050f09716371efa62393f.tar.gz
Update Prometheus set up steps
Diffstat (limited to 'doc/user/project')
-rw-r--r--doc/user/project/integrations/prometheus.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/user/project/integrations/prometheus.md b/doc/user/project/integrations/prometheus.md
index 3583c0554ee..56176da382f 100644
--- a/doc/user/project/integrations/prometheus.md
+++ b/doc/user/project/integrations/prometheus.md
@@ -38,6 +38,23 @@ Once you have a connected Kubernetes cluster with Helm installed, deploying a ma
![Managed Prometheus Deploy](img/prometheus_deploy.png)
+#### Getting metrics to display on the Metrics Dashboard
+
+After completing the steps above, you will also need deployments in order to view the
+**Operations > Metrics** page. Setting up [Auto DevOps](../../../topics/autodevops/index.md)
+will help you to quickly create a deployment:
+
+1. Navigate to your project's **Operations > Kubernetes** page, and ensure that,
+ in addition to "Prometheus" and "Helm Tiller", you also have "Runner" and "Ingress"
+ installed. Once "Ingress" is installed, copy its endpoint.
+1. Navigate to your project's **Settings > CI/CD** page. In the Auto DevOps section,
+ select a deployment strategy and save your changes.
+1. On the same page, in the Variables section, add a variable named `KUBE_INGRESS_BASE_DOMAIN`
+ with the value of the Ingress endpoint you have copied in the previous step. Leave the type
+ as "Variable".
+1. Navigate to your project's **CI/CD > Pipelines** page, and run a pipeline on any branch.
+1. When the pipeline has run successfully, graphs will be available on the **Operations > Metrics** page.
+
#### About managed Prometheus deployments
Prometheus is deployed into the `gitlab-managed-apps` namespace, using the [official Helm chart](https://github.com/helm/charts/tree/master/stable/prometheus). Prometheus is only accessible within the cluster, with GitLab communicating through the [Kubernetes API](https://kubernetes.io/docs/concepts/overview/kubernetes-api/).