Rollbar Integration

Rollbar works alongside your existing monitoring and logging tools to give you greater coverage and insights into 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. OpsGenie is an alert and notification management solution that is highly complementary to Rollbar's monitoring mechanism.

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 Project Page in Rollbar. Then, Click "Project Access Token" link in 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.
  2. Paste "Project Access Token" to "Rollbar Write Access Token" field.
  3. Specify who should be notified for Rollbar alerts using the "Teams" field. Autocomplete suggestions will be provided as you type.
  4. Copy the URL.
  5. Click on "Save Integration."

Configuration in Rollbar Expand

  1. In Rollbar dashboard, go to Settings -> Notifications -> Webhook
  2. Paste the URL.
  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

Rollbar Integration