-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Issue #12731: Collect telemetry about the content process of tabs getting killed. #17864
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, one comment below, and should we combine this with the existing TelemetryMiddleware
or prefer keeping it separate?
} | ||
|
||
@Suppress("MagicNumber") | ||
private fun EngineState.ageNanos(): Long? { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait this confused me. This is returning ageMillis, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I see, elapsedRealtime
actually returns millis, but you want to record nanos. I guess nowNanos
should be nowMillis
and timeStamp
is millis too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, you are right, I changed this part of the code a couple of times and now the names do not make any sense. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah OK, let's update to nowMillis
and timeStampMillis
then? :)
Yeah, I saw |
(EDIT: Updated to current version of data collection review form) Request for data collection review formAll questions are mandatory. You must receive review from a data steward peer on your responses to these questions before shipping new data collection.
See issue: mozilla-mobile/android-components#9366
For debugging purposes. It seems like a large amount of users see unexpected "reloads" of websites they are on. This seems to be caused by content process kills by the Android system. With those probes we want to see how big this problem is across our user base and also see whether mitigation strategies improve the situation. See:
Note that the data steward reviewing your request will characterize your data collection based on the highest (and most sensitive) category.
I assume all collected data qualifies as Category 1 “Technical data”. Maybe it is possible to interpolate a rough estimate about how many (crashed) tabs a user had open at some point (but no information about those tabs). Would that be Category 2 “Interaction data”?
See metrics.yaml attached to this PR. After landing this PR the documentation will be available at:
This data collection hooks into the data collection mechanism of the app and can be disabled in the app settings (Settings > Data collection)
|
@pocmo Makes sense to keep separate, but we should probably nest them into a |
…ss of tabs getting killed.
bbd68bf
to
2508bf5
Compare
Updated the data collection form. And updated the PR. Looking at it again your proposal to integrate the changes into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Data Review Form (to be filled by Data Stewards)
|
Thank you @pocmo! 🎉 |
AC issue:
mozilla-mobile/android-components#9366
Required change on the AC side:
mozilla-mobile/android-components#9634
This still needs a data-review.
r? @csadilek @dblohm7