|
| 1 | +# Rollbar Integration Investigation |
| 2 | + |
| 3 | +**[Rollbar](rollbar.com)** is a software to catch errors, detect signals in data, and instantly identify root cause in minutes. |
| 4 | + |
| 5 | +## Configuring the webhook |
| 6 | + |
| 7 | +Sign in to Rollbar and install it, the steps to set it up are written in [the Rollbar homepage](https://rollbar.com/?dr). Follow the instructions. You can use any platform. (e.g. Python, Ruby, Android) |
| 8 | + |
| 9 | +Configure the script and run it, the script will deploy into your Rollbar Project, which you can find it at `https://rollbar.com/<username>/<projectName>/items/`. I think you're pretty much done at this point. |
| 10 | + |
| 11 | +## Possible messages |
| 12 | + |
| 13 | +### 1. Test message |
| 14 | + |
| 15 | +In Rollbar, go to **Dashboard > Settings > Notifications > Slack**, then press "Send Test Notification". The Rollbar webhook will send the message below. |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | +### 2. New occurrence |
| 20 | + |
| 21 | +Deploy an Error by running your script, the Rollbar webhook will send a message similar to the message below: |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | +### 3. (10^n)th occurrence |
| 26 | + |
| 27 | +Deploy 10^n times and Rollbar will send a message: |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | +### 4. High occurrence rate |
| 32 | + |
| 33 | +Deploy 10 or more times in five minutes. |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | +### 5. Reopened |
| 38 | + |
| 39 | +Reopen a solved item by pressing the Reopen button that looks like below: |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | +Rollbar will send a message similar to the message below. |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | +### 6. Resolved |
| 48 | + |
| 49 | +Resolve an item. You can resolve an item by going into your item and press the "Resolve" button. |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | +The message shown below will be sent by Rollbar. |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | +### 7. Reactivated |
| 58 | + |
| 59 | +Reactivate an item by deploying a resolved item. |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | +### 8. Every occurrence |
| 64 | + |
| 65 | +The message below will be sent for every occurrence. |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | +## Notes |
| 70 | + |
| 71 | +I wasn't able to get request data for the "Deploy" event, the Rollbar API documentation isn't complete. They don't have an instruction to deploy to Rollbar. But I've never really played around with something called "deploy", so I may be wrong. |
0 commit comments