Skip to content

Commit

Permalink
FIX: Roundtrip recursion issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bharat-gadde-dev committed Mar 11, 2024
1 parent e13bf72 commit b5d6442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otelhttpmetrics/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (t *transport) RoundTrip(r *http.Request) (*http.Response, error) {
cfg := t.cfg
recorder := cfg.recorder
if !cfg.shouldRecord(r) {
return t.RoundTrip(r)
return t.rt.RoundTrip(r)
}
reqAttributes := cfg.attributes(r)

Expand Down

0 comments on commit b5d6442

Please sign in to comment.