Monitoring the movement of gas pressure or hydraulic cylinders is solved very elegantly using an eddy current sensor. This sensor is integrated in the cylinder. An aluminum ring is used as the target. The sensors are designed so that they easily withstand the pressure inside the cylinder. There are attractive sensor series in the range for this application.