use of com.uber.jaeger.propagation.TextMapCodec in project cxf by apache.
the class Server method tracer.
@Bean
Tracer tracer() {
final Metrics metrics = new Metrics(new StatsFactoryImpl(new NullStatsReporter()));
final Tracer.Builder builder = new Tracer.Builder("camel-server", new RemoteReporter(new HttpSender("http://localhost:14268/api/traces"), 1000, 100, metrics), new ConstSampler(true)).registerExtractor(Builtin.TEXT_MAP, new TextMapCodec(true));
return builder.build();
}
Aggregations