Skip to content

Document OpenTelemetry trace propagation - #3

Merged
meoyawn merged 1 commit into
masterfrom
agent/otel-trace-propagation-docs
Aug 16, 2026
Merged

Document OpenTelemetry trace propagation#3
meoyawn merged 1 commit into
masterfrom
agent/otel-trace-propagation-docs

Conversation

@meoyawn

@meoyawn meoyawn commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

What changed

  • document OpenTelemetry trace propagation for generated Go clients through context.Context and otelhttp.Transport
  • document propagation for generated TypeScript clients through the injectable fetch hook
  • state the required SDK, active span context, context manager, and text-map propagator prerequisites

Why

Generated clients expose the necessary transport hooks, but users need concrete setup examples to preserve distributed traces across API calls. The TypeScript guidance also makes clear that @opentelemetry/api alone uses no-op propagation and does not emit traceparent.

Validation

  • git diff --check
  • runtime propagation proof with @opentelemetry/api@1.9.1 and W3CTraceContextPropagator: no registered propagator produced no traceparent; a valid active span plus the W3C propagator produced the expected header

@meoyawn
meoyawn marked this pull request as ready for review August 16, 2026 11:06
@meoyawn
meoyawn merged commit decccfd into master Aug 16, 2026
2 checks passed
@meoyawn
meoyawn deleted the agent/otel-trace-propagation-docs branch August 16, 2026 11:07
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