Search in sources :

Example 1 with RemoteReporter

use of io.jaegertracing.internal.reporters.RemoteReporter in project jaeger-client-java by jaegertracing.

the class JaegerTracerTest method testDefaultConstructor.

@Test
public void testDefaultConstructor() {
    JaegerTracer tracer = new Builder("name").build();
    assertTrue(tracer.getReporter() instanceof RemoteReporter);
    // no exception
    tracer.buildSpan("foo").start().finish();
}
Also used : RemoteReporter(io.jaegertracing.internal.reporters.RemoteReporter) Builder(io.jaegertracing.internal.JaegerTracer.Builder) Test(org.junit.Test)

Aggregations

Builder (io.jaegertracing.internal.JaegerTracer.Builder)1 RemoteReporter (io.jaegertracing.internal.reporters.RemoteReporter)1 Test (org.junit.Test)1