Configure a webhook in Grafana

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

  1. Log in to the Grafana console.
    The Grafana landing page.
  2. On the navigation pane, click the bell icon (The bell icon.) and then click Alerting > Notification channels.
    The Notification channels page.
  3. Click New channel.
    The New notification channel form appears.
    The Notification channel form.
  4. On the form, fill in the fields.
    Field Description
    Name Name for the notification channel.
    Type Select the type as webhook.
    Url Webhook URL copied from Incident Response.
    Optional Webhook settings
    Http Method Select POST.
    Notification settings
    Options to manage your notifications.
  5. Click Test to verify whether a connection is being established between Grafana and Incident Response, to send events. This doesn't create an alert in Incident Response.
  6. Click Save.

What to do next

Add the notification webhook to your alert rules:
  1. Navigate to Dashboards > Manage.
  2. Select a panel and open the panel editor.
  3. Click the Alert tab.
  4. In the Notification section, under Send to, click the plus icon (The plus icon.) and add the notification channel that you have created.

    The Notifications section on the Dashboard page.