Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

eBPF Collector - Documentation Index

TelemetryFlow Agent eBPF Collector provides deep kernel-level visibility using Linux eBPF programs attached to tracepoints and kprobes.

Documents

Document Description
Architecture System design, data flow, BPF program lifecycle
Configuration YAML config reference, environment variables, tuning
Metrics Complete metric catalog with types, labels, Prometheus names
BPF Programs BPF C source design, map strategy, tracepoint details
Hubble Integration Cilium Hubble gRPC client, L7 visibility, policy metrics
Operations Requirements, deployment, troubleshooting, security

Quick Start

  1. Enable in configs/tfo-agent.yaml:
collectors:
  ebpf:
    enabled: true
  1. Run agent with CAP_BPF + CAP_PERFMON (or CAP_SYS_ADMIN):
sudo ./build/tfo-agent start --config configs/tfo-agent.yaml
  1. Verify metrics:
curl -s http://localhost:8888/metrics | grep tfo_ebpf

Requirements

  • Linux kernel 5.2+ (BTF/CO-RE support)
  • CAP_BPF + CAP_PERFMON capabilities (or CAP_SYS_ADMIN)
  • /sys/fs/bpf mounted
  • Non-Linux platforms: collector returns empty metrics gracefully