Gitlab-Monitor
5,010

Created 2/23/2017
Updated 2/23/2017
Revision 5
Categories
DockerHost MetricsWeb Servers
Grafana Version >=4.1.1
Datasources
Prometheus

Ready for gitlab-ce 8.17.0

On your Gitlab enbale gitlab-monitor (/etc/gitlab/gitlab.rb)

gitlab_monitor['enable'] = true
gitlab_monitor['log_directory'] = "/var/log/gitlab/gitlab-monitor"
gitlab_monitor['home'] = "/var/opt/gitlab/gitlab-monitor"
gitlab_monitor['listen_address'] = ':9168'

gitlab-monitor build_in export metrics on

http://localhost:9168/sidekiq
http://localhost:9168/process

Add job_name on prometheus

  - job_name: 'gitlab-process'
    scrape_interval: 5s
    metrics_path: /process
    static_configs:
         - targets: ['localhost:9168']

  - job_name: 'gitlab-sidekiq'
    scrape_interval: 5s
    metrics_path: /sidekiq
    static_configs:
         - targets: ['localhost:9168']
Get Dashboard
Download
Copy to Clipboard
Source Grafana.com