Kyanos uses eBPF to capture HTTP, Redis, MySQL, and other protocol traffic while visualizing per-packet kernel latency in the terminal.
Overview
Kyanos targets operators who need Layer 7 visibility without manual pcap workflows. A single binary can filter by process, container, IP, protocol fields, payload size, and latency, then present results in a TUI.
Beyond raw capture, it aggregates metrics to highlight heavy responders, such as finding large HTTP responses with stat commands. Latency views break down time spent between the network interface, socket buffers, and user processes.
Supported protocols include HTTP, Redis, MySQL, Kafka, MongoDB, RocketMQ, and DNS, with optional SSL decryption of captured payloads. Kernel support starts at 3.10.0-957 and 4.14+ per documentation.
Releases ship static amd64 and arm64 binaries run with root privileges. Container environments can measure traffic between pod interfaces and the host.
Key features
- eBPF protocol capture
- Kernel-stage latency breakdown
- Layer 7 traffic filters
- Aggregation and stat commands
- Container and pod targeting
- SSL ciphertext decryption
- Single static binary
Use cases
- Diagnosing slow HTTP endpoints
- Redis or MySQL latency hunts
- Kubernetes pod traffic inspection
- Bandwidth spike analysis