Menu
Grafana Cloud

Configure Opsgenie for Alerting

Use the Grafana Alerting - Opsgenie integration to receive alert notifications in your Opsgenie alert dashboard when your Grafana alert rules are triggered and resolved.

Before you begin

Create an API key to enable Grafana to send alert notifications to Opsgenie alert dashboard.

To create an API key in Opsgenie, complete the following steps.

  1. Follow the steps in the API integration guide.

    Make sure you turn on the integration.

  2. Copy the API key.

Procedure

To create your Opsgenie integration in Grafana Alerting, complete the following steps.

  1. Navigate to Alerts & IRM -> Alerting -> Contact points.

  2. Click + Add contact point.

  3. Enter a contact point name.

  4. From the Integration list, select Opsgenie.

  5. In the API key field, paste in your API key.

  6. In the Alert API URL, enter https://api.opsgenie.com/v2/alerts.

  7. Click Test to check that your integration works.

    ** For Grafana Alertmanager only.**

    A test alert notification is sent to the Alerts page in Opsgenie.

  8. Click Save contact point.

Next steps

The Opsgenie contact point is ready to receive alert notifications.

To add this contact point to your alert rule, complete the following steps:

  1. In Grafana, navigate to Alerting > Alert rules.
  2. Edit or create a new alert rule.
  3. Scroll down to the Configure labels and notifications section.
  4. Under Notifications, click Select contact point.
  5. From the drop-down menu, select the previously created contact point.
  6. Click Save rule and exit.