mobile-observability-architect
Architect-level mobile observability — crash reporting and symbolication, ANR and watchdog detection, network and startup telemetry, session breadcrumbs, sampling and privacy, and the release-health gate that stops a bad build from rolling out. Use when you need to know what the app does in the field.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- mobile-observability-architect
- license
- MIT
- metadata
- { "crusor-path": "mobile-architect/quality-architect/mobile-observability-architect", "crusor-domain": "mobile-architect", "crusor-origin": "original", "crusor-sources": "firebase.google.com/docs/crashlytics; docs.sentry.io/platforms/apple; developer.android.com/topic/performance/vitals/anr", "crusor-triggers": "crash reporting, crashlytics, anr, symbolication, mobile telemetry, session replay, release health, dSYM, obfuscation mapping, crash reports, unreadable crash, symbolicate", "crusor-verified-on": "2026-10-30" }
- description
- Architect-level mobile observability — crash reporting and symbolication, ANR and watchdog detection, network and startup telemetry, session breadcrumbs, sampling and privacy, and the release-health gate that stops a bad build from rolling out. Use when you need to know what the app does in the field.
- compatibility
- Crashlytics, Sentry, Embrace, New Relic, Datadog RUM
03 SKILL.md 正文
Mobile Observability Architect
You cannot reproduce a user's device, OS version, memory state, and network. In the field, telemetry is the only debugger you have.
When to use
- Shipping to a large or heterogeneous user base.
- Crash triage that stalls on "cannot reproduce".
- Staged rollouts that need a health signal.
When NOT to use
- Pre-release development where you control the device.
- Low-traffic internal apps — logs may suffice.
Decision 1 — Signals
| Signal | Catches |
|---|---|
| crash reports | fatal errors, stack traces |
| non-fatal errors | caught exceptions, failed states |
| ANR / watchdog | main-thread blocking, hangs |
| performance traces | startup, screen load, jank |
| network logs | failing endpoints, slow calls |
| session breadcrumbs | what the user did before |
- Symbolication must work: upload dSYMs (iOS) and mapping files (Android) on every build, or crashes are unreadable noise.
- Track "crash-free users" and "ANR-free sessions" as release metrics.
Decision 2 — Context
- Attach: app version, build number, OS, device model, locale, network type, account tier (not identity).
- Breadcrumbs for navigation and key actions, with a bounded buffer.
- Correlation ids from API responses, so a client error maps to a server trace.
- Never log PII, tokens, or full request bodies.
Decision 3 — Sampling and volume
- Sample non-fatal events and traces; keep 100% of fatal crashes.
- Budget ingestion cost per MAU; a chatty SDK can cost more than the backend.
- Client-side buffering with flush-on-background; losing the last few events is acceptable, losing the crash is not.
Decision 4 — Release health
- A rollout gate: crash-free sessions below threshold triggers a halt.
- Staged rollout with metric comparison against the previous version for the same cohort.
- Alert on new crash signatures (a new top-1 crash is a stop signal), not just volume.
- Link the release tag to the build so the dashboard answers "which version".
Decision 5 — Privacy and compliance
- Consent for any telemetry beyond crash diagnostics in regulated markets.
- Disclose third-party SDK collection; some collect device identifiers by default.
- Data retention per policy; crash data often holds screenshots or user text — scrub.
Failure modes at scale
- Crashes reported but unsymbolicated; the top signature is a memory address.
- ANRs invisible because only crashes are instrumented.
- Telemetry SDK initialised before consent; a compliance finding.
- Rollout continues at 8% crash rate because nobody wired the gate.
- Logs contain user emails; the incident is a privacy one, not a bug.
Verification receipts
- Crash and ANR rates for the current release, with symbolication verified.
- Breadcrumb and context fields reviewed for PII.
- Sampling configuration and estimated ingestion cost.
- Rollout gate configured and tested with a simulated failure.
- One real crash triaged end to end from report to fix.
04 同仓库更多 Skills
interaction-patterns-architect
Architect-level interaction design in code — choosing established patterns over invented ones, feedback and latency behaviour, destructive-action safeguards, navigation and overlay conventions, and the state model behind every interactive surface. Use when a screen has to behave, not just look.
design-system-ops-architect
Architect-level operation of a design system in code — token pipelines and versioning, component API and variant policy, the catalogue as the contract, adoption metrics, and the governance that stops a system from forking into three. Use when a component library must survive several teams.
design-handoff-architect
Architect-level design handoff — what must be specified before implementation starts, tokens over raw values, responsive and content-limit contracts, state matrices, and the review loop that catches drift between design and code. Use when a design is about to become code.
content-microcopy-architect
Architect-level UI content — where strings live, voice and terminology consistency, error and empty-state copy as part of the interface, translation-ready authoring, and the content model a product needs before it multiplies screens. Use when the words in the interface matter as much as the pixels.
ui-ux-implementation-architect
Architect-level direction for turning a design into working UI — the handoff contract, component ownership versus screen-level layout, interaction and state conventions, design QA gates, and the review habits that keep an implementation faithful without frozen pixels. Use before any specific UI implementation skill.
test-strategy-architect
Architect-level test strategy — allocating assertions across unit, integration, contract and end-to-end layers, designing for testability through dependency boundaries, fixture and data strategy, and the flake and coverage policies that keep a suite trustworthy. Use when defining how a codebase is tested.