grafana / beyla

eBPF-based autoinstrumentation of web applications and network metrics
https://grafana.com/oss/beyla-ebpf/
Apache License 2.0
1.31k stars 90 forks source link

Question : Beyla en Linux Kernel 4 #693

Open adelbot opened 4 months ago

adelbot commented 4 months ago

Hi, En RH8 we have kernel 4. Is-it impossible to use beyla ? Is-it possible to use beyla in docker on RH8 and have have all functionality ?

BR

grcevski commented 4 months ago

Hi @adelbot, at the moment we use a feature (for performance reasons) that requires kernel 5.8 or newert. It's not impossible to add support for 4.17 and newer, but we'd have to schedule the work. Since RedHat 8 is kernel 4.18 I think it's possible that we can add support for it.

For docker, unfortunately, what matters is the version of the host, so all feature restrictions are for kernel 4.18. Virtual machines don't have this issue.

We'll look into it to see if we can at least scope the work that's required to support 4.18.

adelbot commented 4 months ago

Good news. The minimal kernel must be 4.18 ?

obsessionsys commented 3 months ago

Hi @grcevski. We use the AlmaLinux distribution and since it is built on the basis of RHEL, the default kernel is 4.18. Please add support for the minimum 4.18 kernel. Thanks.

deepakcpakhale06 commented 2 months ago

I am having the same issue. Use of RHEL8 is very common in enterprise setup. But due to kernel version(4.18) I am unable to use Beyla. Actually even though RHEL8 is using 4.18 as the base kernel version lot of bug fixes and features from later releases are back ported into it including support for eBPF.