Skip to content
Snippets Groups Projects
Commit 9e740427f8af authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Merge branch '6680-grafana-alerts-documentation' into 'master'

Add documentation for Grafana Alerts

Closes #6680

See merge request gitlab-org/omnibus-gitlab!5923
No related branches found
No related tags found
2 merge requests!67heptapod#675: making 0.31 the new stable,!66GitLab 14.9
......@@ -49,6 +49,25 @@
you will have to [reset the password manually](#resetting-the-admin-password)
to access the admin user.
## Enable Grafana alerts
Grafana can provide the ability to [create alerts](https://grafana.com/docs/grafana/latest/alerting/old-alerting/create-alerts/)
based on rules that you configure in your dashboard. By default, alerts are disabled in the bundled Grafana instance.
To enable Grafana alerts:
1. Edit `/etc/gitlab/gitlab.rb` and add the following line:
```ruby
grafana['alerting_enabled'] = true
```
1. Save the file and reconfigure GitLab:
```shell
sudo gitlab-ctl reconfigure
```
## Disabling Grafana
1. Edit `/etc/gitlab/gitlab.rb` and add/edit the following lines:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment