~/talk

Revolutionizing ANR Detection at Sentry

Talkat droidcon Berlin 2023 · 2023-07-05..07-07· [observability, android]
slides:none on file

New ANR pipeline switches from a real‑time watchdog to Android’s Application Exit Info API on Android 11+, persisting breadcrumbs, tags and contexts to disk so the next app launch can reconstruct the exact ANR (timestamped fatal event) and avoid duplicates. It parses the system trace with a sys_trace parser (regexes) to produce full thread stacks and deadlock flags, still keeps the watchdog for sub‑5s hangs and plans persisted profiles to link slow functions to ANRs.

AI-written summary · about

  1. 0:00Introduction to Sentry
  2. 3:11What is an ANR?
  3. 6:24ANR detection approaches
  4. 9:52Limitations of old ANR detection
  5. 10:56New ANR detection at Sentry
  6. 14:27Enriching ANR events
  7. 15:31Parsing system traces
  8. 16:56Future improvements
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.