--
--Contact:08951803660
You received this message because you are subscribed to the Google Groups "Jaeger Tracing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaeger-tracing+unsubscribe@googlegroups.com.
To post to this group, send email to jaeger-tracing@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jaeger-tracing/CAMzr4XWo-24H4E-VNjPheuEMKhTw6qFUrMXOK1VR4nvZx4uLbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
import com.ailiens.landlord.config.AppConfig;
import com.uber.jaeger.Configuration;
import com.uber.jaeger.samplers.ProbabilisticSampler;
import com.uber.jaeger.senders.HttpSender;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
@Component
public class OpenTracing {
@Autowired
private AppConfig appConfig;
@Bean
public io.opentracing.Tracer jaegerTracer() {
HttpSender httpTracer = new HttpSender(appConfig.getJaegerCollector(),0);
return new Configuration("serviceA", new Configuration.SamplerConfiguration(ProbabilisticSampler.TYPE, 1),
new Configuration.ReporterConfiguration(httpTracer))
.getTracer();
}
}
Are you using spring-cloud-context with service B? Assuming not, as it is reporting the spans.Sounds like the spans are being created in service A but not being reported - but the trace context is being passed from service A to service B.How is the Jaeger tracer being configured in service A and B?
On Tue, Jun 12, 2018 at 10:04 AM, chandresh pancholi <chandreshp...@gmail.com> wrote:
Hi,I am using Open Tracing/Jaeger with Spring boot. I am using spring-cloud-context library as well.
Scenario: A ---> BService A uses open tracing, jaeger-core, spring-cloud-contextIn Jaeger UI, the span of service B comes as "cannot-find-trace-name"Span comes as connected when I remove spring-cloud-context library. but this library is important for us for configuration management.
--
Chandresh PancholiSenior Software EngineerFlipkart.com
Contact:08951803660
--
You received this message because you are subscribed to the Google Groups "Jaeger Tracing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaeger-tracin...@googlegroups.com.
To post to this group, send email to jaeger-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jaeger-tracing/CAMzr4XWo-24H4E-VNjPheuEMKhTw6qFUrMXOK1VR4nvZx4uLbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
Contact:08951803660
--
You received this message because you are subscribed to the Google Groups "Jaeger Tracing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaeger-tracing+unsubscribe@googlegroups.com.
To post to this group, send email to jaeger-tracing@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jaeger-tracing/CAMzr4XWo-24H4E-VNjPheuEMKhTw6qFUrMXOK1VR4nvZx4uLbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
Chandresh PancholiSenior Software EngineerFlipkart.com
Contact:08951803660
--
Contact:08951803660
--
You received this message because you are subscribed to the Google Groups "Jaeger Tracing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaeger-tracin...@googlegroups.com.
To post to this group, send email to jaeger-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jaeger-tracing/CAMzr4XWo-24H4E-VNjPheuEMKhTw6qFUrMXOK1VR4nvZx4uLbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
Chandresh PancholiSenior Software EngineerFlipkart.com
Contact:08951803660