Skip to content

Commit

Permalink
Put the probe on roundTrip to handle all cases
Browse files Browse the repository at this point in the history
  • Loading branch information
grcevski committed Dec 1, 2023
1 parent c3ab54a commit 63db4d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/instrumentation/bpf/net/http/client/probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func New(logger logr.Logger) probe.Probe {
},
},
Uprobes: map[string]probe.UprobeFunc[bpfObjects]{
"net/http.(*Client).do": uprobeDo,
"net/http.(*Transport).roundTrip": uprobeDo,
},

ReaderFn: func(obj bpfObjects) (*perf.Reader, error) {
Expand Down

0 comments on commit 63db4d2

Please sign in to comment.