Raven-ruby and fingerprint, configure level. (Grouping similar exception)


Hi there, I’d like to know if there a way to set fingerprint within Raven.configure, just like this article presents? https://blog.sentry.io/2018/01/18/setting-up-custom-fingerprints

The thing is, I want to put the fingerprint to a non-rescued method (which is forced it to retry), since the different error messages caused numerous similar events, it’s quite bothering.

Any better idea than this one would be appreciated!


Hi Carol,

If I read https://docs.sentry.io/clients/ruby/usage/#optional-attributes correctly then you should be able to set a fingerprint like this:

Raven.capture_exception(..., fingerprint: ["{{ default }}", "other value"])