diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-27 09:09:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-27 09:09:45 +0300 |
commit | f3197dab7ff4b138d756290e9edcc4d829a6eb6e (patch) | |
tree | b8a3134b9d2536381796fa26f4ab02fdb1ed9b91 /app/models/alert_management | |
parent | 427879bb37f843a577b07eb9fb2c83537f8c3c4b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/alert_management')
-rw-r--r-- | app/models/alert_management/alert.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/models/alert_management/alert.rb b/app/models/alert_management/alert.rb index 7090d9f4ea1..6f090cefa23 100644 --- a/app/models/alert_management/alert.rb +++ b/app/models/alert_management/alert.rb @@ -22,6 +22,13 @@ module AlertManagement }.freeze private_constant :STATUSES + STATUS_DESCRIPTIONS = { + triggered: 'Investigation has not started', + acknowledged: 'Someone is actively investigating the problem', + resolved: 'No further work is required', + ignored: 'No action will be taken on the alert' + }.freeze + belongs_to :project belongs_to :issue, optional: true belongs_to :prometheus_alert, optional: true |