Key procedures to optimize the sealing process and achieve real-time monitoring of the metal-to-glass seal (MTGS) structure are described in detail. The embedded fiber Bragg grating (FBG) sensor is designed to achieve online monitoring of temperature and high-level residual stress in the MTGS with simultaneous environmental pressure monitoring.