-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
- 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.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. - Initialise Sentry SDK with
integrations=[OTLPIntegration()]. - Make sure Sentry tracing, breadcrumbs, and error capture work.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels