Clarify Application class code and system splash screen vs. Android TTID
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- android
- Domain
- documentation
Research direction
Start in docs/platforms/android/tracing/instrumentation/automatic-instrumentation.mdx and review the Cold Start and Time to Initial Display sections. Use the described SentryPerformanceProvider timing and Android system splash-screen behavior as context. Done means both behaviors are clearly explained in a short note so readers can determine what contributes to TTID.
Written by the indexing model from the issue text.
Description
The Android app-start docs (docs/platforms/android/tracing/instrumentation/automatic-instrumentation.mdx, Cold Start / Time to Initial Display sections) don't clarify two behaviors that came up in a customer question:
- Code in the
Applicationclass (e.g.onCreate,attachBaseContext) runs before TTID ends and is counted as part of cold start, not after it. This follows fromSentryPerformanceProvider'sContentProvider.onCreate()starting the app-start clock, which itself runs beforeApplication.onCreate(). - The Android system splash screen (the default
SplashScreenAPI window on Android 12+, shown as an OS-renderedWindowrather than anActivity) has no effect on TTID measurement. The SDK has no splash-screen-specific instrumentation (verified: nosplash/SplashScreenreferences anywhere insentry-java); TTID is purely Activity-lifecycle- and first-frame-drawn-based.
Adding a short note covering both points to the Cold Start / TTID docs would help customers reason about what does and doesn't count toward the measurement.
Requested by kpujji via Junior.
--
- Dominant language
- MDX
- Stars
- 446
- Forks
- 1.7k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 312
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getsentry/sentry-docs
-
Docs Platform: Android SDKs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
getsentry/sentry-docs#19438 · 1 comment ·
-
Docs Platform: Python SDKs
Difficulty 1/5 Under an hour Newbie friendliness 92/100
getsentry/sentry-docs#19432 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getsentry/sentry-docs#19347 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
getsentry/sentry-docs#19182 · 1 comment ·
-
Docs Good First Issue Platform: PHP SDKs
Difficulty 1/5 Under an hour Newbie friendliness 90/100
getsentry/sentry-docs#19177 · 2 comments ·
All issues in getsentry/sentry-docs
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
fullcalendar/fullcalendar#8106 ·