-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Performance telemetry for awesomebar suggestion provider durations #10276
Performance telemetry for awesomebar suggestion provider durations #10276
Conversation
TODO: data review form & update PR w/ links. |
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.
I looked briefly and the general pattern seems to fit what we're doing for other performance telemetry. I'll come back for a more thorough look tomorrow.
app/src/main/java/org/mozilla/fenix/components/metrics/Metrics.kt
Outdated
Show resolved
Hide resolved
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.
Took another look and the general pattern of durations for performance purposes looks good to me: I'll leave the full review up to someone more familiar with what's actually being measured though.
defcd0b
to
6cdbf10
Compare
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.
This data will allow us to monitor real-life performance of all of the awesomebar suggestion providers. How fast/slow they are, what does distribution of duration looks like, etc.
Awesomebar is one of the main points of interaction with the browser for our users. It needs to be fast and responsive. Measuring real-life performance will allow us to understand better how users are experiencing this part of the product.
There are qualitative alternatives to understanding raw performance of suggestion providers (and of the awesomebar as a whole) - they mainly take form of monitoring user feedback from various channels. The quality of the data is hard to rely on, and data collection/processing effort is high. Automatic collection of raw performance metrics is both much more accurate, and doesn't involve a lot of effort to monitor over time once dashboards are established.
No.
Note that the data steward reviewing your request will characterize your data collection based on the highest (and most sensitive) category.
Data currently expires on 2020-09-15.
All channels, all user population.
Standard Glean SDK opt-out.
Through redash dashboards.
Fenix, a-c and a-s teams.
N/A |
A-C PR landed, so this one can land once it gets a data review; I'll update the metrics.yaml file w/ a link to a data review response before landing. |
Ah, I also need to bump the pinned nightly a-c version once the new release is out. Will do that in the morning. |
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+ only
Data Review Form (to be filled by Data Stewards)
- Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?
Yes, these are documented in the metrics.md
file, in this PR
- Is there a control mechanism that allows the user to turn the data collection on and off?
Yes, metrics ping controlled by Fenix in-app data collection settings
- If the request is for permanent data collection, is there someone who will monitor the data over time?
6mo, has expiry
- Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?
Type 1, duration of technical calls (Type 2 for inferred usage of these features)
- Is the data collection request for default-on or default-off?
Default on
- Does the instrumentation include the addition of any new identifiers (whether anonymous or otherwise; e.g., username, random IDs, etc. See the appendix for more details)?
No, timing/technical data only
- Is the data collection covered by the existing Firefox privacy notice?
Yes
- Does there need to be a check-in in the future to determine whether to renew the data? (Yes/No) (If yes, set a todo reminder or file a bug if appropriate)**
Has expiry
- Does the data collection use a third-party collection tool? If yes, escalate to legal.
No
6cdbf10
to
769f0bd
Compare
769f0bd
to
3feebb1
Compare
Bumped A-C version, fixed failing glean test; should get a green CI run now. |
3feebb1
to
119342f
Compare
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 good. One spelling nit + pls regenerate metrics.md then merge 👽
Codecov Report
@@ Coverage Diff @@
## master #10276 +/- ##
============================================
- Coverage 19.19% 19.17% -0.02%
Complexity 599 599
============================================
Files 360 360
Lines 14807 14821 +14
Branches 2001 2011 +10
============================================
Hits 2842 2842
- Misses 11705 11719 +14
Partials 260 260
Continue to review full report at Codecov.
|
See mozilla-mobile/android-components#6802 for details; requires that PR.
119342f
to
472604d
Compare
@grigoryk Does this telemetry need an extension for the expiry date? It has already expired on |
See mozilla-mobile/android-components#6802 for details; requires that PR.
Pull Request checklist
After merge
To download an APK when reviewing a PR: