-
Notifications
You must be signed in to change notification settings - Fork 187
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
SkyWalking HProse plugin for auto instrument #36
Comments
Yes.
2.0.30+ |
Sure. Hope to see your pull request soon. Cheer. Now, we have documents about plugins and plugin test cases. Glad you can join us. |
What should I do? Does this project https://github.com/opentracing-contrib/java-hprose support SkyWalking? |
I hope can provide auto instrument in SkyWalking, also means native supported, not just by OT supported.. You can find many rpc frameworks already supported. You can find plugin development guide in our document. |
The OT API changes from time to time. I don't think it is the best way to do so. |
Can you give me an example? |
https://github.com/apache/incubator-skywalking/tree/master/apm-sniffer/apm-sdk-plugin You can find all of our plugins source files. I suggest you take motan or dubbo as an example. |
And you can find our test cases here, https://github.com/SkywalkingTest/skywalking-agent-testcases |
Plugin development guide, https://github.com/apache/incubator-skywalking/blob/master/docs/cn/Plugin-Development-Guide-CN.md |
看了好久,发现完全看不懂。 |
哪些地方看不懂?原理其实和Spring AOP类似,只是更强而已。 可以针对构造函数和方法,增加切面。然后利用我们ContextManager的APIs,要创建span或者传输carrier。这部分和OpenTracing很类似的。 |
OpenTracing 这个比较好懂,可以直接作为 hprose 的一个中间件来实现。但是 SkyWalking 的插件,没看懂该在哪儿增加切面。 |
hprose的任何方法都可以,他有点像spring切面。可以加载到任何包里面的类上面。 |
是指在发布的服务类上面增加切面吗?如果是在发布的服务类上面的话,好像就不用专门为hprose来写了,那应该就是通用的了啊。 |
Since SkyWalking became an Apache project, we are going to build a more wildly support ecosystem. So I want to know:
The text was updated successfully, but these errors were encountered: