Categorygithub.com/david-vtuk/ebpf-grafana-stream
repository
0.0.0-20240801145044-72e81aefa5c8
Repository: https://github.com/david-vtuk/ebpf-grafana-stream.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

EBPF with Grafana Live Streaming

About

This project leverages eBPF and Grafana Live Streams, to demonstrate near real-time observability of network traffic.

Image depicting intended architecture

eBPF App

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.)

How to Run

export GRAFANA_TOKEN="YourToken"
export GRAFANA_URL="YourURL"
export INTERFACE_NAME="NICName"

cd /cmd/go

go generate

go run .

Grafana Visualisation Example

Dashboard Video