Skip to content

Add TypeScript SDK tracing page#157

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

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

Conversation

@pcholakov
Copy link
Copy Markdown
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.
@slinkydeveloper
Copy link
Copy Markdown
Contributor

Let's hold on this one, we're reconsidering some stuff in the tracing experience in the SDK restatedev/sdk-typescript#663

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.

2 participants