Skip to content

Add TypeScript OTEL e2e tracing example#376

Open
pcholakov wants to merge 3 commits intomainfrom
pavel/swvrymnouvuo
Open

Add TypeScript OTEL e2e tracing example#376
pcholakov wants to merge 3 commits intomainfrom
pavel/swvrymnouvuo

Conversation

@pcholakov
Copy link
Copy Markdown
Contributor

No description provided.

@pcholakov pcholakov force-pushed the pavel/swvrymnouvuo branch 2 times, most recently from f6d8e20 to 07720f7 Compare February 3, 2026 20:09
Copy link
Copy Markdown
Contributor

@slinkydeveloper slinkydeveloper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sounds good, i would put the key snippet in the docs

- Use TextMapGetter in extractTraceContext so all propagator formats (W3C, B3, Jaeger) work without hardcoding header names
- Explain in README why Node.js auto-instrumentation can't substitute for manual extraction: Restate wraps the HTTP transport layer and handlers replay, so one span per logical invocation requires extracting from ctx.request().attemptHeaders
- Remove committed screenshot (trace.png); add *.png to .gitignore
Copy link
Copy Markdown
Contributor

@slinkydeveloper slinkydeveloper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm back on this PR review, testing few things :)

Can you please move the whole example down in typescript/integrations/tracing?

@pcholakov pcholakov force-pushed the pavel/swvrymnouvuo branch from 42f8fef to 95c86fb Compare April 2, 2026 11:59
@slinkydeveloper
Copy link
Copy Markdown
Contributor

cc @nikrooz once you finish with the tracing PR, you have the example ready to adapt here :)

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