summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2019-07-26 00:46:58 +0000
committerEvan Read <eread@gitlab.com>2019-07-26 00:46:58 +0000
commit594f3e0e60f94596f7b4374edad02c0cc07840f5 (patch)
tree4645c48cb126aa0c65efbcedb53f967568d8a50b
parent513daf3dd6e48fe935ce5f062f8ffd201aee1503 (diff)
parent10a1670d614b2f4b7b8af63cf4a3540d0fec8b35 (diff)
downloadgitlab-ce-594f3e0e60f94596f7b4374edad02c0cc07840f5.tar.gz
Merge branch 'docs-support-annotation-template' into 'master'
Add docs for template field in prometheus alerts See merge request gitlab-org/gitlab-ce!30900
-rw-r--r--doc/user/project/integrations/prometheus.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/user/project/integrations/prometheus.md b/doc/user/project/integrations/prometheus.md
index ba982c9cf6f..e609fe43507 100644
--- a/doc/user/project/integrations/prometheus.md
+++ b/doc/user/project/integrations/prometheus.md
@@ -323,8 +323,9 @@ Once enabled, an issue will be opened automatically when an alert is triggered w
- `starts_at`: Alert start time via `startsAt`
- `full_query`: Alert query extracted from `generatorURL`
- Optional list of attached annotations extracted from `annotations/*`
+- Alert [GFM](../../markdown.md): GitLab Flavored Markdown from `annotations/gitlab_incident_markdown`
-To further customize the issue, you can add labels, mentions, or any other supported [quick action](../quick_actions.md) in the selected issue template.
+To further customize the issue, you can add labels, mentions, or any other supported [quick action](../quick_actions.md) in the selected issue template, which will apply to all incidents. To limit quick actions or other information to only specific types of alerts, use the `annotations/gitlab_incident_markdown` field.
Since [version 12.2](https://gitlab.com/gitlab-org/gitlab-ce/issues/63373), GitLab will tag each incident issue with the `incident` label automatically. If the label does not yet exist, it will be created automatically as well.