Commit 05a052f4 authored by Nick Gaskill's avatar Nick Gaskill

Merge branch 'fix-sample-prom-alert-config' into 'master'

Fix sample Prometheus alert config

See merge request gitlab-org/gitlab!63787
parents 60ebffd0 631e404f
...@@ -80,14 +80,16 @@ section of your Prometheus Alertmanager configuration: ...@@ -80,14 +80,16 @@ section of your Prometheus Alertmanager configuration:
```yaml ```yaml
receivers: receivers:
name: gitlab - name: gitlab
webhook_configs: webhook_configs:
- http_config: - http_config:
bearer_token: 9e1cbfcd546896a9ea8be557caf13a76 authorization:
send_resolved: true type: Bearer
url: http://192.168.178.31:3001/root/manual_prometheus/prometheus/alerts/notify.json credentials: 9e1cbfcd546896a9ea8be557caf13a76
# Rest of configuration omitted 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), For GitLab to associate your alerts with an [environment](../../ci/environments/index.md),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment