[#2] Basic metrics API