Merge "Gather latency metrics for key events" into main