Fuel-injection apparatus with sensors