Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gitlab-org
gitlab-exporter
Commits
6295d98c
Commit
6295d98c
authored
Jan 31, 2017
by
Ahmad Sherif
Browse files
Merge branch 'mk-default-port-is-9168' into 'master'
Update README.md See merge request !33
parents
996ead6a
813e9a22
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
6295d98c
...
...
@@ -5,7 +5,7 @@ gitlab-monitor is a [Prometheus Web exporter] that does the following:
1.
Collects GitLab production metrics via custom probes defined in a YAML file.
2.
Custom probes gather measurements in the form of key/value pairs.
3.
For each probe, gitlab-monitor creates an HTTP endpoint
`/<probe_name>`
(by default on port
4567
) that delivers these metrics to a Prometheus scraper.
(by default on port
9168
) that delivers these metrics to a Prometheus scraper.
A central Prometheus process is configured to poll exporters at a specified
frequency.
...
...
config/gitlab-monitor.yml.example
View file @
6295d98c
server:
listen_address: 0.0.0.0
listen_port:
4567
listen_port:
9168
probes:
database:
...
...
lib/gitlab_monitor/web_exporter.rb
View file @
6295d98c
...
...
@@ -14,7 +14,7 @@ module GitLab
config
||=
{}
set
(
:bind
,
config
.
fetch
(
:listen_address
,
"0.0.0.0"
))
set
(
:port
,
config
.
fetch
(
:listen_port
,
4567
))
set
(
:port
,
config
.
fetch
(
:listen_port
,
9168
))
end
def
setup_probes
(
config
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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