GitLab monitor exporter
Note:Available since综合GitLab 8.17. For installations from source you'll have to install and configure it yourself.
TheGitLab monitor exporterallows you to measure various GitLab metrics, pulled from Redis and the database.
To enable the GitLab monitor exporter:
- Enable Prometheus
- Edit
/etc/gitlab/gitlab.rb
Add or find and uncomment the following line, making sure it's set to
true
:gitlab_monitor['enable']=true
Save the file andreconfigure GitLabfor the changes to take effect
Prometheus will now automatically begin collecting performance data from the GitLab monitor exporter exposed underlocalhost:9168
.