Integrated impurity diagnostic package for magnetic fusion experiments