Skip to content

Commit 875b3f6

Browse files
committed
update docs
1 parent a44cc3b commit 875b3f6

File tree

1 file changed

+3
-0
lines changed
  • packages/core/src/shared/telemetry

1 file changed

+3
-0
lines changed

packages/core/src/shared/telemetry/spans.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,9 @@ export class TelemetryTracer extends TelemetryBase {
345345
* All changes made to {@link attributes} (via {@link record}) during the execution are
346346
* reverted after the execution completes.
347347
*
348+
* Runs can be nested within each other. This allows for creating hierarchical spans,
349+
* where child spans inherit the context of their parent spans.
350+
*
348351
* This method automatically handles traceId generation and propagation:
349352
* - If no traceId exists in the current context, a new one is generated.
350353
* - The traceId is attached to all telemetry events created within this span.

0 commit comments

Comments
 (0)