Configure a webhook in Grafana v8.x
Configure webhook endpoints so that Grafana can use the endpoint to communicate with Incident Response.
Before you begin
Ensure you have created an account in Grafana.
Role required: Responder, Manager, or Administrator
About this task
Note: While this integration with a third-party product is
supported, the documentation here is based upon information provided by that third-party.
More current information about the operation of that third-party’s system may be available
from them directly.
Procedure
What to do next
Create alert rules and notification policies:
- In the left pane, click the dashboard icon (
) and under the Browse tab, select the dashboard.
- Select a panel and click Edit open the panel editor.
- Click the Alert tab.
- Click Create alert rule from this panel.
The Create alert rule form appears.
- Under the Set a query and alert condition section, add alert conditions and then select the required alert condition.
- Under the Alert evaluation behavior section, add the alert evaluation interval.
- Under the Add details for your alert section, in the
Group field, specify a pre-defined group.
Rules within a group are run sequentially at a regular interval, with the same evaluation time.
- Under the Notifications section, in the Custom Labels, add severity and its
value. For more information on severity, see Severity and state mappings for Grafana v8.x.
- Click Save.
- On the navigation pane, click the bell icon (
) and then click .
- Choose any of the following ways to specify your contact point for the
notifications:
Notification policies Steps Root policy - default for all alerts - Click Edit.
- In the Default contact point field, select the contact point that you have created.
- Click Save.
Specific routing - Click + New specific policy.
- Enter the matching labels that you have entered in the Notification section of the alert rule.
- In the Contact point field, select the contact point.
- Click Save policy.