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
Copy file name to clipboardExpand all lines: develop-docs/sdk/telemetry/spans/implementation.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,9 @@ If you're implementing Span-First (as a PoC) in your SDK, take an iterative appr
21
21
22
22
1. Add the Span v2 Envelope (type), serialization logic and any utilities necessary to support sending a new envelope. See [Span Protocol](../span-protocol) for more details.
23
23
2. Add the top-level `traceLifeCycle` (or `trace_life_cycle`) SDK init option which controls if traces should be sent as transactions or as spans (v2).
24
-
- The allowed values for this option MUST be `'static'` and `'streamed'`.
24
+
- The allowed values for this option MUST be `'static'` and `'strea'`.
25
25
- By default, the SDK MUST send traces as transactions (`'static'`). Span-First MUST be an opt-in feature.
26
-
- Continue with adding Span-First logic which MUST only be applied if `traceLifeCycle` is set to `'streamed'`.
26
+
- Continue with adding Span-First logic which MUST only be applied if `traceLifeCycle` is set to `'stream'`.
27
27
3. As an initial PoC, leave your current transaction APIs in place and convert the transaction event to a v2 spans array to be sent in the new envelope.
28
28
- At this point, you can already start sending spans in batches (i.e. in multiple envelopes) to send more than 1000 spans at once. The maximum number of spans per envelope MUST be limited to 1000 and an envelope MUST only contain spans from one trace (as the trace envelope header is shared).
29
29
4. If applicable to your SDK, add new Span APIs to start spans. See [Span API](../span-api) for more details.
@@ -123,7 +123,7 @@ Some rough pointers:
123
123
124
124
The initial PoC implementation of Span-First **SHOULD** be released in a **minor version** of the SDK.
125
125
126
-
- This feature is entirely opt-in via `traceLifeCycle = 'streamed'` and therefore does **not** introduce breaking changes to existing users.
126
+
- This feature is entirely opt-in via `traceLifeCycle = 'stream'` and therefore does **not** introduce breaking changes to existing users.
127
127
- The default tracing behavior (transaction-based) MUST remain unchanged until Span-First becomes the default in a future major release.
128
128
- Release notes and user facing documentation SHOULD clearly describe:
129
129
- the availability of Span-First behind the opt-in flag
0 commit comments