You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-23 22:34:47 +02:00
change TraceOptions to TraceFlags. (#144)
* change TraceOptions to TraceFlags. * fix grammer in docs.
This commit is contained in:
@@ -76,7 +76,7 @@ func (mt *MockTracer) Start(ctx context.Context, name string, o ...apitrace.Span
|
||||
},
|
||||
}
|
||||
if mt.Sampled {
|
||||
sc.TraceOptions = core.TraceOptionSampled
|
||||
sc.TraceFlags = core.TraceFlagsSampled
|
||||
}
|
||||
} else {
|
||||
sc = opts.Reference.SpanContext
|
||||
|
||||
Reference in New Issue
Block a user