debian-mirror-gitlab/doc/administration/monitoring/performance/gitlab_configuration.md

39 lines
1.2 KiB
Markdown
Raw Normal View History

2016-11-03 12:29:30 +05:30
# GitLab Configuration
2020-03-09 13:42:32 +05:30
CAUTION: **InfluxDB is deprecated in favor of Prometheus:**
InfluxDB support is scheduled to be removed in GitLab 13.0.
You are advised to use [Prometheus](../prometheus/index.md) instead.
2016-11-03 12:29:30 +05:30
GitLab Performance Monitoring is disabled by default. To enable it and change any of its
2020-03-09 13:42:32 +05:30
settings, navigate to **Admin Area > Settings > Metrics and profiling**
(`/admin/application_settings/metrics_and_profiling`).
2016-11-03 12:29:30 +05:30
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.
![GitLab Performance Monitoring Admin Settings](img/metrics_gitlab_configuration_settings.png)
Finally, a restart of all GitLab processes is required for the changes to take
effect:
2020-03-09 13:42:32 +05:30
```shell
2016-11-03 12:29:30 +05:30
# 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:
2020-03-09 13:42:32 +05:30
- [Introduction to GitLab Performance Monitoring](index.md)
2016-11-03 12:29:30 +05:30
- [InfluxDB Configuration](influxdb_configuration.md)
- [InfluxDB Schema](influxdb_schema.md)
- [Grafana Install/Configuration](grafana_configuration.md)