Receiving Grafana Alerts

Here's how to set up a webhook to receive Grafana alerts.

Once configured, you can:

  • route Grafana alerts to Transposit and Slack
  • create activities and run runbooks tied to Grafana alerts
  • trigger runbooks to run when Grafana alerts are received
  • trigger runbooks to run when the payload's content matches your conditions
  • trigger runbooks to run when an activity is created in response to Grafana alerts
  • invoke actions to remediate the underlying issues triggered by Grafana
  • set dynamic parameters using payloads provided by Grafana alerts

Follow the steps below to integrate Grafana alerts with Transposit.

1. Create Grafana Alert Webhooks in Transposit#

Go to Settings > Webhooks, and click Add webhook. Choose Grafana alerts, as shown below.

Note: The optional Slack channel must already exist, create it before adding the webhook.

Click Add and then find the webhook you just added in the list. Click Click to copy to copy the URL to the clipboard or manually copy the endpoint URL.

2. Define Webhooks in Grafana#

Follow the "Contact Points" documentation on the Grafana site and create a new contact point, as shown below.

When you create a new contact point, use the Webhook URL that you created in Transposit to fill in the URL field in Grafana, as shown below.

Click Test, as shown above, and you should see your Grafana alerts received in Transposit, as shown below.

In Slack, if you defined the webhook in Transposit to support Slack, you should see Grafana alerts displayed, too, as shown below.

When an alert is received, click Create activity above to start creating a new activity, adding runbooks, and following the progress of work done by your team in response to the Grafana alert.