-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
Description
Problem Statement
This issue collects steps we need to take to implement span streaming
some deeper thoughts on various related topics: #17798
Solution Brainstorm
In a rough order and once we are ready to bring this into our develop branch:
- [core] Define envelope and serialized span types
- [core] Implement span JSON serialization
- [core] Implement client hooks required for sending, buffering and span processing
- [core] Add new
traceLifecycleSDK option - [core] Adjust
beforeSendSpantype and exportmakeV2Callbackhelper function - [everywhere] migrate SDK-internal event processor usage for
transactionevents to client hook (see Implications of Span Streaming #17798) - [browser] implement buffering and sending logic in integration
- [node] implement buffering and sending logic in new OTel Span Processor/Exporter
-
[everywhere] apply context data to segment span as attributes - [meta] define any missing attributes in sentry conventions
- ~~[core] set SpanKind and
on ~~~~isRemote~~~~SentrySpan~~ - ~~[core] extract span
and~~kind~~form~~is_remote~~and OTel ~~~~SentrySpan~~~~Span~~ - [core, meta] define and add a client report reason for
ignoreSpans