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.

360

What does Opsgenie offer to Errorception users?

OpsGgnie has a webhook integration with Errorception. Use the integration to send Errorception incidents to Opsgenie API with detailed information. Opsgenie acts as a dispatcher for Errorception alerts, determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, and iOS & Android push notifications, and escalates 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 so already.
  2. Go to Opsgenie Errorception 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 Errorception alerts using the Teams field. Auto-complete 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 Webhook URL.
  2. Click Save Integration.
1114

Configuration in Errorception

  1. In Errorception, go to the project settings page and select Service Webhooks from the left.
  2. Select WebHooks.
  3. Populate "WebHook URL" field with the integration URL copied while saving integration. Make sure "active" is checked.
  4. Click Save.
1019
  1. Configure alert properties from Errorception's 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

2434