Adding configurable default storage retention for collected metrics