Title: Attach stack trace to events from `HTTPClient` integration so they are not merged (fingerprinted) into a single issue · Issue #8353 · getsentry/sentry-javascript · GitHub
Open Graph Title: Attach stack trace to events from `HTTPClient` integration so they are not merged (fingerprinted) into a single issue · Issue #8353 · getsentry/sentry-javascript
X Title: Attach stack trace to events from `HTTPClient` integration so they are not merged (fingerprinted) into a single issue · Issue #8353 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/8353
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Attach stack trace to events from `HTTPClient` integration so they are not merged (fingerprinted) into a single issue","articleBody":"### Is there an existing issue for this?\n\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [X] I have reviewed the documentation https://docs.sentry.io/\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSentry Saas (sentry.io)\n\n### Which SDK are you using?\n\n@sentry/nextjs\n\n### SDK Version\n\n7.53.1\n\n### Framework Version\n\nReact 17.0.2, Next.js 12.1.6\n\n### Link to Sentry event\n\nhttps://go-city.sentry.io/issues/4231630878/?project=4503958434480128\n\n### SDK Setup\n\n```ts\r\nconst { publicRuntimeConfig } = getConfig();\r\n\r\nconst isProduction = process.env.NODE_ENV === 'production';\r\n\r\nSentry.init({\r\n // when dsn is null, no errors will be sent to Sentry\r\n dsn: isProduction ? publicRuntimeConfig.SENTRY_DSN : null,\r\n environment: publicRuntimeConfig.ENVIRONMENT ?? 'local',\r\n release: isProduction ? publicRuntimeConfig.SENTRY_RELEASE : `development-${publicRuntimeConfig.USER}`,\r\n ignoreErrors: ['jQuery'],\r\n allowUrls: isProduction\r\n ? [\r\n // Match our app \r\n /https://our-site-here.com/,\r\n // Match gtm error\r\n /gtm.js/,\r\n ]\r\n : [],\r\n tracesSampler,\r\n beforeSend: (event: Event): Event => {\r\n // append LogRocket Session url to Sentry extras, for easier debugging\r\n const logRocketSession = LogRocket.sessionURL;\r\n if (logRocketSession !== null) {\r\n event.extra['LogRocket'] = logRocketSession;\r\n }\r\n return event;\r\n },\r\n integrations: [\r\n new HttpClient(),\r\n ],\r\n});\r\n```\n\n### Steps to Reproduce\n\nWe added the HTTP Client Integration to our Sentry setup:\r\n\r\n```ts\r\n integrations: [\r\n new HttpClient(),\r\n ],\r\n```\r\n\r\nAfter this, we started to see events being tracked in Sentry for 500, 502 and 504 status codes in responses from our site. \n\n### Expected Result\n\nWe would be able to triage requests to different URLS separately. Sentry would group `HTTPClient`-captured events as separate issues. We thought that would happen by default using the request url and response status code.\r\n\r\n\n\n### Actual Result\n\nAll the events are grouped under the same Sentry issue, regardless of the error code or request URL.\r\n\r\nFor the issue linked above:\r\n\r\n\r\n\r\nUnder the 'all events' tab there several different issues all being grouped together (URLs cropped intentionally):\r\n\r\n\r\n\r\nAFAIK we have not accidentally merged any issues manually.\r\n\r\n\r\n","author":{"url":"https://github.com/harry-gocity","@type":"Person","name":"harry-gocity"},"datePublished":"2023-06-19T10:12:29Z","url":"https://github.com/getsentry/sentry-javascript/issues/8353"}
| 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:935527cf-6270-2bfe-6cc6-9b7efa78133e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C47C:102FBB:1FB2E5D:295E1B5:6B040C6A |
| html-safe-nonce | 26ab4b97fb87fa91eaab80ab1fa22c85f2c5a19442702004bffa9aefd26ec53c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDdDOjEwMkZCQjoxRkIyRTVEOjI5NUUxQjU6NkIwNDBDNkEiLCJ2aXNpdG9yX2lkIjoiNTQwNjczODU0ODk0MDYwNjU3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3e942aed7be6f277ed7c9e87e9ada606b5f9f64fa9d14e01a90b13e612ac3835 |
| hovercard-subject-tag | issue:1763215311 |
| 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/8353/issue_layout |
| twitter:image | https://opengraph.githubassets.com/837c67e08479e8b9b1024325429ae504d7310838eb252cbc6e1d37e8d28bea99/getsentry/sentry-javascript/issues/8353 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/837c67e08479e8b9b1024325429ae504d7310838eb252cbc6e1d37e8d28bea99/getsentry/sentry-javascript/issues/8353 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | harry-gocity |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| 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