Sensors for in line inspection and measurement