Add index on historical_data (recorded_at) to improve queries See merge request gitlab-org/gitlab!68435