首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何使用Jaeger与Helidon微轮廓

如何使用Jaeger与Helidon微轮廓
EN

Stack Overflow用户
提问于 2020-04-07 06:09:15
回答 1查看 357关注 0票数 1

我从helidon.io get started创建了一个helidon.io快速启动项目,同时使用Jaeger进行配置,我无法在Jaeger中找到跟踪,下面是我遵循的步骤:

  1. 使用

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‘

  • 更新GreetApplication

@Traced @ApplicationScoped @ApplicationPath("/")公共类GreetApplication扩展应用程序GreetApplication

#Jaeger属性tracing.service=mp

  • Executed mvn包,然后是在我的Jaeger中的target>java -jar helidon-quickstart-mp.jar

  • Now,我无法跟踪正在运行的服务:

那么,我如何将Jaeger配置为我的项目呢?

EN

回答 1

Stack Overflow用户

发布于 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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61073781

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档