Search in sources :

Example 1 with ThriftSpanConverter

use of io.jaegertracing.zipkin.internal.ThriftSpanConverter in project jaeger-client-java by jaegertracing.

the class ZipkinSenderTest method setUp.

@Before
public void setUp() {
    reporter = new InMemoryReporter();
    final JaegerTracer.Builder tracerBuilder = new JaegerTracer.Builder("test-sender").withReporter(reporter).withSampler(new ConstSampler(true)).withMetricsFactory(new InMemoryMetricsFactory());
    tracer = tracerBuilder.build();
    tracer128 = tracerBuilder.withTraceId128Bit().build();
    sender = newSender(messageMaxBytes);
    converter = new ThriftSpanConverter();
}
Also used : InMemoryReporter(io.jaegertracing.internal.reporters.InMemoryReporter) InMemoryMetricsFactory(io.jaegertracing.internal.metrics.InMemoryMetricsFactory) ConstSampler(io.jaegertracing.internal.samplers.ConstSampler) ThriftSpanConverter(io.jaegertracing.zipkin.internal.ThriftSpanConverter) JaegerTracer(io.jaegertracing.internal.JaegerTracer) Before(org.junit.Before)

Aggregations

JaegerTracer (io.jaegertracing.internal.JaegerTracer)1 InMemoryMetricsFactory (io.jaegertracing.internal.metrics.InMemoryMetricsFactory)1 InMemoryReporter (io.jaegertracing.internal.reporters.InMemoryReporter)1 ConstSampler (io.jaegertracing.internal.samplers.ConstSampler)1 ThriftSpanConverter (io.jaegertracing.zipkin.internal.ThriftSpanConverter)1 Before (org.junit.Before)1