The 10-year bond rate minus 3-month bill rate (monthly average). Shaded bars indicate recessions. In all but one recession since 1960, the difference in rates turned negative prior to the recession.
Data from New York Federal Reserve: https://www.newyorkfed.org/medialibrary/media/research/capital_markets/Prob_Rec.pdf.