You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(tracing): propagate trace context into Temporal via OTel interceptor
Attach temporalio.contrib.opentelemetry.TracingInterceptor to the Temporal
client (both get_temporal_client entrypoints) when an OTel observability mode
is active (SGP_OBS_MODE in {dual, lgtm}). This threads the caller's W3C trace
context across the workflow -> activity boundary, so business spans created
inside the model-loop activity see an active observability context and can be
tagged with its trace_id via obs_correlation().
Gated + lazy-imported: default dd_only mode adds nothing and the temporalio
OTel contrib is only imported when needed, so this is a no-op unless opted in.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments