We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19583ac commit bd283b3Copy full SHA for bd283b3
internal/propagation.go
@@ -67,6 +67,10 @@ func createOpenTracingSpan(
67
name string,
68
tags opentracing.Tags,
69
) (context.Context, opentracing.Span) {
70
+ if _, ok := tracer.(opentracing.NoopTracer); ok {
71
+ return ctx, tracer.StartSpan("StartWorkflow-Span")
72
+ }
73
+
74
var parent opentracing.SpanContext
75
if parentSpan := opentracing.SpanFromContext(ctx); parentSpan != nil {
76
parent = parentSpan.Context()
0 commit comments