@@ -1272,6 +1272,7 @@ def __init__(
12721272 server_name : "Optional[str]" = None ,
12731273 shutdown_timeout : float = 2 ,
12741274 integrations : "Sequence[sentry_sdk.integrations.Integration]" = [], # noqa: B006
1275+ ignore_spans : "Optional[IgnoreSpansConfig]" = None ,
12751276 in_app_include : "List[str]" = [], # noqa: B006
12761277 in_app_exclude : "List[str]" = [], # noqa: B006
12771278 default_integrations : bool = True ,
@@ -1293,6 +1294,7 @@ def __init__(
12931294 ca_certs : "Optional[str]" = None ,
12941295 propagate_traces : bool = True ,
12951296 traces_sample_rate : "Optional[float]" = None ,
1297+ trace_lifecycle : "Optional[Literal['static', 'stream']]" = None ,
12961298 traces_sampler : "Optional[TracesSampler]" = None ,
12971299 profiles_sample_rate : "Optional[float]" = None ,
12981300 profiles_sampler : "Optional[TracesSampler]" = None ,
@@ -1757,6 +1759,12 @@ def __init__(
17571759 :param stream_gen_ai_spans: When set, generative AI spans are sent in a new transport format to
17581760 reduce downstream data loss.
17591761
1762+ :param trace_lifecycle: Controls how traces are sent. Set to `"stream"` to send spans as they
1763+ finish, or `"static"` to send a completed trace as a transaction event.
1764+
1765+ :param ignore_spans: A sequence of span-matching rules. Matching spans are ignored when
1766+ `trace_lifecycle="stream"` is enabled.
1767+
17601768 :param _experiments: Dictionary of experimental, opt-in features that are not yet stable.
17611769
17621770 ``data_collection`` (EXPERIMENTAL): structured configuration controlling what data integrations
0 commit comments