io.quarkus.jaeger.runtime.MDCScopeManager Maven / Gradle / Ivy
package io.quarkus.jaeger.runtime;
import io.opentracing.Scope;
import io.opentracing.ScopeManager;
import io.opentracing.Span;
public class MDCScopeManager implements ScopeManager {
private final ScopeManager wrapped;
public MDCScopeManager(ScopeManager scopeManager) {
this.wrapped = scopeManager;
}
@Override
public Scope activate(Span span) {
return new MDCScope(wrapped.activate(span), span);
}
@Override
public Span activeSpan() {
return wrapped.activeSpan();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy