Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/bun
SDK Version
9.38.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
constsentryClient=Sentry.init({// enabled: process.env.NODE_ENV === "production",dsn: SENTRY_DSN,environment: process.env.ENVIRONMENT,integrations: [],tracesSampleRate: 1.0,// @ts-expect-errorskipOpenTelemetrySetup: true,});if(!Sentry.isEnabled())console.warn("Sentry is not enabled");constprovider=newNodeTracerProvider({sampler: sentryClient ? newSentrySampler(sentryClient) : undefined,spanProcessors: [newSentrySpanProcessor()],});provider.addSpanProcessor(newSentrySpanProcessor());provider.register({// Ensure trace propagation works// This relies on the SentrySampler for correct propagationpropagator: newSentryPropagator(),// Ensure context & request isolation are correctly managedcontextManager: newSentry.SentryContextManager(),});// Validate that the setup is correctSentry.validateOpenTelemetrySetup();Steps to Reproduce
I tried to follow the documentations https://docs.sentry.io/platforms/javascript/guides/express/opentelemetry/custom-setup/ and https://docs.sentry.io/platforms/javascript/guides/bun/migration/v7-to-v8/v8-opentelemetry/ but especially the one for bun is lacking info, like where to get the imports from. Also skipOpenTelemetrySetup doesn't exist in the bun sdk
Expected Result
I am trying to do custom OpenTelemetry setup so that I can enable Sentry for error tracking but use langfuse for LLM tracing
Actual Result
Type errors
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/bun
SDK Version
9.38.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
Steps to Reproduce
I tried to follow the documentations https://docs.sentry.io/platforms/javascript/guides/express/opentelemetry/custom-setup/ and https://docs.sentry.io/platforms/javascript/guides/bun/migration/v7-to-v8/v8-opentelemetry/ but especially the one for bun is lacking info, like where to get the imports from. Also skipOpenTelemetrySetup doesn't exist in the bun sdk
Expected Result
I am trying to do custom OpenTelemetry setup so that I can enable Sentry for error tracking but use langfuse for LLM tracing
Actual Result
Type errors