Label issues opened by Prometheus alerts with `incident`
Problem to solve
GitLab users use issues for many things. As we start to build out Incident Management within GitLab, we need a way to differentiate between issues being used as incidents and other issues. This solves the following problems:
- To build out feature around incidents (Post incident reviews, Incident triage dashboard, etc) we need a way to indicate an issue is an incident
- DevOps teams need an easy way to search for incidents, create boards
- First iteration of Incident Triage Dashboard could be an issue board based on the
Incident
label
Intended users
Sasha the Software Developer
Devon the DevOps Engineer
Sidney the Systems Administrator
Further details
This work contributes to the Incident Management Vision
Proposals
- When the
Alert bot
creates an issue for the first time in a GitLab instance, check to see ifincident
is an existing label and if it does not exist, create it. - Automatically add the
incident
label to all issues created by theAlert bot
-
Incident
label can be manually removed from incidents by users
Permissions and Security
Anyone who can interact with issues and add labels to them
Documentation
Testing
What does success look like, and how can we measure that?
Links / references
Edited by Sarah Waldner