cloudflare / ebpf_exporter

Prometheus exporter for custom eBPF metrics
MIT License
2.2k stars 240 forks source link

Could you help to create example like bcc/tcptop #487

Open real747-david opened 2 weeks ago

real747-david commented 2 weeks ago

Dear contributer:

could you add a example like bcc/tcptop or tcplife, can show below metrics, realy appreciate. https://github.com/iovisor/bcc/blob/master/tools/tcptop_example.txt https://github.com/iovisor/bcc/blob/master/tools/tcplife_example.txt

PID COMM LADDR LPORT RADDR RPORT TX_KB RX_KB MS 22597 recordProg 127.0.0.1 46644 127.0.0.1 28527 0 0 0.23 3277 redis-serv 127.0.0.1 28527 127.0.0.1 46644 0 0 0.28

bobrik commented 2 weeks ago

This is high cardinality data and it doesn't belong in prometheus. You are welcome to contribute a per-cgroup example.