Real-time metrics gathering, recording, and graphing