Server-side Fingerprinting

Server-side fingerprinting is also configured with a config similar to grouping enhancements, but the syntax is slightly different. The matchers are the same but instead of flipping flags, a fingerprint is assigned that overrides the default grouping entirely.

These rules can be configured on a per-project basis under Project Settings > General Settings > Grouping Settings.

(matcher:expression)+ -> list, of, values

All values are matched against, and in the case of stack traces, all frames are considered. If all matches in a line match then the fingerprint is applied.

The matchers are the same as for grouping enhancements but some extra ones are available:

  • type: matches on an exception type
  • value: matches on an exception value
  • message: matches on a log message

Don’t forget that you can also use variables like {{ function }} to customize fingerprinting like you can do if the client submits them.

Examples

# force all errors of the same type to have the same fingerprint
type:DatabaseUnavailable -> system-down
type:RedisConnectionError -> system-down

# force all events with a certain message to be matched together
message:"unexpected i/o error: *" -> io-error

# group all TimeoutError exceptions by the transaction that caused them
type:TimeoutError -> {{ transaction }}

# group all javascript errors in a module by the topmost module and function name
path:**/some-module/** -> {{ module }}, {{ function }}

# force all memory allocation errors to be grouped together
family:native function:malloc -> memory-allocation-error

# group all allocation errors by the package (dylib, executable) that caused them
function:*alloc* -> {{ package }}
On this page