Added some metrics logging to see how well the prediction logic works