ttl fix for metrics table, we convert the resolution from seconds to mil...

...liSeconds in DatasetInstanceHandler, while the setTTL property expects seconds, so coverting it to seconds before setting TTL