(In reply to Alessio Placitelli [:Dexter] from comment #8) > It should be working now: I tested it locally and I'm able to trigger that ping. Any chance you could post the command you're using along with the related logcat output? Sure, here's my steps... Download target.arm.apk https://tools.taskcluster.net/index/project.mobile.fenix.signed-nightly.nightly/latest hmmm, maybe I miss-typed something or missed a step??: ``` adb shell am start -n org.mozilla.fenix/mozilla.components.service.glean.debug.GleanDebugActivity --ez logPings true --es sendPing activation --es tagPings rpapa-test-100 ``` logcat: ```2019-05-16 03:31:34.347 794-804/? I/ActivityManager: START u0 {flg=0x10000000 cmp=org.mozilla.fenix/mozilla.components.service.glean.debug.GleanDebugActivity (has extras)} from uid 2000 2019-05-16 03:31:34.395 794-3813/? I/ActivityManager: Start proc 21475:org.mozilla.fenix/u0a203 for activity org.mozilla.fenix/mozilla.components.service.glean.debug.GleanDebugActivity 2019-05-16 03:31:34.593 21475-21493/? I/glean/Glean: Metrics enabled: true 2019-05-16 03:31:34.594 21475-21493/? I/glean/Glean: Registering pings for mozilla.components.service.glean.GleanMetrics.Pings 2019-05-16 03:31:34.666 21475-21475/? I/glean/GleanDebugActivity: Setting debug config Configuration(serverEndpoint=https://incoming.telemetry.mozilla.org, userAgent=Glean/0.52.0 (Android), connectionTimeout=10000, readTimeout=30000, maxEvents=500, logPings=true, httpClient=Lazy value not initialized yet., pingTag=rpapa-test-100, channel=null) 2019-05-16 03:31:34.666 21475-21475/? E/glean/Glean: Attempted to send unknown ping 'activation' 2019-05-16 03:31:35.822 21475-21568/? D/glean/HttpPingUploader: Glean ping to URL: /submit/org-mozilla-fenix/activation/1/cf0789cd-7597-414a-bb06-06948188dcfb { "metrics": { "string": { "activation.identifier": "Jq8m5pOWwyYoIuJkvavb9VGZguQCKgii3MSAW\/7e8ME=" }, "uuid": { "activation.activation_id": "329df234-351b-4677-844c-18e486a3602b" } }, "ping_info": { "ping_type": "activation", "seq": 0, "start_time": "2019-05-16T03:31-07:00", "end_time": "2019-05-16T03:31-07:00" }, "client_info": { "telemetry_sdk_build": "0.52.0", "first_run_date": "2019-05-16-07:00", "os": "Android", "android_sdk_version": "26", "os_version": "8.0.0", "device_manufacturer": "Huawei", "device_model": "Nexus 6P", "architecture": "arm64-v8a", "app_build": "11260615", "app_display_version": "1.0.1919" } } ```
Bug 1551700 Comment 9 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(In reply to Alessio Placitelli [:Dexter] from comment #8) > It should be working now: I tested it locally and I'm able to trigger that ping. Any chance you could post the command you're using along with the related logcat output? Sure, here's my steps... Download target.arm.apk https://tools.taskcluster.net/index/project.mobile.fenix.signed-nightly.nightly/latest hmmm, maybe I miss-typed something or missed a step?? I assume using "activation" as ping type should be OK: https://github.com/mozilla-mobile/fenix/blob/master/app/pings.yaml ADB command: ``` adb shell am start -n org.mozilla.fenix/mozilla.components.service.glean.debug.GleanDebugActivity --ez logPings true --es sendPing activation --es tagPings rpapa-test-100 ``` logcat: ```2019-05-16 03:31:34.347 794-804/? I/ActivityManager: START u0 {flg=0x10000000 cmp=org.mozilla.fenix/mozilla.components.service.glean.debug.GleanDebugActivity (has extras)} from uid 2000 2019-05-16 03:31:34.395 794-3813/? I/ActivityManager: Start proc 21475:org.mozilla.fenix/u0a203 for activity org.mozilla.fenix/mozilla.components.service.glean.debug.GleanDebugActivity 2019-05-16 03:31:34.593 21475-21493/? I/glean/Glean: Metrics enabled: true 2019-05-16 03:31:34.594 21475-21493/? I/glean/Glean: Registering pings for mozilla.components.service.glean.GleanMetrics.Pings 2019-05-16 03:31:34.666 21475-21475/? I/glean/GleanDebugActivity: Setting debug config Configuration(serverEndpoint=https://incoming.telemetry.mozilla.org, userAgent=Glean/0.52.0 (Android), connectionTimeout=10000, readTimeout=30000, maxEvents=500, logPings=true, httpClient=Lazy value not initialized yet., pingTag=rpapa-test-100, channel=null) 2019-05-16 03:31:34.666 21475-21475/? E/glean/Glean: Attempted to send unknown ping 'activation' 2019-05-16 03:31:35.822 21475-21568/? D/glean/HttpPingUploader: Glean ping to URL: /submit/org-mozilla-fenix/activation/1/cf0789cd-7597-414a-bb06-06948188dcfb { "metrics": { "string": { "activation.identifier": "Jq8m5pOWwyYoIuJkvavb9VGZguQCKgii3MSAW\/7e8ME=" }, "uuid": { "activation.activation_id": "329df234-351b-4677-844c-18e486a3602b" } }, "ping_info": { "ping_type": "activation", "seq": 0, "start_time": "2019-05-16T03:31-07:00", "end_time": "2019-05-16T03:31-07:00" }, "client_info": { "telemetry_sdk_build": "0.52.0", "first_run_date": "2019-05-16-07:00", "os": "Android", "android_sdk_version": "26", "os_version": "8.0.0", "device_manufacturer": "Huawei", "device_model": "Nexus 6P", "architecture": "arm64-v8a", "app_build": "11260615", "app_display_version": "1.0.1919" } } ```