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
631e404f
Commit
631e404f
authored
Jun 10, 2021
by
Alex Sears
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sample Prometheus alert config
parent
cea8f9aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
doc/operations/metrics/alerts.md
doc/operations/metrics/alerts.md
+10
-8
No files found.
doc/operations/metrics/alerts.md
View file @
631e404f
...
...
@@ -80,14 +80,16 @@ section of your Prometheus Alertmanager configuration:
```
yaml
receivers
:
name
:
gitlab
webhook_configs
:
-
http_config
:
bearer_token
:
9e1cbfcd546896a9ea8be557caf13a76
send_resolved
:
true
url
:
http://192.168.178.31:3001/root/manual_prometheus/prometheus/alerts/notify.json
# Rest of configuration omitted
# ...
-
name
:
gitlab
webhook_configs
:
-
http_config
:
authorization
:
type
:
Bearer
credentials
:
9e1cbfcd546896a9ea8be557caf13a76
send_resolved
:
true
url
:
http://192.168.178.31:3001/root/manual_prometheus/prometheus/alerts/notify.json
# Rest of configuration omitted
# ...
```
For GitLab to associate your alerts with an
[
environment
](
../../ci/environments/index.md
)
,
...
...
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