insights: migrate historical recorder to database storage
Created by: coury-clark
Closes #22814 (closed)
This migrates the insights historical recorder to read from the database insights storage rather than directly out of settings. There should be no change in expected behavior here, just a different data source.