use of org.apache.skywalking.apm.toolkit.activation.opentracing.tracer.SkywalkingTracerExtractInterceptor in project incubator-skywalking by apache.
the class SkywalkingSpanActivationTest method setUp.
@Before
public void setUp() {
spanBuilder = new SkywalkingSpanBuilder("test").withTag(Tags.COMPONENT.getKey(), "test");
constructorWithSpanBuilderInterceptor = new ConstructorWithSpanBuilderInterceptor();
spanLogInterceptor = new SpanLogInterceptor();
logArgument = new Object[] { 111111111L, event };
logArgumentType = new Class[] { long.class, HashMap.class };
setOperationNameInterceptor = new SpanSetOperationNameInterceptor();
setOperationNameArgument = new Object[] { "testOperationName" };
setOperationNameArgumentType = new Class[] { String.class };
spanFinishInterceptor = new SpanFinishInterceptor();
injectInterceptor = new SkywalkingTracerInjectInterceptor();
extractInterceptor = new SkywalkingTracerExtractInterceptor();
constructorInterceptor = new ConstructorInterceptor();
activateInterceptor = new ActivateInterceptor();
}
Aggregations