Micro spectrometer for the measurement of the composition of new gas