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
feat(tracing): Promote trace_lifecycle and ignore_spans to top-level options
Expose `trace_lifecycle` and `ignore_spans` as top-level `sentry_sdk.init()`
parameters instead of requiring them under `_experiments`. The
`_experiments` keys remain supported for backwards compatibility, but the
top-level value now takes precedence: when both sources are set,
`has_span_streaming_enabled` and `is_ignored_span` respect the top-level
`trace_lifecycle` and fall back to `_experiments` only when it is unset.
Add a validation warning when `ignore_spans` is set but span streaming is
not enabled, since the option only takes effect in stream mode. Update the
span-streaming docstrings to reference the new top-level configuration.
Fixes PY-2609
Fixes#6820
0 commit comments