{"repo":"cloudflare/ebpf_exporter","free":true,"listed":false,"github":"https://github.com/cloudflare/ebpf_exporter","clone":"git clone https://github.com/cloudflare/ebpf_exporter.git","description":"Prometheus exporter for custom eBPF metrics","language":"Go","stars":2627,"topics":["ebpf","linux-kernel","performance","tracing","prometheus","prometheus-exporter","bpf","libbpf"],"license":"MIT","category":"analytics","readme_excerpt":"ebpf exporter Prometheus exporter for custom eBPF metrics and OpenTelemetry traces. Metrics: Traces: Motivation of this exporter is to allow you to write eBPF code and export metrics that are not otherwise accessible from the Linux kernel. ebpf.io describes eBPF: eBPF is a revolutionary technology with origins in the Linux kernel that can run sandboxed programs in a privileged context such as the operating system kernel. It is used to safely and efficiently extend the capabilities of the kernel without requiring to change kernel source code or load kernel modules. An easy way of thinking about this exporter is bcc tools as prometheus metrics: https://iovisor.github.io/bcc We use libbpf rather than legacy bcc driven code, so it's more like libbpf-tools: https://github.com/iovisor/bcc/tree/master/libbpf-tools Producing OpenTelemetry compatible traces is also supported, see Tracing docs for more information on that. Reading material https://www.brendangregg.com/ebpf.html https://nakryiko.com/posts/bpf-core-reference-guide/ https://nakryiko.com/posts/bpf-portability-and-co-re/ https://nakryiko.com/posts/bcc-to-libbpf-howto-guide/ https://libbpf.readthedocs.io/en/latest/program types.html Building and running Actual building To build a binary, clone the repo and run: The default build target makes a static binary, but you could also use the build-dynamic target if you'd like a dynamically linked binary. In either case libbpf is built from source, but you could override this behavi","default_branch":null,"files":null,"tree":[],"storefront":"/r/cloudflare","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cloudflare/ebpf_exporter/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}