Pull Metrics struct out of Slave class.

Review: https://reviews.apache.org/r/28058/