Abstract Residual stresses affect the performance and reliability of most manufactured goods and are prevalent in casting, welding, and additive manufacturing (AM, 3D printing). Residual stresses are associated with plastic strain gradients accrued due to transient thermal stress. Complex thermal conditions in AM produce similarly complex residual stress patterns. However, measuring real-time effects of processing on stress evolution is not possible with conventional techniques.