Rollbar Integration

Rollbar works alongside your existing monitoring and logging tools to give you greater coverage and insights into any broken code across your stack. Rollbar's error monitoring fits right into your continuous delivery and deployment workflows to provide confidence in every code release.


What does Opsgenie offer Rollbar users?

By using Opsgenie’s Rollbar Integration: you can forward Rollbar incidents to Opsgenie. Opsgenie can determine the right people to notify based on on-call schedules, using email, text messages (SMS), phone calls, iOS & Android push notifications, and escalating alerts until the alert is acknowledged or closed.

Functionality of the integration

  • When an item is created, reopened, repeated or reactivated in Rollbar, an alert is created in Opsgenie.
  • When the item is resolved in the Rollbar, the alert is closed in Opsgenie.
  • When the alert is closed in Opsgenie, the item is resolved in the Rollbar.

Add Rollbar Integration in Opsgenie

  1. Please create an Opsgenie account if you haven't done so already.
  2. Go to the Project Page in Rollbar. Then, click the Project Access Token link on the left. Copy the token that allows access to all write calls, except POSTing items or deploys (write token).
  1. Go to Opsgenie's Rollbar 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. Paste the "Project Access Token" to "Rollbar Write Access Token" field.
  2. Specify who is notified of Rollbar alerts using the Teams field. Autocomplete suggestions are provided as you type.


An alternative for Step 3) and Step 5) 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 URL.
  2. Click on Save Integration.

Configuration in Rollbar Expand

  1. On the Rollbar dashboard, go to Settings -> Notifications -> Webhook
  2. Paste the URL copied previously.
  1. Click *Enable Webhook Integration.

Sample payload sent from Rollbar Close

  "event_name": "new_item",
  "data": {
    "item": {
      "public_item_id": null,
      "integrations_data": {},
      "last_activated_timestamp": 1390917586,
      "hash": "1cbf07b5da947216f68ea8b8dd4813fa43317b90",
      "id": 274146948,
      "environment": "staging",
      "title": "ReferenceError: Uncaught ReferenceError: testing_rollbar_123 is not defined",
      "last_occurrence_id": 770525810,
      "last_occurrence_timestamp": 1390917588,
      "platform": 1,
      "first_occurrence_timestamp": 1390917586,
      "project_id": 6869,
      "resolved_in_version": 6,
      "status": 1,
      "unique_occurrences": null,
      "framework": 7,
      "total_occurrences": 1,
      "level": 40,
      "counter": 1,
      "first_occurrence_id": 770525810,
      "activating_occurrence_id": 770525810

Sample alert


Did this page help you?