Skip to content

Commit 6f0e96c

Browse files
markushiLuca Forstner
authored andcommitted
docs(tracing) clarify span_id attribute (#11997)
* Clarify span_id attribute * Link TwP docs * Update develop-docs/sdk/data-model/event-payloads/contexts.mdx Co-authored-by: Luca Forstner <[email protected]> --------- Co-authored-by: Luca Forstner <[email protected]>
1 parent a38ab7d commit 6f0e96c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

develop-docs/sdk/data-model/event-payloads/contexts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ Additional information that allows Sentry to connect multiple transactions, span
630630

631631
`span_id`
632632

633-
: _Required_. The ID of the span.
633+
: _Required_. The ID of the span or transaction. For non-transaction events, and if performance monitoring is disabled, it may still be desired to attach events to a trace via a trace ID. In these cases, you still need to provide a span ID. This span ID can effectively be entirely random and doesn't need to relate to an actual span, however, it is recommended to consider using the same span ID for multiple events within the same unit-of-execution (e.g. a request). [See the TwP docs](/sdk/telemetry/traces/tracing-without-performance/#attaching-trace-data-to-events-and-envelopes) for more details.
634634

635635
- Example: `"bb8f278130535c3c"`
636636

0 commit comments

Comments
 (0)