August 2019
Beginner
608 pages
16h 7m
English
To create a Prometheus server, enable it in the omnibus configuration file:
prometheus_monitoring['enable'] = true
The server should listen on every interface, as follows:
prometheus['listen_address'] = '0.0.0.0:9090'
Disable all other services:
gitlab_workhorse['enable'] = falseunicorn['enable'] = falsepostgresql['enable'] = falsenginx['enable'] = falseprometheus['enable'] = falsealertmanager['enable'] = falsepgbouncer_exporter['enable'] = falsegitlab_monitor['enable'] = false
After running this playbook, we have a Prometheus instance running in our cluster.
Read now
Unlock full access