Online monitoring solutions for determination of hydrogen in gas vent