From 20c808e6666add7c5b4e95fe0ca59991ca6d5808 Mon Sep 17 00:00:00 2001 From: Raman Kumar Date: Sat, 7 Mar 2026 21:11:59 +0530 Subject: [PATCH] fix: detect Go applications on listen events for container_application_type attachTlsUprobes (which detects Go binaries via buildinfo) was only called on outbound connection events. Go servers that only listen for incoming connections were never detected as golang apps. Add the same call on ListenOpen events so server-only Go processes are properly identified. Co-Authored-By: Claude Opus 4.6 --- containers/registry.go | 1 + 1 file changed, 1 insertion(+) diff --git a/containers/registry.go b/containers/registry.go index 0b15bf6..bf328dc 100644 --- a/containers/registry.go +++ b/containers/registry.go @@ -340,6 +340,7 @@ func (r *Registry) handleEvents(ch <-chan ebpftracer.Event) { case ebpftracer.EventTypeListenOpen: if c := r.getOrCreateContainer(e.Pid); c != nil { c.onListenOpen(e.Pid, e.SrcAddr, false) + c.attachTlsUprobes(r.tracer, e.Pid) } case ebpftracer.EventTypeListenClose: r.containerLock.RLock()