pub fn record_latency(duration: Duration)
Record latency from a completed HTTP request. Called from send_with_retry on every successful completion.
send_with_retry