simplify remote metrics implementation