Bug fix for metric.py error, sar-device error and addtion in requirements.txt