Urgent.News

What's breaking now, across thousands of outlets.

Tech

How to catch the frozen tabs and jank your monitoring misses

One user's page froze, and every dashboard stayed green. It was a long-lived single-page app, the kind of tab someone keeps open for hours. A customer writes in: yesterday the page locked up and they lost work. You open your monitoring to pull that exact session, and it is not there, because your replay tool sampled it away and it threw no error to catch on. Modern error-monitoring and real user…

A user's web page froze and all dashboards remained green, despite being a long-lived single-page application that someone keeps open for hours. A customer reported losing work when the page became unresponsive. Monitoring tools that capture sessions are expensive and sample them to control costs, often recording only a fraction of sessions, typically around 10%.

This sampling method only captures sessions that throw JavaScript errors, leaving silent failures unrecorded. Scroll jank, sustained drag stutter, and main thread freezes cannot be detected by these tools, as they only measure user frustration through clicks. To catch these failures, a watchdog must be run in a Web Worker to survive the frozen tab and send a report from a snapshot taken before the tab became unresponsive.

Measuring user-perceived performance with INP (Interaction to Next Paint) misses dead and rage clicks, scroll jank, drags, and the merely-bad interaction. Per-session logs provide a more accurate representation of how users actually complain, as opposed to standard monitoring which aggregates sessions into percentiles and cannot trace back to individual users.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

I Built a Financial Dashboard for Indie Devs and Digital Creators and It is Free

As a digital creator, indie hacker, freelancer, or digital nomad, your income can end up scattered across multiple platforms.

  • YoFi is a free financial dashboard for indie devs and digital creators
  • Tracks income from platforms like Stripe, RevenueCat, and Gumroad
  • Covers expenses, savings, subscriptions, stocks, crypto, and digital assets

More from Saturday 12 September →