docs/sources/configure-client/grafana-alloy/ebpf/_index.md
eBPF is an advanced technology embedded into the Linux kernel. It stands for enhanced Berkeley Packet Filter and revolutionizes the capability to run sandboxed code safely within the kernel space. This technology serves multiple use cases, such as networking, security, and performance monitoring without the need to alter kernel code or load additional modules.
{{< youtube id="UX5aeL5KeZs" >}}
When it comes to application profiling, eBPF offers high efficiency and minimal performance overhead. eBPF enables the dynamic insertion of powerful monitoring code into live production systems. By leveraging eBPF, developers can gain insights into application behavior, track resource usage, and detect bottlenecks in a way that traditional profiling tools cannot match. eBPF's low overhead and fine-grained data collection make it an ideal choice for continuous, real-time profiling in performance-sensitive environments.
However, eBPF has some limitations that make it unsuitable for certain use cases:
{{< docs/shared source="pyroscope" lookup="supported-languages-ebpf.md" version="latest" >}}
Grafana Alloy is a lightweight, all-in-one collector that can collect, transform, and ship observability data. For profiling, you can configure Alloy to collect eBPF profiles and send them to Pyroscope.
This section contains instructions for installing and configuring Alloy to collect eBPF profiles. For more information about Alloy itself, refer to the Alloy documentation.