When it comes to combining similar errors, Rollbar has a few key concepts and terms:
Occurrences can be:
Rollbar tries to combine occurrences such that:
When the above goals are in conflict, we usually create more items to ensure that no issues remain hidden. We are continuously improving grouping performance by using machine learning to minimize the noise caused by these conflicts.
Rollbar continuously improves the default grouping engine and automatically uses the most advanced version for projects created as of July 29, 2020. We apply grouping updates in such a way as to avoid false alarms caused by applying new grouping to existing items. You can enable auto-upgrades for older projects on the 'Upgrade Grouping' settings page.
We attempt to recognize frequently occurring error types and fingerprint them using patterns identified by machine learning instead of using hard-coded grouping algorithms that apply generic rules. We continuously train our model to maximize its performance.
For less frequent exceptions that we do not have patterns for, our basic fingerprinting algorithm is:
The resulting SHA1 hash is used as the occurrence fingerprint.
Things to note:
We've added a number of tweaks to this basic algorithm. Here are some of the big ones:
For messages, we apply a number of heuristics on the message text itself. The basic algorithm is:
Like exceptions, the resulting SHA1 hash is used as the occurrence "fingerprint", and occurrences with the same fingerprint are combined.
"Things that look like data" includes:
On the other hand, we attempt to preserve "things that look like data" if we assume it's relevant for grouping, like error codes or HTTP status codes.
If our default algorithm doesn't group the occurrences the way you would like to see, you can create rules to override the default behavior. This can be found in Settings -> {Project} -> Custom Fingerprinting. Please see the Custom Fingerprinting guide to learn more.
If you cannot describe the grouping you would like to use as Custom Fingerprinting Rules, you can calculate a fingerprint yourself and send it with the occurrence report. Note that despite its flexibility, we discourage using this feature as any change you would like to make in grouping this way will require you to re-deploy your application.
See the docs for the Rollbar library you are using for instructions on how to set specific keys in the payload. To send the fingerprint, you'll just need to set the fingerprint key in the payload to the value you want.
Occurrences with the same fingerprint will be combined. The fingerprint should be a string up to 40 characters long. If you pass a string longer than 40 characters, we'll use its SHA1 hash instead.
The following options can be turned on or off at any time, and will take effect immediately for all future occurrences.
Items are divided by environment before any algorithms are considered. This means that items resulting in the same fingerprint but are in different environments will not be grouped together.
| Products | Platform | Documentation | Resources | Company | ||
| Error Monitoring | JavaScript | PHP | Docs Overview | Blog | About Us | |
| Session Replay | Ruby | Python | Getting Started | Guides | Careers | |
| Pricing | iOS | Java | Notifications | Contact Us | ||
| Languages | .NET | Angular | Deploy Tracking | Changelog | ||
| Integrations | React | Laravel | Telemetry | |||
| Node | Rails | Security & Compliance | ||||
| Django | More... | API | ||||
| 2012-26 Rollbar Inc. Privacy Policy Terms of Service | ||||||