Skip to content

OpenTelemetry v2 plugin #2463

Description

@patbeqo

Implement an OpenTelemetry v2 plugin for the Go SDK, matching the plugin conventions established in the Python and TypeScript SDKs. New opt-in package, not a replacement for the existing contrib/opentelemetry interceptor package.

Scope:

  • Ships as a temporal.SimplePlugin passed to client/worker creation, rather than manually wiring up NewTracingInterceptor.
  • Span IDs are deterministic across workflow replay.
  • Span durations reflect real workflow time, not replay time.
  • Users can add their own spans for application logic in workflow code, activity code, and client code, with correct duration and parenting.

Histories will be incompatible for replay with the v1 interceptor package, so this must live as a separate package.

Reference implementations:

Metadata

Metadata

Assignees

Labels

ai-sdkRelated to AI integrationsenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions