Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Track activity TTID span automatically #1850

Open
abhaysood opened this issue Mar 4, 2025 · 0 comments
Open

Track activity TTID span automatically #1850

abhaysood opened this issue Mar 4, 2025 · 0 comments
Assignees
Labels
android android related

Comments

@abhaysood
Copy link
Contributor

abhaysood commented Mar 4, 2025

Description

Track activity load timing using spans. The span must start when activity is first created and should end when the first frame of the activity is drawn. Also, add span checkpoints for lifecycle events - onCreate, onStart and onResume.

This feature should be disabled by default. To enable collection the following configurations should be allowed

Span name: TBD, possibly Activity TTID {fully qualified class name of activity}

Configuration

The feature will be disabled by default. It can be enabled using this config, which will start collecting the spans for all activities.

MeasureConfig(enableActivityTtidSpan: bool)

Out of scope

  • Fine grained control on which activities to report TTID for.
  • Adding custom attributes to the span
@abhaysood abhaysood added the android android related label Mar 4, 2025
@abhaysood abhaysood self-assigned this Mar 4, 2025
@abhaysood abhaysood changed the title Add spans to track screen load timings Add spans to track activity load timings Mar 7, 2025
@abhaysood abhaysood moved this to In Progress in Measure Roadmap Mar 7, 2025
@abhaysood abhaysood changed the title Add spans to track activity load timings Track spans automatically Mar 7, 2025
@abhaysood abhaysood changed the title Track spans automatically Track activity TTID span automatically Mar 7, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
android android related
Projects
Status: In Progress
Development

No branches or pull requests

1 participant