Skip to content
bliptracedocs

What Bliptrace captures

Grouping and fingerprints

How Bliptrace decides that two errors are the same bug, and how to override it.

On this page

Bliptrace groups occurrences into issues. A thousand identical errors are one issue with a count of a thousand, not a thousand rows in your inbox. The grouping key is the fingerprint.

The default fingerprint

The fingerprint is a hash of:

  1. the project,
  2. the exception type,
  3. the top five in-app frames, each as normalised file plus function,
  4. the culprit: the function (or file) of the top in-app frame.

Line numbers and the message are not part of it. Adding a line above the failing code, or an error message that contains an id or a timestamp, does not split one bug into many issues.

If an event has no in-app frames at all, the top frames of the whole stack are used instead.

Why in-app frames matter

The same bug thrown from your code can travel through different framework or library frames depending on the route. Grouping on your own frames keeps it one issue. That is why each SDK needs the right base path: frames under it, and outside vendor/, node_modules/, site-packages/ or /gems/, are marked in_app.

Runtime-aware paths

Stack paths differ by language and by machine, so file names are normalised per runtime before hashing. A deploy to a new directory or a new build does not create new issues.

Runtime Normalisation
PHP Path from app/, src/ or vendor/ onwards; otherwise the file name
JavaScript Scheme and host removed (https://cdn.example.com/), content hashes removed (main.3f9a1c2b.js becomes main.js)
Python Path after site-packages/ or dist-packages/; otherwise the file name
Go Module cache prefix and @vX.Y.Z versions removed
All Query strings and fragments dropped, backslashes turned into slashes

Override it

Set fingerprint_hint in the envelope to group by your own key. Everything with the same hint in a project becomes one issue, whatever the stack says.

{ "fingerprint_hint": "payment-gateway-timeout" }

Use it sparingly, for errors that are really one problem but arrive with different stacks, such as a third-party outage.

Documentation