Metrics logger