Raygun.io Integration

Raygun is an error, crash, and performance tracking service. Forward Raygun error notifications to Opsgenie to notify users via iPhone and Android push notifications, email, SMS, and phone calls to track the alert lifecycle, escalate alerts, etc.

73

What does Opsgenie offer Raygun users?

Use Opsgenie’s Raygun Integration to forward Raygun notifications to Opsgenie. Opsgenie determines 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.

Functionality of the integration

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

Add Raygun Integration in Opsgenie

  1. Please create an Opsgenie account if you haven't done so already.
  2. Go to Opsgenie's Raygun Integration page.

🚧

For Free and Essentials plans, you can only add the integrations from the Team Dashboards, please use the alternative instructions given below to add this integration.

  1. Specify who is notified of Raygun notifications using the Teams field. Autocomplete suggestions are provided as you type.

📘

An alternative for Step 2) and Step 3) is to add the integration from the Team Dashboard of the team which will own the integration. To add an integration directly to a team, navigate to the Team Dashboard and open Integrations tab. Click Add Integration and select the integration that you would like to add.

  1. Copy the integration URL which includes Opsgenie's endpoint as well as the API key.
  2. Click Save Integration
2752

Configuration in Raygun

  1. In Raygun, go to "Integrations" from the project page.
  2. Select Webhook.
  3. Populate the webhook URL field with the integration URL copied previously when saving integration.
  4. Click Save.
  5. ​All set! Now manage Raygun notifications at Opsgenie and leverage its full alerting functionality:

Sample Webhook Message from Opsgenie Raygun

{
  "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"
  }
}

Sample alert

2662