You can pass the context via Temporal headers (not to be confused with HTTP headers).
Headers are mapping of name to Payload
that’s embedded in the Temporal API request bodies and history events.
You can access those headers via interceptors.
Check the documentation and the opentelemetry module for reference.