Skip to content

Commit

Permalink
start stats.Resp timer
Browse files Browse the repository at this point in the history
  • Loading branch information
rbarazzutti committed Aug 14, 2023
1 parent 62416fe commit d76a1cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/webclientimpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,8 @@ func (webClient *webClientImpl) DoMeasure(followRedirect bool) *HTTPMeasure {
return webClient.DoMeasure(followRedirect)
}

timerRegistry.Get(stats.Resp).Start()

s, err := io.Copy(io.Discard, res.Body)
if err != nil {
return &HTTPMeasure{
Expand Down

0 comments on commit d76a1cc

Please sign in to comment.