Add project setup to monitor the GitLab instance out of the box
Problem to solve
If you want to monitor GitLab with GitLab, you need a project to serve as a base. You then need to set a variety of options to enable monitoring of the instance itself.
Sasha, Software Developer, https://design.gitlab.com/research/personas#persona-sasha
Devon, DevOps Engineer, https://design.gitlab.com/research/personas#persona-devon
Sidney, Systems Administrator, https://design.gitlab.com/research/personas#persona-sidney
We should pre-create this project, with the following settings:
- Project visibility by default is internal
- Membership by default includes the default root admin user
- Prometheus integration is enabled and configured for the internal Prometheus server
- Prometheus is configured to send alert webhooks to GitLab
Add a section to the admin area > Monitoring where users can enable self-monitoring:
Note: We may only want to have the "enable" checkbox for the first version, and perhaps the ability to edit the name. The visibility dropdown (and whether it's necessary) hasn't yet been completely decided.
What does success look like, and how can we measure that?
GitLab is setup to monitor itself out of the box