Support 'last' aggregation method in sandbox metrics resource