Skip to content

Release otel-0.1.0

Pre-release
Pre-release

Choose a tag to compare

@SilanHe SilanHe released this 23 Jun 18:04
Immutable release. Only release title and notes can be modified.
3e5f74c

@aws/durable-execution-sdk-js-otel v0.1.0

⚠️ Experimental Beta — Functionality may change without notice between releases. Not recommended for production workloads at this time.

OpenTelemetry instrumentation plugin for AWS Durable Execution SDK. Emits distributed traces that correlate across multiple Lambda invocations of a single durable execution.

Features

  • Deterministic Trace IDs — All invocations of the same durable execution share a single trace, derived from the X-Ray trace header or execution ARN
  • Span-per-Operation — Each durable operation (step, wait, invoke) gets its own span with accurate timing
  • Continuation Spans — Operations completing in a different invocation are linked back to the original span
  • Replay-Aware — Skips redundant spans on replay while maintaining trace continuity
  • Attempt Tracking — Step retry attempts are tracked as child spans with attempt number attributes
  • Log Correlation — Enrich application logs with trace ID and span ID for end-to-end observability
  • Configurable Context Extraction — Built-in support for X-Ray and W3C Trace Context propagation
  • Self-Contained Setup — No manual TracerProvider configuration required

What's Changed

  • feat(otel): add OpenTelemetry instrumentation plugin for durable executions by @SilanHe in #640
  • fix(sdk): add plugin interface hook tests for isReplay by @SilanHe in #645
  • feat(otel): add Otel integration tests by @SilanHe in #647
  • feat(sdk): add executionInput to InvocationInfo (plugin interface) by @ParidelPooya in #653
  • feat(otel): bump version to 0.1.0 and update README by @SilanHe in #657

Full Changelog: sdk-2.0.0-alpha.1...otel-0.1.0

Getting Started

For setup instructions, configuration options, and usage examples, see the package README.

Feedback

Please feel free to leave feedback in the discussion.