LogReplay Blog
-
Adding Session Replay to a Vite + React App
Where to initialize session replay in a Vite + React app, how to split dev and prod config with env vars, and the strict-mode gotcha that double-records.
-
Session Recording Under GDPR: Lawful, but Only If You Do the Work
Session recording can comply with GDPR: pick a defensible lawful basis, mask PII at capture, set real retention limits, and sort out the vendor DPA.
-
Log Management Best Practices When There's No Platform Team
Log management best practices for a five-person SaaS team: what to centralize first, retention on a budget, and when grep over SSH is genuinely fine.
-
Hydration Mismatches in Next.js: Causes Ranked by Frequency
The five most common causes of hydration mismatches in Next.js, ranked by how often they actually happen in production, with a working fix for each.
-
Breadcrumbs: the Poor Man's Session Replay
What breadcrumbs are in error tracking, what a trail can and cannot tell you, when they're honestly enough, and when you need full session replay.
-
Datadog Log Management: Loved Until the Invoice Arrives
Datadog log pricing splits ingest from indexing, and indexing is what bites. Exclusion filters, rehydration, and when a small team should leave.
-
Race Conditions in Frontend Code: Yes, You Have Them
Frontend race conditions explained: stale responses overwriting fresh state, double submits, and effect cleanup — with AbortController fixes that hold up.
-
Error Monitoring or Session Replay: Which First on a Startup Budget?
A decision tree for choosing between error monitoring and session replay when you can only set up one thing this sprint. Spoiler: it depends on your bugs.
-
Dynatrace Session Replay: What You Get for Enterprise APM Money
A fair teardown of Dynatrace session replay: strong APM trace correlation, DEM-unit licensing built for enterprises, and why small teams should look elsewhere.
-
Wiring Session Replay Into Your Consent Banner Correctly
How to gate session replay on consent: start-after-consent pattern with code, buffering tradeoffs, CMP integration, and testing the reject path.
-
ChunkLoadError: Your Deploy Broke Everyone's Open Tabs
Why ChunkLoadError spikes after every deploy, how stale HTML references dead asset hashes, and three fixes: reload prompts, cache headers, kept assets.
-
The Dark Mode Flash: Small Bug, Big Rage
Why your site flashes the wrong theme on load, and the inline script fix that actually stops it — plus cookies vs localStorage for SSR frameworks.
-
Bugs That Only Happen to One User
How to debug a user specific issue: the five-part taxonomy — data shape, permissions, local state, extensions, locale — and a bisection sequence.
-
rrweb Replays Coming Up Blank? The Usual Suspects
A checklist for blank rrweb replays, ordered by how often each cause turns up: missing snapshots, CORS-blocked CSS, CSP, iframes, and player isolation.
-
How Session Replay Works: Snapshots, Mutations, and a Lot of JSON
How session replay works under the hood: DOM snapshots, MutationObserver diffs, batched uploads, and how the player turns JSON back into a page.
-
Session Replay Attacks Have Nothing to Do With Session Replay Tools
A session replay attack re-sends stolen auth tokens. Session replay tools record the DOM for debugging. Two unrelated things that share a name.
-
Measuring What Your Monitoring SDKs Cost Your Users
A method for measuring browser SDK performance impact on your own app: A/B cohorts, INP and LCP deltas in the field, and DevTools script evaluation time.
-
Elasticsearch for Logs: Powerful, Hungry, and Often Overkill
How inverted indexes, ILM tiers, and shard sizing shape Elasticsearch for log management — and when field queries make a columnar store the better fit.
-
The Support-to-Engineering Handoff Is Where Bugs Go to Die
Why the support ticket bug triage process breaks at the handoff, and a protocol that fixes it: intake capture, escalation criteria, and the evidence rule.
-
How Long to Keep Session Replays (a Retention Policy That Holds Up)
A session replay retention policy that balances support lookback, GDPR storage limitation, and disk cost — with a tiered template and audit notes.