apache / ozhera

Application Observable Platform in the Cloud Native Era
https://ozhera.m.one.mi.com
Apache License 2.0
81 stars 32 forks source link

supporting ebpf ? #5

Closed ad-vancing closed 4 months ago

ad-vancing commented 1 year ago

I have reviewed your project and noted that it currently has a decent tracing capability. Have you considered supporting eBPF? As it generally requires no code modifications, it could be deemed less intrusive.

rikaaa0928 commented 1 year ago

We are exploring ebpf for observability. Some experimental demos are being submitted to the ebpf-preview branch. Welcome to participate in the development or provide more suggestions. By the way, could you please tell me in which specific aspects you would like ozhera to use ebpf?

sadadw1 commented 1 year ago

Supporting eBPF is a great idea. One thing to note is: when using eBPF to link trace information, the parentSpanId of the eBPF's span should be obtained from the request chain (from the Http header). At the same time, the spanId of eBPF needs to be passed down (this might involve modifying the information in TCP packets). The presentation on OzHera should look like this:

image