1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-11-27 22:49:15 +02:00

Rename TraceFlagsSampled, TraceFlagsUnused

This commit is contained in:
tensorchen
2020-05-06 01:41:54 +08:00
parent 40e8769e83
commit 2ffbd869d7
11 changed files with 38 additions and 38 deletions

View File

@@ -29,7 +29,7 @@ func TestAlwaysParentSampleWithParentSampled(t *testing.T) {
parentCtx := trace.SpanContext{
TraceID: traceID,
SpanID: spanID,
TraceFlags: trace.TraceFlagsSampled,
TraceFlags: trace.FlagsSampled,
}
if sampler.ShouldSample(sdktrace.SamplingParameters{ParentContext: parentCtx}).Decision != sdktrace.RecordAndSampled {
t.Error("Sampling decision should be RecordAndSampled")