use of org.apache.cxf.systest.jaeger.TestSender in project cxf by apache.
the class OpenTracingTracingTest method setUp.
@Before
public void setUp() {
random = new Random();
tracer = new Configuration("tracer", new Configuration.SamplerConfiguration(ConstSampler.TYPE, 1), new Configuration.ReporterConfiguration(new TestSender())).getTracer();
TestSender.clear();
}
use of org.apache.cxf.systest.jaeger.TestSender in project cxf by apache.
the class OpenTracingTracingTest method setUp.
@Before
public void setUp() {
TestSender.clear();
tracer = new Configuration("tracer-test-client", new Configuration.SamplerConfiguration(ConstSampler.TYPE, 1), new Configuration.ReporterConfiguration(new TestSender())).getTracer();
openTracingClientProvider = new OpenTracingClientProvider(tracer);
random = new Random();
}
Aggregations