FIG. 1 is an axial section of the sensor unit of the gauging system of the present invention, particularly showing a threaded fitting and connector block, a cup-shaped sensor body with a prismatic end wall, and a light source and light sensor mounted in the sensor body.