Prerequisites
- Create a Grafana account.
Define the Webhook
In Grafana, click Alerts & IRM in the vertical navigation bar along the left, then Incidents, and then Integrations.
Click the Outgoing Webhook integration and then click Install Integration.
In the Webhook section, click +Run when an event fires.
Define a Webhook in Transposit and select the Grafana Incident template in the Prebuilt template drop-down.
Copy the Webhook URL into the URL to POST to field in your Webhook definition in Grafana.
Notice that you can specify when the Grafana webhook incident action is run.
Give your Webhook a name and click Add event action.
Trigger the Webhook
Create an incident via Grafana.
When you click Refetch payload in your Webhook definition in Transposit, the payload sent by Grafana is made available, as shown below.
The prebuilt template has automatically extracted relevant Grafana incident fields and mapped them to Transposit alert fields.
Next Steps
Continue developing your webhook settings in Transposit, as described in Setting Up Webhooks.