Title: Conflict between Otel-SDK and Sentry-SDK resulting in traces not being exported. · Issue #18178 · getsentry/sentry-javascript · GitHub
Open Graph Title: Conflict between Otel-SDK and Sentry-SDK resulting in traces not being exported. · Issue #18178 · getsentry/sentry-javascript
X Title: Conflict between Otel-SDK and Sentry-SDK resulting in traces not being exported. · Issue #18178 · 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/18178
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Conflict between Otel-SDK and Sentry-SDK resulting in traces not being exported.","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/nestjs\n\n### SDK Version\n\n^10.19.0\n\n### Framework Version\n\n_No response_\n\n### Link to Sentry event\n\n_No response_\n\n### Reproduction Example/SDK Setup\n\nSDKs and Versions Used:\n```json\n\"@opentelemetry/api\": \"^1.9.0\",\n\"@opentelemetry/context-async-hooks\": \"^2.2.0\",\n\"@opentelemetry/core\": \"^2.2.0\",\n\"@opentelemetry/exporter-metrics-otlp-http\": \"^0.205.0\",\n\"@opentelemetry/exporter-trace-otlp-http\": \"^0.205.0\",\n\"@opentelemetry/instrumentation\": \"^0.207.0\",\n\"@opentelemetry/instrumentation-dataloader\": \"^0.23.3\",\n\"@opentelemetry/instrumentation-express\": \"^0.54.3\",\n\"@opentelemetry/instrumentation-graphql\": \"^0.53.3\",\n\"@opentelemetry/instrumentation-grpc\": \"^0.205.0\",\n\"@opentelemetry/instrumentation-http\": \"^0.205.0\",\n\"@opentelemetry/instrumentation-ioredis\": \"^0.53.3\",\n\"@opentelemetry/instrumentation-nestjs-core\": \"^0.52.2\",\n\"@opentelemetry/instrumentation-pg\": \"^0.58.3\",\n\"@opentelemetry/instrumentation-runtime-node\": \"^0.19.2\",\n\"@opentelemetry/instrumentation-undici\": \"^0.18.0\",\n\"@opentelemetry/resources\": \"^2.2.0\",\n\"@opentelemetry/sdk-trace-base\": \"^2.1.0\",\n\"@opentelemetry/semantic-conventions\": \"^1.37.0\",\n\"@sentry/opentelemetry\": \"^10.19.0\",\n\"@sentry/nestjs\": \"^10.19.0\",\n\"@sentry/node\": \"^10.19.0\",\n\"@sentry/profiling-node\": \"^10.19.0\",\n\"form-data\": \"^4.0.4\",\n\"graphql\": \"^16.10.0\",\n\"graphql-depth-limit\": \"^1.1.0\",\n\"graphql-subscriptions\": \"^3.0.0\"\n```\nSetup provided in the Linear ticket.\n\n### Steps to Reproduce\n\n> We are facing an issue related to missing spans in our observability backend after enabling tracing using a combination of Sentry SDK and OpenTelemetry SDK.\n> \n> After the integration, we started observing missing spans on random requests in our production systems. As part of our investigation, we also verified the dropped spans metric on the OpenTelemetry Collector to ensure that spans are not being dropped during collection or export. The metrics confirmed that no spans are being dropped by the collector, indicating that the issue likely lies in the instrumentation or context propagation layer rather than the collector itself.\n> \n> This issue occurs more frequently in traces involving GraphQL requests and interactions with our PostgreSQL database.\n\nCustomer setup provided in the Linear ticket.\n\n### Expected Result\n\n-\n\n### Actual Result\n\n-\n\n### Additional Context\n\n\u003csub>Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding `+1` or `me too`, to help us triage it.\u003c/sub>","author":{"url":"https://github.com/InterstellarStella","@type":"Person","name":"InterstellarStella"},"datePublished":"2025-11-12T06:55:51Z","url":"https://github.com/getsentry/sentry-javascript/issues/18178"}
| 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:f6481f25-1332-2ffb-ae82-2fd1b55692e5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C3F4:1D3CBE:19B957:2252C5:6B042FA3 |
| html-safe-nonce | 88a358945213fd639d7fef00c8244c08e092cdbfc63ef0016cc2fddde9334f11 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0Y0OjFEM0NCRToxOUI5NTc6MjI1MkM1OjZCMDQyRkEzIiwidmlzaXRvcl9pZCI6IjI2NDA1OTcwNzg1MDE1MDI4ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 418cdc801cc5020f6e8319ad980adad4cc537be060d53eff1557f486bfde6556 |
| hovercard-subject-tag | issue:3615239007 |
| 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/18178/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bc06e9dbb31d34b69b9c97933e3f87bf2885cb31b55223fda6f26b45a39dce5e/getsentry/sentry-javascript/issues/18178 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bc06e9dbb31d34b69b9c97933e3f87bf2885cb31b55223fda6f26b45a39dce5e/getsentry/sentry-javascript/issues/18178 |
| 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 | InterstellarStella |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| 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 | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| 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