Title: V8 Integrations are broken · Issue #12582 · getsentry/sentry-javascript · GitHub
Open Graph Title: V8 Integrations are broken · Issue #12582 · getsentry/sentry-javascript
X Title: V8 Integrations are broken · Issue #12582 · 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/12582
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"V8 Integrations are broken","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/remix\n\n### SDK Version\n\n8.10.0\n\n### Framework Version\n\nRemix 2.9.2\n\n### Link to Sentry event\n\n_No response_\n\n### SDK Setup\n\n```ts\r\n// apps/project/app/modules/sentry/monitoring.server.ts\r\nimport { nodeProfilingIntegration } from \"@sentry/profiling-node\";\r\nimport * as Sentry from \"@sentry/remix\";\r\n\r\nexport function init() {\r\n Sentry.init({\r\n dsn: import.meta.env.VITE_SENTRY_DSN,\r\n environment: import.meta.env.VITE_ENVIRONMENT,\r\n debug: true,\r\n autoInstrumentRemix: true,\r\n\r\n // Set tracesSampleRate to 1.0 to capture 100%\r\n // of transactions for performance monitoring.\r\n // We recommend adjusting this value in production\r\n tracesSampleRate: 1.0,\r\n profilesSampleRate: 1.0, // Profiling sample rate is relative to tracesSampleRate\r\n\r\n denyUrls: [\r\n /\\/healthcheck/,\r\n // TODO: be smarter about the public assets...\r\n /\\/build\\//,\r\n /\\/favicons\\//,\r\n /\\/images\\//,\r\n /\\/fonts\\//,\r\n /\\/apple-touch-.*/,\r\n /\\/robots.txt/,\r\n /\\/favicon.ico/,\r\n /\\/site\\.webmanifest/,\r\n ],\r\n\r\n integrations: [\r\n // Temporary disabling this because of https://github.com/getsentry/sentry-javascript/issues/12568\r\n // nodeProfilingIntegration(),\r\n // Add profiling integration to list of integrations\r\n Sentry.nativeNodeFetchIntegration(),\r\n Sentry.httpIntegration(),\r\n Sentry.httpClientIntegration(),\r\n ],\r\n\r\n beforeSendTransaction(event) {\r\n // ignore all healthcheck related transactions\r\n if (event.request?.headers?.[\"X-Healthcheck\"] === \"true\") return null;\r\n\r\n return event;\r\n },\r\n });\r\n}\r\n```\r\n\r\n```ts\r\n// apps/project/app/entry.server.tsx\r\n\r\nif (import.meta.env.VITE_SENTRY_DSN) {\r\n await import(\"./modules/sentry/monitoring.server.ts\");\r\n}\r\n```\n\n### Steps to Reproduce\n\n1. Launch remix app with `remix vite:build`\r\n2. Open app in browser\r\n3. An Internal server error occurs\r\n\r\n```sh\r\n__vite_ssr_import_0__.nativeNodeFetchIntegration is not a function\r\n at eval (/Users/simon/Code/Project/monorepo/apps/project/app/modules/sentry/monitoring.server.ts:32:27)\r\n at async instantiateModule (file:///Users/simon/Code/Project/monorepo/node_modules/.pnpm/vite@5.2.11_@types+node@20.12.12/node_modules/vite/dist/node/chunks/dep-cNe07EU9.js:55058:9\r\n```\n\n### Expected Result\n\nIntegrations being added.\n\n### Actual Result\n\nIntegrations are not recognized and break the app.","author":{"url":"https://github.com/depsimon","@type":"Person","name":"depsimon"},"datePublished":"2024-06-20T12:51:00Z","url":"https://github.com/getsentry/sentry-javascript/issues/12582"}
| 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:f008bc2f-6adf-28f1-b950-90d67d09abb7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B6E8:27737D:1473DBC:1BB6679:6B040098 |
| html-safe-nonce | 154bb3e7b5de92ee81a32ad1727f445ada76972ff2ab38bb012326850bbf374a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkU4OjI3NzM3RDoxNDczREJDOjFCQjY2Nzk6NkIwNDAwOTgiLCJ2aXNpdG9yX2lkIjoiMTE1NzY4NDU5NTA2ODc2NDMxMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ea17c647116bcefaf2364cf2ada99d16e46248ef4d907fa5904690175f02ae05 |
| hovercard-subject-tag | issue:2364367361 |
| 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/12582/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0d8f1f6b3c14edd03b5ec76047303d29a54d4bf935f1af544d2c8dffc82d646d/getsentry/sentry-javascript/issues/12582 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0d8f1f6b3c14edd03b5ec76047303d29a54d4bf935f1af544d2c8dffc82d646d/getsentry/sentry-javascript/issues/12582 |
| 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 | depsimon |
| 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