How to add merging rules?


#1

In current project a lot of error messages contains context. For example:
Message ${id} not found or User ${id} has incorrect state. Is it possible to add auto-merge strategy based on pattern? For previous examples it would be:
Message (\S+) not found or User (\d+) has incorrect state


#2

I am also looking into how to do something like this. The closest thing I have found so far is to use use fingerprints, https://docs.sentry.io/learn/rollups/#custom-grouping
I would like to hear if there is a better way.