summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChenjerai Katanda <ckatanda@gitlab.com>2018-11-21 12:58:20 +0000
committerChenjerai Katanda <ckatanda@gitlab.com>2018-11-21 12:58:20 +0000
commited3e99b525de17f84a018750353c6057fc9d6806 (patch)
tree73ef64966c465b547a4c5bd182ff40a5c7a1d750
parent6a12e9d10768d0ff06b357be7ac975cebffa3584 (diff)
downloadgitlab-ce-docs-ck-prom-grafana-steps.tar.gz
Add instructions on how to add Prometheus as data source in Grafanadocs-ck-prom-grafana-steps
-rw-r--r--doc/administration/monitoring/prometheus/index.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/administration/monitoring/prometheus/index.md b/doc/administration/monitoring/prometheus/index.md
index 2d9fdedcbeb..37ab04f4dc0 100644
--- a/doc/administration/monitoring/prometheus/index.md
+++ b/doc/administration/monitoring/prometheus/index.md
@@ -156,6 +156,20 @@ Sample Prometheus queries:
- **Data transmitted:** `rate(node_network_transmit_bytes_total{device!="lo"}[5m])`
- **Data received:** `rate(node_network_receive_bytes_total{device!="lo"}[5m])`
+## Prometheus as a Grafana data source
+
+Grafana allows you to import Prometheus performance metrics as a data source
+and render the metrics as graphs and dashboards which is helpful with visualisation.
+
+To add a Prometheus dashboard for a single server GitLab setup follow the steps below.
+
+1. Create a new data source in Grafana.
+1. Name your data source i.e GitLab.
+1. Select `Prometheus` in the type drop down.
+1. Add your Prometheus listen address as the URL and set access to `Browser`.
+1. Set the HTTP method to `GET`.
+1. Save & Test your configuration to verify that it works.
+
## GitLab metrics
> Introduced in GitLab 9.3.