BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ce793617
Commit
ce793617
authored
May 29, 2018
by
Ben Bodenmiller
Committed by
Rémy Coutable
May 29, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup Prometheus setup details
parent
6b7a70d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
index.md
doc/administration/monitoring/prometheus/index.md
+8
-5
No files found.
doc/administration/monitoring/prometheus/index.md
View file @
ce793617
...
...
@@ -29,7 +29,8 @@ For installations from source you'll have to install and configure it yourself.
Prometheus and it's exporters are on by default, starting with GitLab 9.0.
Prometheus will run as the
`gitlab-prometheus`
user and listen on
`http://localhost:9090`
. Each exporter will be automatically be set up as a
`http://localhost:9090`
. By default Prometheus is only accessible from the GitLab server itself.
Each exporter will be automatically set up as a
monitoring target for Prometheus, unless individually disabled.
To disable Prometheus and all of its exporters, as well as any added in the future:
...
...
@@ -44,14 +45,16 @@ To disable Prometheus and all of its exporters, as well as any added in the futu
1.
Save the file and
[
reconfigure GitLab
][
reconfigure
]
for the changes to
take effect
## Changing the port Prometheus listens on
## Changing the port
and address
Prometheus listens on
>**Note:**
The following change was added in
[
GitLab Omnibus 8.17
][
1261
]
. Although possible,
it's not recommended to change the
default address and
port Prometheus listens
it's not recommended to change the port Prometheus listens
on as this might affect or conflict with other services running on the GitLab
server. Proceed at your own risk.
In order to access Prometheus from outside the GitLab server you will need to
set a FQDN or IP in
`prometheus['listen_address']`
.
To change the address/port that Prometheus listens on:
1.
Edit
`/etc/gitlab/gitlab.rb`
...
...
@@ -80,9 +83,9 @@ You can visit `http://localhost:9090` for the dashboard that Prometheus offers b
>**Note:**
If SSL has been enabled on your GitLab instance, you may not be able to access
Prometheus on the same browser as GitLab due to
[
HSTS
][
hsts
]
. We plan to
Prometheus on the same browser as GitLab
if using the same FQDN
due to
[
HSTS
][
hsts
]
. We plan to
[
provide access via GitLab
][
multi-user-prometheus
]
, but in the interim there are
some workarounds: using a separate browser for Prometheus, resetting HSTS, or
some workarounds: using a separate
FQDN, using server IP, using a separate
browser for Prometheus, resetting HSTS, or
having
[
Nginx proxy it
][
nginx-custom-config
]
.
The performance data collected by Prometheus can be viewed directly in the
...
...
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