Prompt
What tool should I use to see exactly what users did before an error?
Latest observation
Use application error logging with stack traces and request/session context — ideally through an observability tool like:
- Sentry
- Datadog
- New Relic
- Elastic APM / ELK
- OpenTelemetry + your backend log store
If you want to see what users did right before an error, the most useful features are:
-
Breadcrumbs / event trail
Shows the sequence of clicks, API calls, navigation, and state changes leading up to the error. -
Session replay
Records the user’s session so you can literally watch what happened. -
Structured logs with correlation IDs
Lets you tie frontend actions to backend requests and errors. -
Error traces and metadata
Gives the exact exception, stack trace, user ID, route, device/browser info, etc.
If you want the closest thing to “exactly what users did”, use session replay plus error tracking.
A common combo is Sentry Session Replay or Datadog RUM + APM.
If you tell me your stack (web/mobile/backend), I can recommend the best specific tool.