You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move over Sentry SDK initialisation from flagsmith/flagsmith to here.
Port https://github.com/Flagsmith/flagsmith/blob/main/api/integrations/sentry/samplers.py to a opentelemetry.sdk.trace.sampling.Sampler subclass, and maintain compatibility with existing Sentry tracing settings DEFAULT_SENTRY_TRACE_SAMPLE_RATE, DASHBOARD_ENDPOINTS_SENTRY_TRACE_SAMPLE_RATE, FORCE_SENTRY_TRACE_KEY. Introduce non-sentry aliases for these settings (e.g. OTEL_FORCE_TRACE_KEY). Add the Sampler to OTel tracing setup.
Initialise Sentry SDK with integrations=[OTLPIntegration()].
Make sure Sentry tracing, breadcrumbs, and error capture work.
opentelemetry.sdk.trace.sampling.Samplersubclass, and maintain compatibility with existing Sentry tracing settingsDEFAULT_SENTRY_TRACE_SAMPLE_RATE,DASHBOARD_ENDPOINTS_SENTRY_TRACE_SAMPLE_RATE,FORCE_SENTRY_TRACE_KEY. Introduce non-sentry aliases for these settings (e.g.OTEL_FORCE_TRACE_KEY). Add the Sampler to OTel tracing setup.integrations=[OTLPIntegration()].