• Products
  • Get started
  • Documentation
  • Resources

Integrate Opsgenie with Honeybadger

Honeybadger logo

What does Opsgenie offer to Honeybadger users?

Integrate Opsgenie with Honeybadger to dispatch the alerts generated by Honeybadger, determines the right people to notify based on on-call schedules– notifies via emails, SMS, phone calls, and iOS, and Android push notifications, and escalates alerts until they are acknowledged or closed.

Functionality of the integration

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

  • When an alert is closed in Honeybadger, the related alert is closed in Opsgenie.

Add Honeybadger integration in Opsgenie

Under the Free and Essentials plans, the tabs under the Team dashboard are limited to Main, Integrations, Members, and Activity Stream.

Did you know that you can also add this integration from your team dashboard? 

If you want your team to be the owner of this integration, add it from your team dashboard. Opsgenie will assign the alerts received through this integration to your team only.

To do that;

  1. Go to Teams

  2. Find your team and select it to go to your team dashboard,

  3. From your team navigation, select Integrations,

  4. Select Add integration.

  • Click Save Integration.

  • To modify default rules for the Honeybadger Integration, click Go to Advanced Settings.

Honeybadger integration
  • Create/edit conditions for filtering Honeybadger alerts on Filter segment.

Hondybadger action settings
  • Modify fields for the alerts generated by Honeybadger using Alert Fields segments.

Honeybadger alert fields

Configuration on Honeybadger

  • Go to Projects > Settings > Integrations.

HoneybadgeriIntegration settings
  • Select Opsgenie from the list of services.

Honeybadger select Opsgenie
  • Copy the API key that is generated from the Honeybadger Settings page on Opsgenie and paste it into Api key field on Honeybadger Webhook Integration page.

  • Depending on the instance you are using, select US or EU under Endpoint section.

Honeybadger set up Opsgenie
  • Click Save Changes.

Honeybadger Events

When the Honeybadger Integration is added to Opsgenie, two rules for creating alerts and two rules for closing alerts are automatically added for you which matches Honeybadger's fault and site based alerts. The content for those two types of alerts are totally different so use and modify those rules to stay up-to-date with all the features Honeybadger provides.

The following is the complete list of event types that Honeybadger generate and you can use for the Event field for filtering:

  • occurred

  • rate_exceeded

  • down

  • resolved

  • up

  • unresolved

  • commented

  • assigned

  • deployed

Sample payload sent from Honeybadger

JSON

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 { "event": "resolved", "message": "[Crywolf/production] RuntimeError resolved by Joshua Wood", "actor": { "id": 3, "email": "test@opsgenie.com", "name": "Kadir" }, "fault": { "project_id": 1717, "klass": "RuntimeError", "component": "pages", "action": "runtime_error", "environment": "production", "resolved": true, "ignored": false, "created_at": "2015-07-02T18:57:26.757Z", "comments_count": 4, "message": "This is a runtime error, generated by the crywolf app at 2015-07-16 10:44:13 -0700", "notices_count": 3, "last_notice_at": "2015-08-06T22:11:43.738Z", "tags": [], "id": 13760144, "assignee": null } }

Sample alert

Honeybadger sample alert

 

Last modified on Jan 15, 2021
Cached at 8:59 PM on Jun 12, 2021 |

Additional Help

Ask the Community