This project leverages eBPF and Grafana Live Streams, to demonstrate near real-time observability of network traffic.
On the eBPF side, there are two components:
- An eBPF application that leverages
xdp
to get gather packet information (stored into a map). - A Go based User Space application that reads the map and forwards information to a Grafana dashboards (which auto updates.)
export GRAFANA_TOKEN="YourToken"
export GRAFANA_URL="YourURL"
export INTERFACE_NAME="NICName"
cd /cmd/go
go generate
go run .