Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
0d860ae3
Commit
0d860ae3
authored
Mar 15, 2017
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor Prometheus integration docs
[ci skip]
parent
d59bfd97
Changes
11
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
145 additions
and
45 deletions
+145
-45
doc/administration/monitoring/prometheus/index.md
doc/administration/monitoring/prometheus/index.md
+23
-0
doc/user/project/integrations/img/configure_prometheus_service.png
...project/integrations/img/configure_prometheus_service.png
+0
-0
doc/user/project/integrations/img/deploy_prometheus_yml.png
doc/user/project/integrations/img/deploy_prometheus_yml.png
+0
-0
doc/user/project/integrations/img/gcp_firewall_rule.png
doc/user/project/integrations/img/gcp_firewall_rule.png
+0
-0
doc/user/project/integrations/img/gcp_node_name.png
doc/user/project/integrations/img/gcp_node_name.png
+0
-0
doc/user/project/integrations/img/prometheus_gcp_firewall_rule.png
...project/integrations/img/prometheus_gcp_firewall_rule.png
+0
-0
doc/user/project/integrations/img/prometheus_gcp_node_name.png
...ser/project/integrations/img/prometheus_gcp_node_name.png
+0
-0
doc/user/project/integrations/img/prometheus_service_configuration.png
...ect/integrations/img/prometheus_service_configuration.png
+0
-0
doc/user/project/integrations/img/prometheus_yaml_deploy.png
doc/user/project/integrations/img/prometheus_yaml_deploy.png
+0
-0
doc/user/project/integrations/project_services.md
doc/user/project/integrations/project_services.md
+1
-1
doc/user/project/integrations/prometheus.md
doc/user/project/integrations/prometheus.md
+121
-44
No files found.
doc/administration/monitoring/prometheus/index.md
View file @
0d860ae3
...
@@ -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
doc/user/project/integrations/img/configure_prometheus_service.png
deleted
100644 → 0
View file @
d59bfd97
88.9 KB
doc/user/project/integrations/img/deploy_prometheus_yml.png
deleted
100644 → 0
View file @
d59bfd97
64.6 KB
doc/user/project/integrations/img/gcp_firewall_rule.png
deleted
100644 → 0
View file @
d59bfd97
89.5 KB
doc/user/project/integrations/img/gcp_node_name.png
deleted
100644 → 0
View file @
d59bfd97
46.3 KB
doc/user/project/integrations/img/prometheus_gcp_firewall_rule.png
0 → 100644
View file @
0d860ae3
14.9 KB
doc/user/project/integrations/img/prometheus_gcp_node_name.png
0 → 100644
View file @
0d860ae3
51.4 KB
doc/user/project/integrations/img/prometheus_service_configuration.png
0 → 100644
View file @
0d860ae3
17.7 KB
doc/user/project/integrations/img/prometheus_yaml_deploy.png
0 → 100644
View file @
0d860ae3
23 KB
doc/user/project/integrations/project_services.md
View file @
0d860ae3
...
@@ -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 |
...
...
doc/user/project/integrations/prometheus.md
View file @
0d860ae3
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment