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
414ca3f7
Commit
414ca3f7
authored
Nov 23, 2018
by
Chenjerai Katanda
Committed by
Achilleas Pipinellis
Nov 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add instructions on how to add Prometheus as data source in Grafana
parent
0ab4918c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
doc/administration/monitoring/prometheus/index.md
doc/administration/monitoring/prometheus/index.md
+14
-0
No files found.
doc/administration/monitoring/prometheus/index.md
View file @
414ca3f7
...
@@ -156,6 +156,20 @@ Sample Prometheus queries:
...
@@ -156,6 +156,20 @@ Sample Prometheus queries:
-
**Data transmitted:**
`rate(node_network_transmit_bytes_total{device!="lo"}[5m])`
-
**Data transmitted:**
`rate(node_network_transmit_bytes_total{device!="lo"}[5m])`
-
**Data received:**
`rate(node_network_receive_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:
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
## GitLab metrics
> Introduced in GitLab 9.3.
> Introduced in GitLab 9.3.
...
...
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