TTL fix for metrics table

we convert the resolution from seconds to milliSeconds in DatasetInstanceHandler, while the setTTL property expects seconds, due to this we were storing milliseconds as seconds. 
meaning instead of 2 hours (7200 seconds) we were storing (7200000s). so coverting it to seconds before setting TTL