Prometheus metrics for user actions on gitlab
We currently have limited optics into rails user operations on the gitlab beyond the type of request (web/api/git). We should expose metrics that give us this data for as many user actions as we can think of. It is possible to track operations at the database but other common user interactions span multiple services.
- Creating issues
- Commenting on issues
- Creating projects
- Project uploads etc...
Once we have a set of metrics we can create low data alarms gitlab.com so we can react to problems quicker. This will improve time-to-detection for issues such as https://gitlab.com/gitlab-org/gitlab-ce/issues/44146#1130-utc