Sensor for a Gas Range

We want to see if the gas stove is left on. I wanted to see if anyone had any luck using something like this:

This is for water, but I figured something like this should work for gas. If there are pulses, then the gas is flowing.