doc/administration/monitoring/performance/grafana_configuration.md
{{< details >}}
{{< /details >}}
{{< history >}}
{{< /history >}}
Grafana is a tool that enables you to visualize time series metrics through graphs and dashboards. GitLab writes performance data to Prometheus, and Grafana allows you to query the data to display graphs.
Prerequisites:
After setting up Grafana, you can enable a link to access it from the GitLab sidebar:
GitLab displays your link in the Admin area under Monitoring > Metrics Dashboard.
When setting up Grafana through the previous process, no scope shows in the screen in
the Admin area under Applications > GitLab Grafana. However, the read_user scope is
required and is provided to the application automatically. Setting any scope other than
read_user without also including read_user leads to this error when you try to sign in using
GitLab as the OAuth provider:
The requested scope is invalid, unknown, or malformed.
If you see this error, make sure that one of the following is true in the GitLab Grafana configuration screen:
read_user scope is included.