Compensation for workers rose to a nearly 10-year high in the second quarter as inflation pressures continued to percolate in the U.S. economy.

The employment cost index increased 0.6 percent for civilian workers in the three-month period ending in June, according to a Bureau of Labor Statistics release Tuesday. That brought the 12-month rate up to 2.8 percent, the highest level since 2.9 percent in the third quarter of 2008, amid the financial crisis and the Great Recession.

Significant wage gains have been a missing part of the economic recovery, with average hourly earnings increases barely keeping pace with inflation.

However, the ECI has been on a steady rise over the past year and a half. The index had struggled to stay above 2 percent for most of the period following the recession as the Federal Reserve kept interest rates low and inflation stayed well below historical norms. However, the index has been climbing steadily from the 2.2 percent level just prior to President Donald Trump taking office.

"With the labor market tightening, stronger wage pressures should continue to feed through into higher inflation over the rest of this year," Andrew Hunter, U.S. economist at Capital Economics, said in a note.