Skip to content

Add TypeScript SDK tracing page#157

Draft
pcholakov wants to merge 1 commit intomainfrom
pavel/ts-tracing-docs
Draft

Add TypeScript SDK tracing page#157
pcholakov wants to merge 1 commit intomainfrom
pavel/ts-tracing-docs

Conversation

@pcholakov
Copy link
Contributor

Explains how to extract W3C trace context from ctx.request().attemptHeaders and propagate it to child spans and outbound calls. Also explains why Node.js auto-instrumentation cannot substitute for manual extraction: Restate wraps the HTTP layer and handlers replay, so per-attempt instrumentation would produce duplicate spans.

Related examples PR: restatedev/examples#376

Explains how to extract W3C trace context from ctx.request().attemptHeaders and propagate it to child spans and outbound calls. Also explains why Node.js auto-instrumentation cannot substitute for manual extraction: Restate wraps the HTTP layer and handlers replay, so per-attempt instrumentation would produce duplicate spans.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant