Skip to content

Commit d57bf10

Browse files
committed
add webhook
1 parent 26bc581 commit d57bf10

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

Diff for: docs/assets/images/alerts/configure-alerts.png

16.7 KB
Loading

Diff for: docs/assets/images/alerts/webhook-config.png

60 KB
Loading

Diff for: docs/setup_installation/admin/alert.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,21 @@ Then adding the Service key/Routing key of the receiver(s). PagerDuty provides
7070
[documentation](https://www.pagerduty.com/docs/guides/prometheus-integration-guide/) on how to integrate with
7171
Prometheus' Alert manager.
7272

73+
### Step 5: Configure Webhook Alerts
7374

74-
### Step 5: Advanced configuration
75+
You can also use webhooks to send alerts. A Webhook Alert is sent as an HTTP POST command with a JSON-encoded parameter payload.
76+
Click on the _Configure_ button on the left side of the **webhook** row and fill out the form that pops up.
77+
78+
<figure>
79+
<img src="../../assets/images/alerts/webhook-config.png" alt="Configure Webhook Alerts"/>
80+
<figcaption>Configure Webhook Alerts</figcaption>
81+
</figure>
82+
83+
Fill in the unique URL of your Webhook: the endpoint to send HTTP POST requests to.
84+
85+
A global receiver is created when a webhook is configured.
86+
87+
### Step 6: Advanced configuration
7588
If you are familiar with Prometheus' [Alert manager](https://prometheus.io/docs/alerting/latest/alertmanager/)
7689
you can also configure alerts by editing the _yaml/json_ file directly.
7790

0 commit comments

Comments
 (0)