mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 05:36:07 +10:00
Added documentation for GitLab Metrics This adds documentation for the metrics code I recently added. Two notes: * I'm referring to this feature as "GitLab Metrics" everywhere simply because the code resides in the `Gitlab::Metrics` namespace. A different name is fine, though I think just "Metrics" might be a bit too abstract. * Grafana isn't covered since it's fairly straight-forward to setup (there's nothing really special we can cover). I think we _should_ cover it once we start shipping it with Omnibus. I assigned @axil since he's our technical writer/documentation guru, feel free to re-assign if needed. cc @sytses @axil @dzaporozhets @JobV See merge request !2484
999 B
999 B
GitLab Configuration
GitLab Performance Monitoring is disabled by default. To enable it and change any of its
settings, navigate to the Admin area in Settings > Metrics
(/admin/application_settings).
The minimum required settings you need to set are the InfluxDB host and port. Make sure Enable InfluxDB Metrics is checked and hit Save to save the changes.
Finally, a restart of all GitLab processes is required for the changes to take effect:
# For Omnibus installations
sudo gitlab-ctl restart
# For installations from source
sudo service gitlab restart
Pending Migrations
When any migrations are pending, the metrics are disabled until the migrations have been performed.
Read more on:
