Closed Bug 1823492 Opened 3 years ago Closed 2 years ago

Add timespan telemetry for Adjust OnAttributionChangedListener

Categories

(Firefox for Android :: Experimentation and Telemetry, task)

Other
Android
task

Tracking

()

VERIFIED FIXED
117 Branch
Tracking Status
firefox113 --- verified
firefox116 --- verified
firefox117 --- verified

People

(Reporter: jhugman, Assigned: jhugman)

References

Details

Attachments

(3 files)

This task is to add a timespan metric to the AdjustMetricsService to measure how long it takes to get attribution data from the Play Store app.

Assignee: nobody → jhugman
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: qe-verify+
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch

Hello, :jhugman , is there something the QA team can check here? Thanks!

Flags: needinfo?(jhugman)

Just a quick note in case it's helpful for interpreting the results of this telemetry, I found an old issue in Adjust's Github project that has a pretty well-detailed outline of the performance expectations (at that point in time): https://github.com/adjust/android_sdk/issues/377

I found an old issue in Adjust's Github project that has a pretty well-detailed outline of the performance expectations (at that point in time): https://github.com/adjust/android_sdk/issues/377

Interesting, thank you. That post indicates a network roundtrip, which is… disappointing.

Flags: needinfo?(jhugman)

:jhugman confirmed on Slack that this ticket does not require testing from the QA team. Marking the ticket as verified.

Status: RESOLVED → VERIFIED
Flags: qe-verify+

https://mozilla-hub.atlassian.net/browse/EXP-3323?focusedCommentId=669289

https://sql.telemetry.mozilla.org/queries/91292?p_days=30#226013 (thank you :tlong of the Glean team) shows— for the beta and nightly populations at least— that the median response time for is around 3.5–4.0s, and the p75 time is around 6 seconds.

This may change when the probe hits the release population.

This may affect product experiments for onboarding, but not messaging.

Flags: needinfo?(jmahon)
Flags: needinfo?(adavis)

I never said thanks over here - thanks! This info is super useful. I'm going to clear my needinfo because I think the natural continuation of this ticket is over in Bug 1828972, which starts the next logical line of questioning: "can we improve that response time by migrating to using the Google Play Referrer Library directly, instead of the Adjust SDK?".

Flags: needinfo?(jmahon)
See Also: → 1828972
Flags: needinfo?(adavis)
Status: VERIFIED → RESOLVED
Closed: 3 years ago2 years ago
Flags: qe-verify+
Target Milestone: 113 Branch → 117 Branch

Comment on attachment 9345501 [details] [review]
[mozilla-mobile/firefox-android] Bug 1823492 - Add timespan metric for Adjust attribution (backport #2974) (#2982)

Beta/Release Uplift Approval Request

  • User impact if declined: No good time measurement for Adjust attribution for first session user
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Telemetry only, just an updated measurement for Adjust attribution
  • String changes made/needed:
  • Is Android affected?: Yes
Attachment #9345501 - Flags: approval-mozilla-beta?

Comment on attachment 9345501 [details] [review]
[mozilla-mobile/firefox-android] Bug 1823492 - Add timespan metric for Adjust attribution (backport #2974) (#2982)

Beta/Release Uplift Approval Request

  • User impact if declined:
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky):
  • String changes made/needed:
  • Is Android affected?: Yes
Attachment #9345501 - Flags: approval-mozilla-beta? → approval-mozilla-release?

Verified fixed. The "first_session.adjust_attribution_time" metric was captured on the latest Nightly 117.0a1. Tested with Samsung Galaxy A53 5G (Android 13).
Nightly:
"first_session.adjust_attribution_time": {
"values": {
"1392470868": 1,
"1518500249": 0
},

More details on Glean: https://debug-ping-preview.firebaseapp.com/pings/test-00001/ff3c38ef-cff1-46ff-9e1b-776ef3e5cbf2

Please note that the same metric was also available in the latest Beta 116.0b8 build:
"first_session.adjust_attribution_time": {
"values": {
"2341847523": 1,
"2553802833": 0
},
"sum": 2482772191

More details on Glean: https://debug-ping-preview.firebaseapp.com/pings/test-000001/378e4e18-4298-485a-a379-5631105a4938#L481

Flags: qe-verify+
Flags: qe-verify+
Comment on attachment 9345501 [details] [review] [mozilla-mobile/firefox-android] Bug 1823492 - Add timespan metric for Adjust attribution (backport #2974) (#2982) Approved for Mobile 116.0 RC2
Attachment #9345501 - Flags: approval-mozilla-release? → approval-mozilla-release+

Verified fixed on RC 116.0 build 2 with Samsung Galaxy A53 5G (Android 13).
"first_session.adjust_attribution_time": {
"values": {
"1969251187": 1,
"2147483648": 0
},

More details on Glean: https://debug-ping-preview.firebaseapp.com/pings/qa-delia/bbf8a8c8-8b50-49fc-94b9-c4d327027f29#L334

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: