The results of measuring the electron temperature and density spatial distributions in plasma of the Globus-M2 tokamak using the Thomson scattering diagnostics are presented. The diagnostics provides measurements throughout the entire tokamak discharge, starting from time of gas breakdown. The Thomson scattering data were analyzed in order to determine the positions of the last closed flux surface, the plasma magnetic axis, and the radius of inversion during the saw-tooth oscillations. The results of measurements performed during the internal reconnection of magnetic field lines are presents, as well as the dynamics of spatial distributions of electron temperature, density and pressure during the plasma transition to the H-mode. The results of measuring the electron temperature distribution in the scrape-off layer using the Thomson scattering diagnostics are also presented for distances up to 4 cm outside the last closed flux surface.