Confirmed users
487
edits
Rpappalardo (talk | contribs) (fix CLI error) |
Rpappalardo (talk | contribs) (fix error) |
||
| Line 225: | Line 225: | ||
''logPings'' | ''logPings'' | ||
# To dump Glean logs to logcat | # To dump Glean logs to logcat | ||
#* <code>adb shell -n ...GleanDebugActivity --ez logPings true</code> | #* <code>adb shell am start -n ...GleanDebugActivity --ez logPings true</code> | ||
''sendPing'' | ''sendPing'' | ||
# To force sending a ping immediately use: | # To force sending a ping immediately use: | ||
#* <code>adb shell -n ...GleanDebugActivity --es sendPing metrics </code> | #* <code>adb shell am start -n ...GleanDebugActivity --es sendPing metrics </code> | ||
#* (or instead of metrics other ping names) | #* (or instead of metrics other ping names) | ||
# Look at Glean frontend to verify data is landing | # Look at Glean frontend to verify data is landing | ||
| Line 235: | Line 235: | ||
''tagPings'' | ''tagPings'' | ||
# To tag a ping with a user label for easy query in [https://debug-ping-preview.firebaseapp.com/ Glean Debug dashboard] | # To tag a ping with a user label for easy query in [https://debug-ping-preview.firebaseapp.com/ Glean Debug dashboard] | ||
#* <code>adb shell -n ...GleanDebugActivity --es tagPings rpapa-test1</code>, then spot <code>rpapa-test1</code> in the frontend to identify your pings. | #* <code>adb shell am start -n ...GleanDebugActivity --es tagPings rpapa-test1</code>, then spot <code>rpapa-test1</code> in the frontend to identify your pings. | ||
== Examples == | == Examples == | ||