Commit 0d860ae3 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Refactor Prometheus integration docs

[ci skip]
parent d59bfd97
...@@ -96,6 +96,28 @@ Sample Prometheus queries: ...@@ -96,6 +96,28 @@ Sample Prometheus queries:
- **Data transmitted:** `irate(node_network_transmit_bytes[5m])` - **Data transmitted:** `irate(node_network_transmit_bytes[5m])`
- **Data received:** `irate(node_network_receive_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 ## Prometheus exporters
There are a number of libraries and servers which help in exporting existing 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. ...@@ -145,3 +167,4 @@ The GitLab monitor exporter allows you to measure various GitLab metrics.
[reconfigure]: ../../restart_gitlab.md#omnibus-gitlab-reconfigure [reconfigure]: ../../restart_gitlab.md#omnibus-gitlab-reconfigure
[#27069]: https://gitlab.com/gitlab-org/gitlab-ce/issues/27069 [#27069]: https://gitlab.com/gitlab-org/gitlab-ce/issues/27069
[1261]: https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/1261 [1261]: https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/1261
[prometheus integration docs]: ../../../user/project/integrations/prometheus.md
...@@ -51,7 +51,7 @@ Click on the service links to see further configuration instructions and details ...@@ -51,7 +51,7 @@ Click on the service links to see further configuration instructions and details
| [Slack Notifications](slack.md) | Receive event notifications in Slack | | [Slack Notifications](slack.md) | Receive event notifications in Slack |
| [Slack slash commands](slack_slash_commands.md) | Slack chat and ChatOps slash commands | | [Slack slash commands](slack_slash_commands.md) | Slack chat and ChatOps slash commands |
| PivotalTracker | Project Management Software (Source Commits Endpoint) | | PivotalTracker | Project Management Software (Source Commits Endpoint) |
| Prometheus | Monitor the performance of your deployed apps | | [Prometheus](prometheus.md) | Monitor the performance of your deployed apps |
| Pushover | Pushover makes it easy to get real-time notifications on your Android device, iPhone, iPad, and Desktop | | Pushover | Pushover makes it easy to get real-time notifications on your Android device, iPhone, iPad, and Desktop |
| [Redmine](redmine.md) | Redmine issue tracker | | [Redmine](redmine.md) | Redmine issue tracker |
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment