Skip to content

Commit

Permalink
Temptative fix to wrong language detection (#1276)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariomac authored Oct 28, 2024
1 parent 6d29eed commit c2f7c8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/internal/discover/attacher.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ func (ta *TraceAttacher) monitorPIDs(tracer *ebpf.ProcessTracer, ie *ebpf.Instru
ie.FileInfo.Service.SetAutoName()
}

ie.FileInfo.Service.SDKLanguage = ie.Type

// allowing the tracer to forward traces from the discovered PID and its children processes
tracer.AllowPID(uint32(ie.FileInfo.Pid), ie.FileInfo.Ns, &ie.FileInfo.Service)
for _, pid := range ie.ChildPids {
Expand Down

0 comments on commit c2f7c8f

Please sign in to comment.