Title: The default behaviour sets a fingerprint but that contradicts the documentation · Issue #1856 · getsentry/sentry-javascript · GitHub
Open Graph Title: The default behaviour sets a fingerprint but that contradicts the documentation · Issue #1856 · getsentry/sentry-javascript
X Title: The default behaviour sets a fingerprint but that contradicts the documentation · Issue #1856 · getsentry/sentry-javascript
Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javascript/releases Package + Version @sentry...
Open Graph Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...
X Description: Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/1856
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"The default behaviour sets a fingerprint but that contradicts the documentation","articleBody":"\u003c!-- Requirements: please go through this checklist before opening a new issue -->\r\n\r\n- [x] Review the documentation: https://docs.sentry.io/\r\n- [x] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues\r\n- [x] Use the latest release: https://github.com/getsentry/sentry-javascript/releases\r\n\r\n## Package + Version\r\n\r\n- [ ] `@sentry/browser`\r\n- [x] `@sentry/node`\r\n- [ ] `raven-js`\r\n- [ ] `raven-node` _(raven for node)_\r\n- [ ] other:\r\n\r\n### Version:\r\n\r\n```\r\n4.5.3\r\n```\r\n\r\n## Description\r\n\r\nThe [documentation for grouping](https://docs.sentry.io/data-management/rollups/?platform=node#grouping-priorities) reads:\r\n\r\n> If a stack trace or exception is involved in a report, then grouping will only consider this information.\r\n> ...\r\n> As a fallback, the message of the event will be used for grouping.\r\n\r\nIt took me some time to undestand that this isn't true anymore for the '@Sentry/node' (it was probably true for the old 'raven' package).\r\n\r\nThe following line currently sets a fingerprint for all exceptions that have a message:\r\nhttps://github.com/getsentry/sentry-javascript/blob/1d64ace55cdb4a5d8021d8f241daffc413beba6d/packages/hub/src/scope.ts#L192\r\n\r\nHere is an exemple of user code triggering this behaviour:\r\n\r\n```js\r\nSentry.captureException(new Error(`Invalid date received: ${dateInput}`));\r\n```\r\n\r\nIn this case Sentry will sadly not group exceptions for different values of `dateInput`.\r\nThis is not easy to understand from a user's point of view, because the fingerprint information is hard to find on the Sentry website. You have to know how to download the JSON of events (click on \"JSON\" next to the event date), because it is the only place where the fingerprint is visible.\r\n\r\nA quick fix for users is to unset the fingerprint before each `captureException` call:\r\n```js\r\nSentry.configureScope((scope) => {\r\n scope.setFingerprint(['{{ default }}']);\r\n});\r\n```\r\n\r\nI believe that [the documentation for grouping](https://docs.sentry.io/data-management/rollups/?platform=node#grouping-priorities) should be updated or the package behaviour changed to be explicit.\r\n","author":{"url":"https://github.com/Caerbannog","@type":"Person","name":"Caerbannog"},"datePublished":"2019-01-27T15:41:53Z","url":"https://github.com/getsentry/sentry-javascript/issues/1856"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:65de02f0-5816-f9a0-f403-c879d40300aa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D3B8:32C6F8:10DA0A:1739A7:6B04B190 |
| html-safe-nonce | d8d967497c9b40755176917758ac0c11434ae21b9d7c73f667634f6d2023fdfe |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0I4OjMyQzZGODoxMERBMEE6MTczOUE3OjZCMDRCMTkwIiwidmlzaXRvcl9pZCI6Ijg0NDMwMDQzNTk1OTk3NjM4NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3f35546f0d6c70568b99276b0774cf3ed8d6eceb76832f9e0aa7dae3d6bd71a7 |
| hovercard-subject-tag | issue:403563947 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/1856/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5e99db064249e8da7ebffcc3df69f38a87911652297f98423598fa0a7a9f0f4d/getsentry/sentry-javascript/issues/1856 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5e99db064249e8da7ebffcc3df69f38a87911652297f98423598fa0a7a9f0f4d/getsentry/sentry-javascript/issues/1856 |
| og:image:alt | Review the documentation: https://docs.sentry.io/ Search for existing issues: https://github.com/getsentry/sentry-javascript/issues Use the latest release: https://github.com/getsentry/sentry-javas... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Caerbannog |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width