deepflow icon indicating copy to clipboard operation
deepflow copied to clipboard

[FR] 请问如何在 agent 中新增 uprobe 探针

Open midorifizz opened this issue 1 year ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

想在 deepflow agent 中开发 uprobe 探针做功能扩展。比如针对某个应用程序或数据库的函数进行插桩,然后将采集的数据通过 agent 暴露出来。请问有具体的开发流程文档可以参考吗?非常感谢!

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

midorifizz avatar Oct 16 '24 09:10 midorifizz

uprobe插桩其实并不容易,建议你改服务的代码比搞这个uprobe来的快,而且官方搞了那么久,也没说很多语言适配,不同的版本等等,是基于kprobe做的协议采集,是存在很多落地难度的,如果你想搞可以自己写个ebpf程序跑一下。

Fancyki1 avatar Oct 16 '24 12:10 Fancyki1

采集器目前无法扩展 uprobe 进行应用程序或数据库的插桩采集;可以考虑能否通过流量数据解析来实现所需功能

rvql avatar Nov 11 '24 07:11 rvql