-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can we trace the standlone thrift RPC server? #2106
Comments
The thrift plugin has been enabled , while it can not trace the data. profiler.thrift.client=true |
Hi duwupeng, |
Hell Xylus , |
Hmm..that's weird, will definitely need to look into it further. |
sure. The the agent log and processor are as below. 1. The agent log:
2. The processor :
import org.apache.thrift.TException; import javax.annotation.Generated; @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) /**
|
@duwupeng It looks like you're using In the mean time, you could try adding |
@Xylus , Thanks a lot for you investigation . and I am afraid that I am using the TCompactProtocol
|
@duwupeng Ah I see! Thanks for the code example. |
@Xylus , Thanks a lot, looking forward to your further reply |
@duwupeng If you can, could you try testing it by registering a |
@duwupeng So upon further inspection, the actual culprit of all this was that when using You can test this out once #2110 is merged if you're building from source. Thanks! |
@duwupeng With the latest source, you should now be able to trace your application. |
Yep I have tried 1.6.0, it worked. |
@DevotedTangLiu Awesome, thanks for testing this out! Please let us know if there's anything broken. |
Hi All,
First of all, Thank you so much for the lovely tool. I have gone through it and found really interesting.
I have checked this by configuring agent on Tomcat and it's showing more than I expected.
Now, The question is :- Can we trace the thrift RPC client and server?
I look forward for your response.
Cheers,
duwupeng
2016-09-26 17:49:03 [DEBUG](c.n.p.b.i.s.ScopedInterceptor :298) tryBefore() returns false: interceptorScopeTransaction: InterceptorScopeInvocation(ThriftClientScope)[depth=0], executionPoint: INTERNAL. Skip interceptor class com.navercorp.pinpoint.plugin.thrift.interceptor.tprotocol.client.TProtocolWriteFieldStopInterceptor
2016-09-26 17:49:03 [DEBUG](c.n.p.b.i.s.ScopedInterceptor :298) tryAfter() returns false: interceptorScopeTransaction: InterceptorScopeInvocation(ThriftClientScope)[depth=0], executionPoint: INTERNAL. Skip interceptor class com.navercorp.pinpoint.plugin.thrift.interceptor.tprotocol.client.TProtocolWriteFieldStopInterceptor
The text was updated successfully, but these errors were encountered: