Migrated to OTel 0.10.0

This commit is contained in:
Marcin Grzejszczak
2020-11-06 14:59:11 +01:00
parent cf8e7dd04a
commit 06d353f155
167 changed files with 2750 additions and 1282 deletions

View File

@@ -39,6 +39,7 @@ import rx.plugins.RxJavaPlugins;
import rx.plugins.RxJavaSchedulersHook;
import org.springframework.cloud.sleuth.api.Tracer;
import org.springframework.cloud.sleuth.brave.bridge.BraveBaggageManager;
import org.springframework.cloud.sleuth.brave.bridge.BraveTracer;
import static org.assertj.core.api.BDDAssertions.then;
@@ -59,7 +60,9 @@ public class SleuthRxJavaSchedulersHookTests {
Tracing tracing = Tracing.newBuilder().currentTraceContext(this.currentTraceContext).addSpanHandler(this.spans)
.build();
Tracer tracer = BraveTracer.fromBrave(this.tracing.tracer());
BraveBaggageManager braveBaggageManager = new BraveBaggageManager();
Tracer tracer = BraveTracer.fromBrave(this.tracing.tracer(), this.braveBaggageManager);
@AfterEach
public void clean() {