In-line rheological monitoring of fused deposition modeling