Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4da9117e
Commit
4da9117e
authored
Jul 30, 2020
by
Amy Qualls
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify where fields come from
Identify fields that originate from the alert's payload.
parent
63c99d35
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doc/operations/metrics/alerts.md
doc/operations/metrics/alerts.md
+6
-6
No files found.
doc/operations/metrics/alerts.md
View file @
4da9117e
...
...
@@ -82,15 +82,15 @@ Alerts can be used to trigger actions, like opening an issue automatically
1.
Click
**Save changes**
.
After enabling, GitLab automatically opens an issue when an alert is triggered containing
values extracted from
[
alert's
payload
](
https://prometheus.io/docs/alerting/latest/configuration/#webhook_config
)
:
values extracted from
the
[
`alerts` field in webhook
payload
](
https://prometheus.io/docs/alerting/latest/configuration/#webhook_config
)
:
-
Issue author:
`GitLab Alert Bot`
-
Issue title: Extract
from
`annotations/title`
,
`annotations/summary`
or
`labels/alertname`
-
Alert
`Summary`
: A list of properties
-
`starts_at`
: Alert start time
via
`startsAt`
-
`full_query`
: Alert query extracted from
`generatorURL`
-
Issue title: Extract
ed from the alert payload fields
`annotations/title`
,
`annotations/summary`
, or
`labels/alertname`
.
-
Alert
`Summary`
: A list of properties
from the alert's payload.
-
`starts_at`
: Alert start time
from the payload's
`startsAt`
field
-
`full_query`
: Alert query extracted from
the payload's
`generatorURL`
field
-
Optional list of attached annotations extracted from
`annotations/*`
-
Alert
[
GFM
](
../../user/markdown.md
)
: GitLab Flavored Markdown from
`annotations/gitlab_incident_markdown`
-
Alert
[
GFM
](
../../user/markdown.md
)
: GitLab Flavored Markdown from
the payload's
`annotations/gitlab_incident_markdown`
field.
When GitLab receives a
**Recovery Alert**
, it closes the associated issue.
This action is recorded as a system message on the issue indicating that it
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment