1
0
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:
tensorchen
2020-05-02 20:17:11 +08:00
parent 34bd998963
commit c6c155de6f
47 changed files with 392 additions and 403 deletions

View File

@ -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,