These high temperatures are generally measured using visible or near infrared bichromatic pyrometers, Be carefull, these very high temperatures have to be measured out of the non-sensitive zone of the instrument (see the Wien displacement law). For example, avoid a 1µm bichromatic pyrometer if you want to work around 3000 K.
A calibrated spectrometer can also perform these measurements. The major issues will come not only from your device but also from the need to have a hot temperature source (i.e. a blackbody) to calibrate such apparatus.
I don't think that anybody will find a pyrometer to measure a temperature higher than 3000 C. A possible way to detect an emission spectrum of hot object. If the object emits as a black body then the position of spectral maximum correlates with the object temperature (Wien's displacement law).
Temperature Ranges: −50°F to 6500°F (−46 to 3600°C) for Spot instruments; 100 to 3500°F (37 to 2000°C) for Line Scanners; 0 to 3500°F (0 to 2000°C) for Thermal Imagers, 1400 to 6300°F (760 to 3500°C) for optical; −40 to 7000°F (−40 to 4000°C) for narrow-band and total radiation pyrometer designs
From room temperature to 300 degs thermistor are accurate for use, between 100 to 600-700 degs thermocouples are accurate for use, above 700 usually pyrometers are preferred.
Preference is referred in terms of cost effectiveness and accuracy.
Thermocouples are available in different grades and pyrometer with different types.
Infrared types of pyrometers or thermometer are used for measuring temperature up to 4000 degree celcius
Other pyrometer named disappearing filament pyrometer is extended to measure the temperature up tp 10,000 deg celcius.
The measurements of the peak brightness temperature and spectral energy distribution of a high-energy, short-duration spark discharge source indicate a peak brightness temperature of 54 000 °K to 68 000 °K over the wavelength region from 450 nm to 300 nm.