Bundle Grafana and official GitLab dashboards with `gitlab` chart
Summary
Similar to gitlab-org/omnibus-gitlab#3487 (closed) on the Omnibus side, we should consider deploying Grafana with our charts so users have an out of the box monitoring solution.
Proposal
We should optionally deploy Grafana, and set up the dashboards and Prometheus data source. There looks to be support for both of these actions within the Grafana helm chart, although we will need to provide a dashboard container.
We should consider the core MVC as the following:
- Optionally install Grafana, configure the local Prometheus datasource and the Omnibus dashboards.
- Allow configuration of the Grafana root user. This way users could add/edit dashboards as they see fit.
Next, we can work on the next two iterations in separate MR's. This will ensure we at minimum ship the initial core functionality.
- Bundle and include the GitLab dashboards.
- Next, we should enable OAuth authentication with GitLab out of the box and offer at
gitlab.instance/-/grafana
. If we can do this, we can consider enabling by default.
Edited by Joshua Lambert