Following [#48], implement Metrics API.
Following [#48], implement Metrics API.