AppSignal Integration

AppSignal is a monitoring and debugging service for Ruby apps and sends notifications of new incidents. With AppSignal's Integration, Opsgenie acts as a dispatcher for these alerts and determines the right people to notify.

207

​What does Opsgenie offer AppSignal users?

AppSignal sends notifications of new incidents. With AppSignal's Integration, Opsgenie acts as a dispatcher for these incidents and determines the right people to notify based on on-call schedules– notifying them using email, text messages (SMS), phone calls and iPhone & Android push notifications, and escalates alerts until the alert is acknowledged or closed.

Functionality of the integration

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

Add AppSignal integration in Opsgenie

  1. Please create an Opsgenie account if you haven't done so already.
  2. Go to the Opsgenie AppSignal 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 AppSignal 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 API Key.
  2. Copy the Endpoint.
  3. Click Save Integration.
2194

Configuration in AppSignal

  1. In AppSignal, go to the Integrations tab from the sidebar.
  2. Add an Opsgenie Integration and Populate API Key with the API Key copied previously.
  3. Paste the Endpoint copied previously into the field.
  4. Click Submit.
957

Sample payload sent from AppSignal

Marker alert payload:

{
"user": "thijs",
"site": "AppSignal",
"environment": "test",
"revision": "3107ddc4bb053d570083b4e3e425b8d62532ddc9",
"repository": "[email protected]:appsignal/appsignal.git",
"url": "https://appsignal.com/test/sites/1385f7e38c5ce90000000000/web/exceptions"
}

Exception alert payload:

{
"exception": "ActionView::Template::Error",
"site": "AppSignal",
"message": "undefined method `encoding' for nil:NilClass",
"action": "App::ErrorController#show",
"path": "/errors",
"revision": "3107ddc4bb053d570083b4e3e425b8d62532ddc9",
"user": "thijs",
"first_backtrace_line": "/usr/local/rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/cgi/util.rb:7:in `escape'",
"url": "https://appsignal.com/test/sites/1385f7e38c5ce90000000000/web/exceptions/App::SnapshotsController-show/ActionView::Template::Error",
"environment": "test"
}

Sample alert

2435