diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-03-15 10:37:07 +0100 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-03-15 10:37:07 +0100 |
commit | 0d860ae39f8af9ef0990266ac8f9841b0b950074 (patch) | |
tree | 54173a379f80d93d23edd29ac6da6e57505fe5c8 /doc/administration | |
parent | d59bfd97a5686e2d3b394e994dc2fdb4f96a83c7 (diff) | |
download | gitlab-ce-0d860ae39f8af9ef0990266ac8f9841b0b950074.tar.gz |
Refactor Prometheus integration docs
[ci skip]
Diffstat (limited to 'doc/administration')
-rw-r--r-- | doc/administration/monitoring/prometheus/index.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/administration/monitoring/prometheus/index.md b/doc/administration/monitoring/prometheus/index.md index 3a394c561db..51ef14b88cb 100644 --- a/doc/administration/monitoring/prometheus/index.md +++ b/doc/administration/monitoring/prometheus/index.md @@ -96,6 +96,28 @@ Sample Prometheus queries: - **Data transmitted:** `irate(node_network_transmit_bytes[5m])` - **Data received:** `irate(node_network_receive_bytes[5m])` +## Configuring Prometheus to monitor Kubernetes + +>**Note:** +This is a project integration introduced in GitLab 9.0. Read more in the +[Prometheus integration docs][]. + +GitLab offers powerful integration with Prometheus for monitoring your apps. +Metrics are retrieved from the configured Prometheus server, and then displayed +within the GitLab interface. + +To enable the Kubernetes monitoring: + +1. Edit `/etc/gitlab/gitlab.rb` +1. Add or find and uncomment the following line: + + ```ruby + prometheus['monitor_kubernetes'] = true + ``` + +1. Save the file and [reconfigure GitLab][reconfigure] for the changes to + take effect + ## Prometheus exporters There are a number of libraries and servers which help in exporting existing @@ -145,3 +167,4 @@ The GitLab monitor exporter allows you to measure various GitLab metrics. [reconfigure]: ../../restart_gitlab.md#omnibus-gitlab-reconfigure [#27069]: https://gitlab.com/gitlab-org/gitlab-ce/issues/27069 [1261]: https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/1261 +[prometheus integration docs]: ../../../user/project/integrations/prometheus.md |