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.

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.
  3. Specify who is notified of Raygun notifications using the Teams field. Autocomplete suggestions are provided as you type.
  4. Copy the integration URL which includes OpsGenie's endpoint as well as the API key.
  5. Click Save Integration

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

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.