{"repo":"pjs7678/kpod-metrics","free":true,"listed":false,"github":"https://github.com/pjs7678/kpod-metrics","clone":"git clone https://github.com/pjs7678/kpod-metrics.git","description":"eBPF-based pod-level kernel metrics collector for Kubernetes","language":"C","stars":13,"topics":["cgroup","daemonset","ebpf","helm-chart","kotlin","kubernetes","metrics","monitoring","observability","prometheus"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"kpod-metrics eBPF-based pod-level kernel metrics collector for Kubernetes. Runs as a DaemonSet, attaches eBPF programs to kernel tracepoints, and exports per-pod CPU, network, memory, syscall, disk I/O, and filesystem metrics to Prometheus. Demo Architecture eBPF programs are defined in Kotlin using kotlin-ebpf-dsl, which generates both the C code for kernel-side programs and Kotlin MapReader classes for userspace deserialization. Programs are compiled once with CO-RE (Compile Once, Run Everywhere) using kernel BTF, so no per-kernel compilation is needed. Metrics All metrics are labeled with namespace , pod , container , and node . eBPF Metrics Metric Type Description -------- ------ ------------- kpod.cpu.runqueue.latency DistributionSummary Time spent waiting in the CPU run queue (seconds) kpod.cpu.context.switches Counter Context switch count kpod.net.tcp.bytes.sent Counter TCP bytes sent kpod.net.tcp.bytes.received Counter TCP bytes received kpod.net.tcp.retransmits Counter TCP retransmissions kpod.net.tcp.connections Counter TCP connection count kpod.net.tcp.rtt DistributionSummary TCP round-trip time (seconds) kpod.mem.oom.kills Counter OOM kill events kpod.mem.major.page.faults Counter Major page faults kpod.syscall.count Counter Syscall invocations (+ syscall label) kpod.syscall.errors Counter Syscall errors (+ syscall label) kpod.syscall.latency DistributionSummary Syscall latency (+ syscall label) kpod.net.tcp.drops Counter TCP packet drops kpod.disk.io.latency Dist","default_branch":null,"files":null,"tree":[],"storefront":"/r/pjs7678","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pjs7678/kpod-metrics/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."}