fingerprint
Computes a stable trace hash that ignores messages, addresses, paths, and line numbers by default, so identical bugs on different runs or hosts match and changed hashes can be explained.
Instructions
Compute a stable fingerprint for each trace in the text.
The hash covers the language, the top-level and root-cause exception types and the innermost application frames (function + file base name). Messages, memory addresses, ids, container-vs-local path prefixes, generated names ($$Proxy123) and, by default, line numbers are ignored, so the same bug on another run, host or commit hashes identically while a different bug does not. The components that went into the hash are listed so a changed fingerprint can be explained.
Args: text: One or more traces (max 5,000,000 characters). include_line_numbers: Also hash line numbers (stricter: edits to the file change the hash). redact: Remove secrets etc. from the output (default true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| redact | No | ||
| include_line_numbers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |