You need to sample the headspace frequently and put the gas through a system to measure a number of gases. If there is air replacement that needs to be measured and monitored so that you can calculate fluxes. P
Do not let the [O2] deplete below (say) 10%, unless that is your intention