Captur: Observability-First Mobile ML Inference for Better Customer Confidence
summary
A mobile SDK runs complex ML entirely on device (about 30 decisions a second) across ~4,000 unique devices, guiding users with live frame-by-frame inference and exiting on policy or attempt limits; observability is implemented with Datadog RUM embedded to record session health, per-device inference latency and exact crash files, and a sampling/filtering policy that cut noisy indexed crashes (a spike dropped from ~57% crash-free to filtered out) to achieve a 99.86% crash-free session rate, speed up root-cause from days to minutes and use MCP + Claude to surface likely faulty code lines.
AI-written summary · about
chapters (13)
- 0:00Introduction and context
- 1:09Problem with poor image quality
- 3:13Real-time ML inference on device
- 6:26Challenges of mobile ML production
- 8:37Observability for SDK crashes
- 10:43Release cycle for SDKs
- 13:12Tracking SDK performance metrics
- 14:57Integrating RUM SDK for debugging
- 16:20Identifying crash ownership
- 17:42Filtering host app crashes
- 19:27Results and improvements
- 20:35Using LLMs for crash analysis
- 22:22Four key takeaways for SDKs
