What does the integration offer?
Compass has a Webhook integration with Errorception. Use the integration to send Errorception incidents to Compass API with detailed information. Compass 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 and 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 Compass 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 Compass
Configure the integration in Errorception
Add an Errorception integration
Bidirectional integrations aren’t supported in the Standard plan. All the other integrations are supported at a team level in Standard.
If you're using the Standard plan in Compass, you can add this integration only from your team’s operations page. Adding an integration from your team’s operations page makes your team the owner of the integration. This means Compass only assigns the alerts received through this integration to your team.
To add an Errorception integration in Compass, complete the following steps:
Go to your team’s operations page.
On the left navigation panel, select Integrations and then Add integration.
Run a search and select “Errorception”.
On the next screen, enter a name for the integration.
Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.
Select Continue.
The integration is saved at this point.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.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
In Errorception, go to the project settings page.
Select Service Webhooks > WebHooks.
Paste the URL previously copied from Compass into WebHook URL.
Be sure to select "active".
Select Save.
You can further define alert properties on the Errorception integration page in Compass.
Sample payload sent from Errorception
(in JSON format)
{ "isInline": true, "message": "Uncaught RefereceError: 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" }