You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-07-15 01:04:25 +02:00
Move SpanContext from core package into trace
This commit is contained in:
@ -21,10 +21,10 @@ type Sampler interface {
|
||||
// or not sample the span to be created. Decision is based on a Sampler specific
|
||||
// algorithm that takes into account one or more input parameters.
|
||||
ShouldSample(
|
||||
sc core.SpanContext,
|
||||
sc SpanContext,
|
||||
remote bool,
|
||||
traceID core.TraceID,
|
||||
spanID core.SpanID,
|
||||
traceID TraceID,
|
||||
spanID SpanID,
|
||||
spanName string,
|
||||
spanKind SpanKind,
|
||||
attributes []core.KeyValue,
|
||||
|
Reference in New Issue
Block a user