Skip to content

feat(otel): add OpenTelemetry instrumentation plugin for durable exec…#640

Merged
SilanHe merged 8 commits into
mainfrom
pr/otel-plugin
Jun 17, 2026
Merged

feat(otel): add OpenTelemetry instrumentation plugin for durable exec…#640
SilanHe merged 8 commits into
mainfrom
pr/otel-plugin

Conversation

@SilanHe

@SilanHe SilanHe commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

…utions

Issue #, if available:

Description of changes:

Add aws-durable-execution-sdk-js-otel package that implements the DurableInstrumentationPlugin interface to emit distributed traces correlating across multiple Lambda invocations of a single durable execution.

Key features:

  • Deterministic trace/span ID generation from execution ARN
  • Context extraction from X-Ray trace headers
  • Span lifecycle management for operations, attempts, and invocations
  • Continuation spans for operations spanning multiple invocations
  • Replay-aware span creation (skips redundant spans on replay)

I've tested this manually. Will follow up with integration tests.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

hsilan and others added 7 commits June 16, 2026 15:50
…utions

Add aws-durable-execution-sdk-js-otel package that implements the
DurableInstrumentationPlugin interface to emit distributed traces
correlating across multiple Lambda invocations of a single durable
execution.

Key features:
- Deterministic trace/span ID generation from execution ARN
- Context extraction from X-Ray trace headers
- Span lifecycle management for operations, attempts, and invocations
- Continuation spans for operations spanning multiple invocations
- Replay-aware span creation (skips redundant spans on replay)
@SilanHe
SilanHe marked this pull request as ready for review June 17, 2026 00:11
@SilanHe
SilanHe merged commit a63964c into main Jun 17, 2026
26 of 27 checks passed
@SilanHe
SilanHe deleted the pr/otel-plugin branch June 17, 2026 20: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.

3 participants