Commit 6295d98c authored by Ahmad Sherif's avatar Ahmad Sherif
Browse files

Merge branch 'mk-default-port-is-9168' into 'master'

Update README.md

See merge request !33
parents 996ead6a 813e9a22
......@@ -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.
......
server:
listen_address: 0.0.0.0
listen_port: 4567
listen_port: 9168
probes:
database:
......
......@@ -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)
......
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