Features of serverless functions that can be used in supervised learning

Which input parameters I can choose for the supervised machine learning for prediction of the response time of serverless functions? I thought about CPU and memory, but It is hard to get them from the beginning.