use of com.uber.jaeger.filters.jaxrs2.ClientFilter in project jaeger-client-java by jaegertracing.
the class FilterIntegrationTest method setUp.
@Before
public void setUp() throws Exception {
metricsReporter = new InMemoryStatsReporter();
reporter = new InMemoryReporter();
tracer = new com.uber.jaeger.Tracer.Builder("some-op-name", reporter, new ConstSampler(true)).withStatsReporter(metricsReporter).build();
// start the server
server = new JerseyServer(tracer);
server.start();
// create the client
client = ClientBuilder.newClient().register(new ClientFilter(tracer)).register(JacksonFeature.class);
}
Aggregations