Commit ac211af7 authored by Ahmad Sherif's avatar Ahmad Sherif
Browse files

Merge branch 'sh-improve-readme' into 'master'

Add notes on how to run gitlab-monitor as a Web exporter

See merge request !47
parents e2730895 1cfa5e4e
Pipeline #48230 passed with stage
in 4 minutes and 22 seconds
......@@ -55,6 +55,8 @@ connect to the PostgreSQL instance in your GDK folder. For example:
bin/gitlab-mon row-counts --db-conn="dbname=gitlabhq_development host=/Users/<user>/gitlab-development-kit/postgresql"
### Running gitlab-monitor as a Web exporter
When serving the pages on `localhost`, you'll need to edit the YAML
configuration file. An example can be found under
[`config/gitlab-monitor.yml.example`](config/gitlab-monitor.yml.example). For
......@@ -62,5 +64,18 @@ each probe that has to connect to the database, set the `connection_string` to
Once you have this configured, you can then run:
bin/gitlab-mon web -c config/gitlab-monitor.yml
Once running, you can point your browser or curl to the following URLs:
* http://localhost:9168/database
* http://localhost:9168/git
* http://localhost:9168/process
* http://localhost:9168/sidekiq
[Prometheus Web exporter]:
[GitLab Development Kit]:
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