How To Build A Scalable Metrics System