Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

调用链路问题 #10

Closed
softliumin opened this issue Jun 6, 2018 · 4 comments
Closed

调用链路问题 #10

softliumin opened this issue Jun 6, 2018 · 4 comments
Labels
question Further information is requested

Comments

@softliumin
Copy link

我本地启动两个sofa项目A和B,http接口调用A项目之后调用rpc调用B项目,两个项目都开启上报数据到zipkin。但是在zipkin中查看调用链路,发现只有刚才的http接口链路,没有之后的rpc链路。zipkin中的traceId和spanId和sofa项目里面的traceId和spanId也不一样,请问是我没有配置好,还是项目还不支持rpc的调用链路?

@khotyn
Copy link
Member

khotyn commented Jun 6, 2018

@softliumin 是支持的,你可以把你的项目 Push 到 Github 上,我们看下。

@khotyn khotyn added the question Further information is requested label Jun 6, 2018
@softliumin
Copy link
Author

@khotyn https://github.com/softliumin/demo6 这是我的测试代码,谢谢了。

@khotyn
Copy link
Member

khotyn commented Jun 6, 2018

@softliumin 看了一下你的代码,需要把工程依赖的 SOFABoot 的版本从 2.3.2 改成 2.4.0。因为 2.4.0 开始的 RPC 才对接了 Tracer:

<parent>
    <groupId>com.alipay.sofa</groupId>
    <artifactId>sofaboot-dependencies</artifactId>
    <version>2.3.2</version>
</parent>

改成

<parent>
    <groupId>com.alipay.sofa</groupId>
    <artifactId>sofaboot-dependencies</artifactId>
    <version>2.4.0</version>
</parent>

@softliumin
Copy link
Author

@khotyn rpc链路有数据了,Thanks

guanchao-yang added a commit that referenced this issue Oct 9, 2018
glmapper added a commit that referenced this issue Jul 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants