This repository was archived by the owner on Dec 16, 2024. It is now read-only.
Replies: 1 comment
-
用 go-hook 方式开源方案不过我马上要开源的 engine 是完全不需要写ctx传递也能追踪的 `另一方面,服务网格主打的卖点是无感知接入。但在全链路追踪上,仍然需要程序内部埋点。 在请求上下文中发生的所有出流量中标识出 Trace 的相关信息,本质上是我们无法自动的深入理解程序内部处理请求的上下文。 并且,由于其他通信协议的缺失,代码中又不得不记录与数据库等资源通信的追踪。 全链路追踪在服务网格体系下显得格格不入。 WASM ❤️ Go |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Go可以考虑编译时织入,Java不是也有这种玩法么
This automatic instrumentation is based on eBPF uprobes.
https://github.com/keyval-dev/opentelemetry-go-instrumentation
odigos-io/opentelemetry-go-instrumentation#15
这个库有对runtime的casgstatus做uprobes插桩,拿到gid,构造了一个goroutines_map,目前单个goroutine里可以透传 trace context
未来会对goroutine的创建做uprobes插桩,实现一个goroutine tree,这样异步的请求也可以透传 trace context 了
Beta Was this translation helpful? Give feedback.
All reactions