-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Telemetry] Add Adjust campaignID to metrics ping #1298
Comments
@vesta0 this can wait until after Beta |
We're getting close, but there are problems with our Adjust integration. Will keep working w/ Loren on this. We should keep pushing on this because it's important. Allocating another E2 for this sprint starting 10/28. |
For QA to test this, please take the following steps: Before beginning: Retrieve your Google Advertising ID. You can find this in the "Adjust Insights" app on the google play store. Also, make sure the device you're using has not previously installed Fenix. if it has, ask me to remove your device's information from the adjust dashboard.
|
Hi, @sblatz when trying to launch the app I've noticed this error in the log:
Please be kind and create a debug APK that has Glean enabled. |
Nightly APK can be found here: https://tools.taskcluster.net/index/project.mobile.fenix.v2.nightly/latest |
@sblatz - I've retried with the new debug build you've sent but I've bumped in this startup crash: --------- beginning of crash
2019-11-06 11:47:00.733 15453-15487/org.mozilla.fenix.debug E/AndroidRuntime: FATAL EXCEPTION: Gecko
Process: org.mozilla.fenix.debug, PID: 15453
java.lang.Exception: Error loading gecko libraries
at org.mozilla.gecko.mozglue.GeckoLoader.loadGeckoLibsNative(Native Method)
at org.mozilla.gecko.mozglue.GeckoLoader.loadGeckoLibs(GeckoLoader.java:478)
at org.mozilla.gecko.GeckoThread.loadGeckoLibs(GeckoThread.java:271)
at org.mozilla.gecko.GeckoThread.initGeckoEnvironment(GeckoThread.java:289)
at org.mozilla.gecko.GeckoThread.run(GeckoThread.java:448)
2019-11-06 11:47:00.733 15453-15487/org.mozilla.fenix.debug I/mozac/CrashReporter: Received crash: UncaughtExceptionCrash(throwable=java.lang.Exception: Error loading gecko libraries, breadcrumbs=[])
2019-11-06 11:47:00.735 15453-15487/org.mozilla.fenix.debug I/mozac/CrashReporter: Showing prompt
2019-11-06 11:47:00.743 1177-4689/? I/ActivityManager: START u0 {flg=0x10018000 cmp=org.mozilla.fenix.debug/mozilla.components.lib.crash.prompt.CrashReporterActivity (has extras)} from uid 10177
2019-11-06 11:47:00.748 768-768/? D/android.hardware.power@1.3-service.bonito-libperfmgr: LAUNCH ON
2019-11-06 11:47:00.759 15453-15487/org.mozilla.fenix.debug I/Process: Sending signal. PID: 15453 SIG: 9
2019-11-06 11:47:00.763 1177-1198/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
2019-11-06 11:47:00.763 1177-1198/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2019-11-06 11:47:00.775 691-691/? I/Zygote: Process 15453 exited due to signal (9)
2019-11-06 11:47:00.775 1177-3950/? I/ActivityManager: Process org.mozilla.fenix.debug (pid 15453) has died: fore TOP
2019-11-06 11:47:00.775 1177-1201/? W/libprocessgroup: kill(-15453, 9) failed: No such process
2019-11-06 11:47:00.775 1177-1201/? I/libprocessgroup: Successfully killed process cgroup uid 10177 pid 15453 in 0ms
2019-11-06 11:47:00.779 571-608/? W/SurfaceFlinger: Attempting to set client state on removed layer: Splash Screen org.mozilla.fenix.debug#0
2019-11-06 11:47:00.779 571-608/? W/SurfaceFlinger: Attempting to destroy on removed layer: Splash Screen org.mozilla.fenix.debug#0
2019-11-06 11:47:00.780 1177-1320/? W/WindowManager: Failed looking up window callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5512 com.android.server.wm.WindowManagerService.removeWindow:1641 com.android.server.wm.Session.remove:226
2019-11-06 11:47:00.797 1177-1197/? I/ActivityManager: Displayed org.mozilla.fenix.debug/mozilla.components.lib.crash.prompt.CrashReporterActivity: +1s384ms
2019-11-06 11:47:00.802 1177-1200/? I/ActivityManager: Start proc 15499:org.mozilla.fenix.debug:mozilla.components.lib.crash.CrashReporter/u0a177 for activity org.mozilla.fenix.debug/mozilla.components.lib.crash.prompt.CrashReporterActivity
` |
Hi @sblatz good news! The last debug build you've sent works! 😃 On the other hand, I've generated two metrics pings and it looks like the "metrics.adjust_campaign": doesn't get populated, in my case with 06c7a972-acf2-480a-8a9f-c865d1cfa1e9 (Google advertising ID from the Adjust Insights app) I'll remove the QA needed label until further notice. From the Logcat : 2019-11-08 04:00:00.189 8956-9132/org.mozilla.fenix.debug D/glean/PingUploadWorker: Processing persisted pings at /data/user/0/org.mozilla.fenix.debug/glean_data/pending_pings
2019-11-08 04:00:00.190 8956-9132/org.mozilla.fenix.debug D/glean/PingUploadWorker: Processing ping: 796ea639-8f2d-4e9e-bae5-7ba4145b1df0
2019-11-08 04:00:00.198 8956-9132/org.mozilla.fenix.debug D/glean/BaseUploader: Glean ping to URL: /submit/org-mozilla-fenix-debug/metrics/1/796ea639-8f2d-4e9e-bae5-7ba4145b1df0
{
"client_info": {
"android_sdk_version": "28",
"app_build": "1",
"app_channel": "release",
"app_display_version": "1.0.1945",
"architecture": "arm64-v8a",
"client_id": "7cfa1d49-4270-4432-8376-433e14dbcb30",
"device_manufacturer": "Google",
"device_model": "Pixel 3a XL",
"first_run_date": "2019-11-07+02:00",
"os": "Android",
"os_version": "9",
"telemetry_sdk_build": "19.1.0"
},
"metrics": {
"boolean": {
"metrics.default_browser": false
},
"string": {
"metrics.adjust_campaign": "",
"metrics.total_uri_count": "0"
},
"string_list": {
"metrics.mozilla_products": [
"org.mozilla.firefox"
]
}
},
"ping_info": {
"end_time": "2019-11-08T04:00+02:00",
"ping_type": "metrics",
"seq": 1,
"start_time": "2019-11-07T14:39+02:00"
}
}
2019-11-08 04:00:00.209 8956-9132/org.mozilla.fenix.debug D/glean/ConceptFetchHttpUploader: Submitting ping to: https://incoming.telemetry.mozilla.org/submit/org-mozilla-fenix-debug/metrics/1/796ea639-8f2d-4e9e-bae5-7ba4145b1df0
2019-11-08 04:00:01.250 8956-9132/org.mozilla.fenix.debug D/glean/ConceptFetchHttpUploader: Ping successfully sent (200)
___________________________________________________________________________________________________________
2019-11-09 04:00:00.157 9247-9418/org.mozilla.fenix.debug D/glean/PingUploadWorker: Processing persisted pings at /data/user/0/org.mozilla.fenix.debug/glean_data/pending_pings
2019-11-09 04:00:00.158 9247-9418/org.mozilla.fenix.debug D/glean/PingUploadWorker: Processing ping: 454575a7-f266-4289-9b3e-99fa8fddcfb0
2019-11-09 04:00:00.165 9247-9418/org.mozilla.fenix.debug D/glean/BaseUploader: Glean ping to URL: /submit/org-mozilla-fenix-debug/metrics/1/454575a7-f266-4289-9b3e-99fa8fddcfb0
{
"client_info": {
"android_sdk_version": "28",
"app_build": "1",
"app_channel": "release",
"app_display_version": "1.0.1945",
"architecture": "arm64-v8a",
"client_id": "7cfa1d49-4270-4432-8376-433e14dbcb30",
"device_manufacturer": "Google",
"device_model": "Pixel 3a XL",
"first_run_date": "2019-11-07+02:00",
"os": "Android",
"os_version": "9",
"telemetry_sdk_build": "19.1.0"
},
"metrics": {
"boolean": {
"metrics.default_browser": false
},
"string": {
"metrics.adjust_campaign": "",
"metrics.total_uri_count": "0"
},
"string_list": {
"metrics.mozilla_products": [
"org.mozilla.firefox"
]
}
},
"ping_info": {
"end_time": "2019-11-09T04:00+02:00",
"ping_type": "metrics",
"seq": 2,
"start_time": "2019-11-08T04:00+02:00"
}
}
2019-11-09 04:00:00.170 9247-9418/org.mozilla.fenix.debug D/glean/ConceptFetchHttpUploader: Submitting ping to: https://incoming.telemetry.mozilla.org/submit/org-mozilla-fenix-debug/metrics/1/454575a7-f266-4289-9b3e-99fa8fddcfb0
2019-11-09 04:00:00.384 9247-9418/org.mozilla.fenix.debug D/glean/ConceptFetchHttpUploader: Ping successfully sent (200)
` |
Hi, verified as fixed on the latest debug build sent by Sawyer. "string": {
"metrics.adjust_campaign": "social",
"metrics.total_uri_count": "0"
},
@sblatz - Great job! 😄 |
It was identified that some basic / core pings are not included "for free" in the new Glean SDK baseline ping. This ticket is about including the additional pings product wants to track
Description & Product Manager
What questions will you answer with this data?
Why does Mozilla need to answer these questions? Are there benefits for users? Do we need this information to address product or business requirements?
What probes (suggested, if applicable)
Dependencies (Added by PM and Eng)
Acceptance Criteria (Added by PM)
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: