Initial metrics implementation