Absolutely. Today you’d use OpenTracing by adding opentracing package - go.temporal.io/sdk/contrib/opentracing - Go Packages to your go.mod and adding the result of opentracing.NewInterceptor
to client.Options.Interceptors
. When you move to OpenTelemetry, you’d add opentelemetry package - go.temporal.io/sdk/contrib/opentelemetry - Go Packages to your go.mod and add the result of opentelemetry.NewTracingInterceptor
to client.Options.Interceptors
.
1 Like