How would you design a real-time monitoring system for agent performance using trace data and logging at Replit?