• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Raygun.io

Raygun logo


What does the integration offer?

Use the Raygun Integration to forward Raygun notifications to Opsgenie. Opsgeniedetermines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

How does the integration work?

When an error is captured in Raygun, it creates an alert in Opsgenie.

Set up the integration

Raygun is an API-based integration. Setting it up involves the following steps:

  • Add a Raygun integration in Opsgenie

  • Configure the integration in Raygun

Add a Raygun integration

If you're using Opsgenie's Free or Essentials plan or if you’re using Opsgenie with Jira Service Management's Standard plan, you can add this integration from your team dashboard only. The Integrations page under Settings is not available in your plan.

  1. Go to Teams and select your team.

  2. Select Integrations on the left navigation and then select Add integration.

Adding the integration from your team dashboard will make your team the owner of the integration. This means Opsgenie will assign the alerts received through this integration to your team only. Follow the rest of the steps in this section to set up the integration.

To add a Raygun integration in Opsgenie:

  1. Go to Settings > Integrations.

  2. Select Add integration.

  3. Run a search and select “Raygun”.

  4. On the next screen, enter a name for the integration.

  5. Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.

  6. Select Continue.
    The integration is saved at this point.

  7. Expand the Steps to configure the integration section and copy the integration URL which includes Opsgenie endpoint and the API key.
    You will use this URL while configuring the integration in Raygun later.

  8. Select Turn on integration.
    The rules you create for the integration will work only if you turn on the integration.

Configure the integration in Raygun

  1. From your project's page in Raygun, go to Integrations.

  2. Select Webhook.

  3. Paste the URL you copied while adding the integration in Opsgenie into Url.

  4. Select Save.

You can now manage Raygun notifications at Opsgenie and leverage its full alerting functionality.

Sample Webhook Message from Raygun

(in JSON format)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 { "event":"error_notification", "eventType":"NewErrorOccurred", "error": { "url":"http://app.raygun.io/error-url", "message":"", "firstOccurredOn":"1970-01-28T01:49:36Z", "lastOccurredOn":"1970-01-28T01:49:36Z", "usersAffected":1, "totalOccurrences":1, "instance": { "tags": ["test", "error-page", "v1.0.1", "env:staging"], "affectedUser": { "Identifier": "a9b7d84a-c0d3-4e7e-9ded-1ec13d033846", "IsAnonymous": true, "UUID": "a9b7d84a-c0d3-4e7e-9ded-1ec13d033846" }, "customData": { "pageName": "Error Page", "userLoggedIn": true } } }, "application": { "name":"application name", "url":"http://app.raygun.io/application-url" } }

Still need help?

The Atlassian Community is here for you.