• Get started
  • Documentation

Integrate Opsgenie with Errorception

Errorception logo

Overview

What does the integration offer?

Opsgenie 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.

How does the integration work?

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

Set up the integration

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

  • Add an Errorception integration in Opsgenie

  • Configure the integration in Errorception

Add an Errorception 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 an Errorception integration in Opsgenie:

  1. Go to Settings > Integrations.

  2. Select Add integration.

  3. Run a search and select “Errorception”.

  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 Webhook URL.
    You will use this URL while configuring the integration in Errorception 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 Errorception

1. In Errorception, go to the project settings page.

2. Select Service Webhooks > WebHooks.

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

Errorception Project Settings

4. Be sure to select "active".

5. Select Save.

You can further define alert properties on the Errorception integration page in Opsgenie.

Sample payload sent from Errorception

(in JSON format)

1 2 3 4 5 6 7 8 9 10 11 12 { "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" }

 

Still need help?

The Atlassian Community is here for you.