Errorception Integration

Errorception is a Javascript error monitoring service. Errorception provides navigable stack traces, source maps for minified scripts, error grouping and detailed stats for easy monitoring of Javascript errors.

What OpsGenie offer to Errorception users? 

OpsGenie has a webhook integration with Errorception. Using the integration, Errorception sends incidents to OpsGenie API, with detailed information. OpsGenie acts as a dispatcher for Errorception alerts, determining the right people to notify based on on-call schedules, using email, text messages (SMS), phone calls and iOS & Android push notifications, and escalating alerts until the alert is acknowledged or closed.


Functionality of the integration

  • When an alert is created in Errorception, an alert is also created in OpsGenie automatically through the integration.

Add Errorception Integration in OpsGenie

  1. Please create an OpsGenie account if you haven't done already
  2. Go to OpsGenie Errorception Integration page,
  3. Specify who should be notified for Errorception alerts using the "Teams" and "Recipients" fields. Auto-complete suggestions will be provided as you type. 
  4. Copy the Webhook URL by clicking on the copy button or selecting.
  5. Click on "Save Integration".

Configuration in Errorception

  1. In Errorception, go to your project settings page and select "Service Webhooks" from the left.
  2. Select "WebHooks".
  3. Populate "WebHook Url" field with the integration URL you copied when saving integration. Make sure "active" is checked.
  4. Click "Save".
  5. Alert properties can be configured from Errorception Integration / Advanced Settings page.

Sample payload sent from Errorception

{
  "isInline": true,
  "message": "Uncaught ReferenceError: leJohn is not defined",
  "userAgent": "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36",
  "when": "before",
  "scriptPath": "skriptPeth",
  "page": "http://localhost:8080/integration/index/?state=4",
  "date": "2014-10-14T08:43:04.029Z",
  "isFirstOccurrence": true,
  "webUrl": "http://errorception.com/projects/543ce00c69c1935122000029/errors/543ce218bfb6f76cbe96ff4b",
  "apiUrl": "https://api.errorception.com/projects/543ce00c69c1935122000029/errors/543ce218bfb6f76cbe96ff4b"
}

Sample alert