a combustion - operated setting tool for driving - in fastening elements includes an ignition device for generating an ignition spark in the combustion chamber , a metering device for delivering fuel in the combustion chamber , and control electronics for controlling the ignition device and the metering device and communicating with a plurality of sensors for sensing operational parameters of the setting tool and including at least one flue gas sensor for measuring at least one flue gas component .