the gas trap collects formation gases from oil well fluid flow in real time . gases are released by the fluid when agitated by an agitating pipe which stirs the fluid flow ; the gases are then collected and separated from the fluid to be analyzed . the gas trap does hinder the flow of formation cuttings in the drilling fluid flow line , but allows the formation cuttings to flow around the agitator pipe and out to the sample box .