我从helidon.io get started创建了一个helidon.io快速启动项目,同时使用Jaeger进行配置,我无法在Jaeger中找到跟踪,下面是我遵循的步骤:
mvn原型:生成带有Jaeger依赖项的-DinteractiveMode=false \ -DarchetypeGroupId=io.helidon.archetypes \-DarchetypeArtifactId=helidon mp\ -DarchetypeVersion=1.4.4 \ -DgroupId=io.helidon.examples \-DartifactId=helidon mp\ pom.xml
io.helidon.tracing helidon追踪-jaeger io.jaegertracing jaeger-client 0.32.0‘
@Traced @ApplicationScoped @ApplicationPath("/")公共类GreetApplication扩展应用程序GreetApplication
#Jaeger属性tracing.service=mp
target>java -jar helidon-quickstart-mp.jar

那么,我如何将Jaeger配置为我的项目呢?
发布于 2020-04-11 20:15:30
下面是一个有用的示例:https://github.com/jobinesh/cloud-native-applications/tree/master/helidon-example-mp-jaeger。看看能不能帮上忙。如果您感兴趣,请参阅此处捕获的详细信息:https://www.jobinesh.com/2020/04/tracing-api-calls-in-your-helidon.html
https://stackoverflow.com/questions/61073781
复制相似问题