github / glb-director

GitHub Load Balancer Director and supporting tooling.
Other
2.37k stars 227 forks source link

glb-director-xdp: Add statsd metrics. #113

Closed theojulienne closed 3 years ago

theojulienne commented 4 years ago

This PR adds statsd metric support to glb-director-xdp. The metrics are collected using eBPF per-CPU structures, with the Go side doing housekeeping and emitting the metrics. The way these metrics are grouped should make tag-based aggregation fairly simple, and should also cover all paths/errors where the XDP program exits for any reason.

/cc https://github.com/github/glb-director/issues/108