GitLab Self-monitoring - Viable
### Goal
We would like to add the ability for administrators to see insights into the health of their GitLab instance using internal Prometheus instance within Gitlab UI
### Further details
* The Users should be able to create the Self-monitoring project easily
* The project will have a default self-monitoring basic dashboard
* In order to add additional metrics users should be able to instrument Gitlab by themself,
* Prometheus will scrape all metrics automatically
### Proposal
In order for GitLab self-monitoring to be considered viable it needs to:
- [x] Create the self-monitoring project by a push of a button
- [x] Ability to connect to the self-monitoring Prometheus instance
* We will expose Prometheus instance via the manual configuration
* Prometheus should scrape any exposed metric
- [x] Out of the box self-monitoring dashboard
* We'll need to create a special case for the default dashboard for this project
- [x] Update the documentation to explain how we can scrape and display needed matrics in Gitlab UI
- [x] Allow users to pre-defined alerts
- [x] Provide a repository of self-monitoring dashboards (.yml files)
### Going forward
Once the above checklist is complete, the Gitlab instance administration project should not be treated any differently than any other project, this way any enhancement the monitoring team will build into the product (e.g. enhanced dashboard capabilities, dashboard updates, alert configuration and more) will immediately be available for the Gitlab instance admin. project.
epic