Reducing MTTR with Visual Context: A DevOps Guide
A phase-by-phase playbook for React Native and Expo teams
Mar 03, 2026
•Updated: Nov 07, 2026
Jump to section
Mean time to repair (MTTR) is the average time from the start of an incident to the moment the fix reaches your users. For mobile teams, most of that time isn't spent fixing. It's spent finding out what happened.
A web team can roll back a deploy in minutes. A React Native team has app store review, staged rollouts, and users who don't update for weeks. That makes every step before the fix count more: how fast you notice, how fast you find the cause, and how fast you confirm the fix worked.
This guide breaks MTTR into five phases and shows what to set up in a React Native or Expo app for each one, so the next incident starts with evidence instead of a guess.
What is Visual Context?
Visual context is what the user saw and did around a failure: the screens, taps, and UI state in a session replay, together with the network requests, console logs, and stack trace from the same session.
Logs and stack traces tell you what the code did. Visual context shows you what the user experienced, which is usually the part you can't reproduce on your own device.
Why rapid MTTR matters for mobile teams
An open incident keeps reaching users. A crash on launch hits every person who opens the app until the fix is out, and some of them won't open it again.
Mobile also adds a delay web teams don't have: a native fix has to pass app review and then reach users through updates. Expo teams can ship JavaScript-only fixes with EAS Update, which shortens the last mile. It doesn't shorten the time it takes to understand the problem.
Measure MTTR as two numbers: time to detect (incident start to someone looking at it) and time to resolve (first look to fix in users' hands). Alerts shrink the first. Visual context shrinks the second.
The five phases of a mobile incident
Every incident moves through the same phases. Time lost in any one of them adds to MTTR:
- Detect: someone on the team knows something is wrong.
- Triage: you know how big it is, which release caused it, and who it affects.
- Reproduce: you can see the failure happen.
- Fix: you know which line of code to change.
- Verify: you've confirmed the fix reached users and the problem stopped.
Detect: hear about it before your users tell you
If you only find out about a crash from an app store review, MTTR starts with a delay you can't recover. Vexo alerts and anomaly detection check your metrics every hour and notify you when something moves:
- Error spike: errors in the last hour reach a count you set.
- Crash-free sessions drop: the crash-free rate falls below a percentage you set.
- Anomalies: event volume, active users, crash-free rate, or error rate strays from its own recent baseline.
Alerts go to the app owner by email and to Slack if you connect it, and threshold alerts can also post to a Microsoft Teams channel. Each alert type has a cooldown, so an ongoing incident is one notification, not one an hour.
Turn on the event volume anomaly alert even if you skip the others. It catches the incident a dashboard misses: a release or SDK upgrade that quietly stops your data from arriving.
Triage: size the problem in minutes
Vexo's crash and ANR reporting records uncaught JavaScript errors as fatal crashes and flags JS-thread stalls that freeze the UI without throwing. Both feed a crash-free rate and group the same failure across devices into one issue. Use them to answer four triage questions:
- Is it new? Filter by app version. If the crash-free rate dropped only on the latest release, you have your suspect.
- How big is it? Each error group shows how many times it occurred and how many devices it affected.
- Where does it happen? Each error records the screen the user was on.
- Who is affected? If you call
identifyDeviceafter sign-in, you can see which signed-in users are hitting it.
Report the failures your code catches with trackError(err), such as a payment request that returns an error. They're grouped like any other error but don't count against the crash-free rate. If your team works from Jira, push the error to Jira from Vexo with its context attached instead of copying a stack trace into a ticket.
Reproduce: watch the session instead of guessing
Reproduction is where most MTTR goes, because the bug depends on a device, a network, or a sequence of taps you don't have. Session replay removes that step. When a session was recorded, each occurrence in an error group links to its replay, which opens at the moment of the crash. The same session carries the console logs and the network requests, each with its URL, method, status, and response time.
On Expo, click Expo updates on the Releases page to see each EAS Update as a release, with its crash-free sessions and new errors. That ties a report straight to the update that caused it. See session replay for Expo managed workflow apps for setup.
If you don't want to record every session, sample replays at initialization:
import { vexo } from 'vexo-analytics';
// Record replay for half of all sessions. Events, errors, and network
// requests are still captured for every session.
vexo('YOUR_API_KEY', { sessionReplaySampleRate: 0.5 });The decision is made once per session, on the device. A session that wasn't sampled still reports its crash, logs, and requests; it just has no recording. Pick the highest rate you can afford, so most crashes arrive with a replay.
Not every incident throws an error. When a button looks enabled but does nothing, the only signal is repeated taps. Those rage clicks show up on tap heatmaps as clusters on unresponsive elements, and a replay of the same screen shows you why.
Fix: read the stack trace in your own code
A production React Native bundle is minified, so a raw crash stack points at a byte offset, not at your source. Upload source maps after each release build:
# after a release build, from your project root npx vexo-upload-sourcemaps
Vexo matches each map to crashes by app version, platform, and, on Expo, the EAS Update ID, then shows the stack with your real file, line, and function. A Symbolicated badge on the stack trace confirms it worked; Minified means that release has no map yet. Run the upload from your CI release job or an EAS post-publish hook, so it never depends on someone remembering.
Read the console output on the same session next to the stack. The console.log lines you wrote during development often explain the state that led to the crash.
Verify: confirm the fix worked
An incident isn't over when the fix ships. It's over when users stop hitting it. After the release, filter by the new app version and check the crash-free rate and the error group: new occurrences should stop on the fixed version. For a UX fix, compare the screen's tap heatmap across app versions.
If the bug sat on a key flow, add a custom event at the step that broke, such as purchase_completed, and watch it in a funnel to confirm users get through again.
Visual context helps in every phase after detection: it tells you who is affected during triage, replaces reproduction, explains the stack during the fix, and shows the fixed flow working during verification.
Checklist: what to set up before the next incident
| Phase | Set Up Before an Incident | Check During an Incident |
|---|---|---|
| Detect | Error spike and crash-free alerts, plus the event volume anomaly alert, sent by email and to Slack | Which alert fired and the value that triggered it |
| Triage | Crash and ANR reporting (on by default), trackError for handled failures, identifyDevice after sign-in | App version, affected devices, screen, and who is affected |
| Reproduce | Session replay at a sample rate you can afford | The replay at the crash, plus console logs and network requests |
| Fix | A source map upload on every release | A Symbolicated stack trace that points at your file and line |
| Verify | Filters by app version, and EAS Update links on Expo | Crash-free rate and new occurrences on the fixed release |
Practical next steps for product and engineering teams
- Add
vexo()to your app and ship a release build - Run
npx vexo-upload-sourcemapsin your release job or EAS post-publish hook - Turn on the error spike, crash-free, and event volume alerts, and connect Slack
- Write down how long your last few incidents took, phase by phase, so you can compare after the next one
Then run your next incident review phase by phase. The phase that took longest is the one to invest in next.
Conclusion
Most mobile MTTR is spent before the fix: noticing the problem, sizing it, and reproducing it. Alerts shorten detection. Grouped errors with app version and affected devices shorten triage. Session replay with logs and network requests on the same session removes reproduction, and symbolicated stacks point you at the line to change.
Vexo puts those pieces in one place for React Native and Expo apps. One vexo() call turns on session replay, crash and ANR reporting, network monitoring, and console capture, and one CLI command uploads your source maps.
Get started with Vexo today and start reducing your MTTR with visual context.
Frequently Asked Questions
What is MTTR and why does it matter?
MTTR (Mean Time to Repair) measures the average time from the start of an incident until its fix reaches users. Lower MTTR means fewer users hit each problem, a better user experience, and less revenue lost to every incident.
How does visual context reduce MTTR?
It removes the reproduce step. Instead of rebuilding the user's path from logs, you open the replay of the session that crashed, at the moment of the crash, with the console logs and network requests from that session beside it.
What replay sample rate should I use?
Use the highest rate your plan and budget allow, so most crashes arrive with a recording. sessionReplaySampleRate decides once per session on the device. Sessions that aren't recorded still report crashes, errors, logs, and network requests.
Does this work with Expo?
Yes, in managed and bare projects running a development build; Expo Go isn't supported. Source maps match crashes by EAS Update ID, and the Releases page compares each EAS Update with the one before it.
Can session replay impact app performance?
Replay is designed to stay light. For apps where every frame matters, such as games, camera apps, or heavy real-time canvases, pass { sessionReplay: false } as the second argument to vexo(). The recorder never starts, and crash reporting, analytics, and network capture keep working.
Questions or feedback? Reach out at hello@vexo.co or join our Discord.