Fixed last processing and added metric result history of

Signed off by: Diego Araújo <diegoamc90@gmail.com>
Signed off by: Daniel Alves <danpaulalves@gmail.com>