Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.4k views
in Technique[技术] by (71.8m points)

java - Configuration of Camel OpenTracing component

I have a Spring Boot app with some Camel (2.x version) routes. I configured the app for tracing with jaeger but I didn't use Spring Boot camel-opentracing-starter because it requires Camel 3.x.

Anyway using Camel Opentracing starter I can see traces of Camel routes in Jaeger. I would like to create a span also for every bean I have in a route and reading the documentation there is a configuration setTracingStrategy which I have to set to OpenTracingTracingStrategy. Unfortunately I don't understand where/how I can setup this configuration. Any ideas?

UPDATE: Also using Spring Boot camel-opentracing-starter (I tried a quick update) everything works with Jaeger but I cannot see the spans related to the beans inside a Camel route.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...