Ignore minor code changes when grouping Python occurrences

By default, we include the code context (source code fragment) of Python stack frames in the string used for fingerprinting. Including the code context means that any time a change is detected, however small it might be, a new item will be created. As a result, even if you only change code formatting or rename a variable, you will get a 'New Item' notification.

You can now disable this for any project by going to Settings>Setup>Custom Fingerprinting.

python-code-context

However, note that disabling it may result in overgrouping when the method names are not unique, like in the case of inner functions and lambdas.

Also, this change is not retrospective, so expect an initial flurry of 'New Items'.

Questions? Feedback?

Let us know what you think by sending an email to support@rollbar.com or a message via the in-app chat.