This change instruments the page readiness process with structured logging that records the duration, outcome (success/timeout/error), and timeouts for each step (loading indicators, network idle, DOM stability) plus an overall summary. It enhances observability and debugging by surfacing granular performance metrics in Datadog for identifying bottlenecks and tuning timeouts. Concerns include increased log volume and ingestion costs, slight runtime overhead from timing and logging, and the need to verify that no sensitive data is inadvertently logged.
