grafana / beyla

eBPF-based autoinstrumentation of web applications and network metrics
https://grafana.com/oss/beyla-ebpf/
Apache License 2.0
1.19k stars 77 forks source link

Finish K8s informers when the context is cancelled #747

Closed mariomac closed 4 weeks ago

mariomac commented 4 weeks ago

Informers had their own "stopChan" but it was never closed, so Beyla often takes too many seconds to stop (causing that even integration tests reported a failure just because Beyla did not stopped on time).

We replace the stopChan by just receiving a cancellable context.