Providing increased quality with inline measurements