2016-01-19 16:18:51 -05:00
|
|
|
# GitLab Configuration
|
|
|
|
|
2016-01-20 06:05:03 -05:00
|
|
|
GitLab Performance Monitoring is disabled by default. To enable it and change any of its
|
2016-01-19 16:18:51 -05:00
|
|
|
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.
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2016-01-20 06:05:03 -05:00
|
|
|
![GitLab Performance Monitoring Admin Settings](img/metrics_gitlab_configuration_settings.png)
|
2016-01-19 16:18:51 -05:00
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
Finally, a restart of all GitLab processes is required for the changes to take
|
|
|
|
effect:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# 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:
|
|
|
|
|
2016-01-20 06:05:03 -05:00
|
|
|
- [Introduction to GitLab Performance Monitoring](introduction.md)
|
2016-01-19 16:18:51 -05:00
|
|
|
- [InfluxDB Configuration](influxdb_configuration.md)
|
|
|
|
- [InfluxDB Schema](influxdb_schema.md)
|
2016-04-29 15:11:23 -04:00
|
|
|
- [Grafana Install/Configuration](grafana_configuration.md)
|