Bug 1550457 Comment 7 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 Travis Long from comment #1)

> Something else that I have noticed is I cannot seem to force send the metrics ping.  Maybe it's being blocked by the scheduling restrictions of that ping?  Same thing for activation ping, I cannot get it to send outside of the one time when the application first runs.  
> 
> I'm not really sure if these are outside of the scope of what we were expecting the `GleanDebugActivity` to do.

For baseline and events, I usually do the following:
[1] open app w/ Glean
[2] background app (which sends ping)

If I do the same with "--es sendPing metrics", pings do get sent, but only a baseline and an events ping (not a metrics ping).

However, if do the following:
[1] open app manually
[2] run Glean command:  
```
adb shell am start -n org.mozilla.fenix/mozilla.components.service.glean.debug.GleanDebugActivity --ez logPings true --es sendPing metrics  --es tagPings rpapa-test-081
```
Then, the metrics ping gets sent immediately (without backgrounding the app)
(In reply to Travis Long from comment #1)

> Something else that I have noticed is I cannot seem to force send the metrics ping.  Maybe it's being blocked by the scheduling restrictions of that ping?  Same thing for activation ping, I cannot get it to send outside of the one time when the application first runs.  
> 
> I'm not really sure if these are outside of the scope of what we were expecting the `GleanDebugActivity` to do.

For baseline and events, I usually do the following:
[1] open app w/ Glean
[2] background app (which sends ping)

If I do the same with "--es sendPing metrics", pings do get sent, but only a baseline and an events ping (not a metrics ping). When I close the app, however, a metrics ping also gets sent at that time.

However, if do the following:
[1] open app manually
[2] run Glean command:  
```
adb shell am start -n org.mozilla.fenix/mozilla.components.service.glean.debug.GleanDebugActivity --ez logPings true --es sendPing metrics  --es tagPings rpapa-test-081
```
Then, the metrics ping gets sent immediately (without backgrounding the app)
(In reply to Travis Long from comment #1)

> Something else that I have noticed is I cannot seem to force send the metrics ping.  Maybe it's being blocked by the scheduling restrictions of that ping?  Same thing for activation ping, I cannot get it to send outside of the one time when the application first runs.  
> 
> I'm not really sure if these are outside of the scope of what we were expecting the `GleanDebugActivity` to do.

For baseline and events, I usually do the following:
[1] open app w/ Glean
[2] background app (which sends ping)

If I do the same with "--es sendPing metrics", pings do get sent, but only a baseline and an events ping (not a metrics ping). 
However, if do the following:
[1] open app manually
[2] run Glean command:  
```
adb shell am start -n org.mozilla.fenix/mozilla.components.service.glean.debug.GleanDebugActivity --ez logPings true --es sendPing metrics  --es tagPings rpapa-test-081
```
Then, the metrics ping gets sent immediately (without backgrounding the app)

Back to Bug 1550457 Comment 7