Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

[Telemetry] Add uri_count to ping #1301

Closed
bbinto opened this issue Apr 1, 2019 · 10 comments
Closed

[Telemetry] Add uri_count to ping #1301

bbinto opened this issue Apr 1, 2019 · 10 comments
Assignees
Labels
Milestone

Comments

@bbinto
Copy link
Contributor

bbinto commented Apr 1, 2019

Similar to Focus: https://github.com/mozilla-mobile/focus-android/blob/master/docs/Telemetry.md#uri-count

What questions will you answer with this data?

  • As a product manager, I want to know how many websites URIs are being visited per session

Why does Mozilla need to answer these questions? Are there benefits for users? Do we need this information to address product or business requirements?

  • The amount of URI count is a good indicator for us to know how useful and sticky the app is

What probes (suggested, if applicable)

Dependencies (Added by PM and Eng)

  • Needs a ping which resets per session

Acceptance Criteria (Added by PM)

  • Baseline pings can be queried via re:dash
  • We are sending telemetry events for the actions listed in the requirements
  • We have documented the telemetry
  • We have asked a data steward to review the telemetry
  • NOT an AC: Data science to create dashboard or further graphs (this will be a separate issue, this issue is only about hooking up the events described and that they can be queried in re-dash)

┆Issue is synchronized with this Jira Task

@boek
Copy link
Contributor

boek commented Apr 18, 2019

This can be done pretty easily with the counter metric type

@colintheshots colintheshots self-assigned this Apr 18, 2019
colintheshots added a commit to colintheshots/fenix that referenced this issue Apr 18, 2019
colintheshots added a commit to colintheshots/fenix that referenced this issue Apr 18, 2019
@colintheshots colintheshots changed the title [Telemetry] Add uri_count to baseline ping [Telemetry] Add uri_count to ping Apr 25, 2019
colintheshots added a commit to colintheshots/fenix that referenced this issue Apr 25, 2019
colintheshots added a commit to colintheshots/fenix that referenced this issue Apr 26, 2019
colintheshots added a commit that referenced this issue Apr 26, 2019
For #1301: Add uri_count to metrics ping
@colintheshots colintheshots added the eng:qa:needed QA Needed label Apr 26, 2019
@vesta0 vesta0 removed the beta label Apr 30, 2019
@bsurd
Copy link

bsurd commented May 17, 2019

The total_uri_count is not displayed in the events when sending telemetry. Looked in both baseline and events JSON files and the data wasn't available anywhere.

Started the app with glean via cmd and I've tried a scenario where I visited multiple different pages in different tabs, one where I visited multiple pages in the same tab and one where I navigated from one link to another in the same tab.

Please let me know if I've missed anything.

@bsurd bsurd removed the eng:qa:needed QA Needed label May 17, 2019
@bifleming bifleming added the Release Blocker Blocks a Release label May 17, 2019
@vesta0
Copy link
Collaborator

vesta0 commented Jun 10, 2019

@colintheshots I re-added the QA needed label based on your comment.

@AndiAJ
Copy link
Collaborator

AndiAJ commented Jun 11, 2019

Hi all, the uri_count total_uri_count is now sent with the baseline ping, it works.

Please find attached and review the following:

•1 search performed: Logcat: UriCount3.txt
Glean Dashboard:https://debug-ping-preview.firebaseapp.com/pings/2311bde3-47fc-4272-9a8b-b1cce4e7eaf5/aj-uritest-04

•4 searches performed: Logcat: UriCount1.txt
Glean Dashboard: Glean Dashboard:https://debug-ping-preview.firebaseapp.com/pings/2311bde3-47fc-4272-9a8b-b1cce4e7eaf5/aj-uritest-00

•8 searches performed: Logcat: UriCount2.txt
Glean Dashboard: (second baseline) https://debug-ping-preview.firebaseapp.com/pings/2311bde3-47fc-4272-9a8b-b1cce4e7eaf5/aj-uritest-03

Before closing this ticket, in order to have a better understanding regarding thesearch_count VS uri_count I would like to ask, why the uri_count is always higher than the search_count ? what is the difference between the two?
Please review the above attached logs and confirm if from your point of view the uri_count works properly.

Until then, based on this comment I'll remove the QA needed label.

@sblatz
Copy link
Contributor

sblatz commented Jun 25, 2019

@colintheshots or @boek are you able to explain this behavior?

@boek
Copy link
Contributor

boek commented Jun 26, 2019

Looks like there is a bug that is causing UriOpened to get called an extra time in a session. I filed a follow up bug #3676 and we can track/fix it there.

@boek boek closed this as completed Jun 26, 2019
@boek boek added the eng:qa:needed QA Needed label Jun 26, 2019
@boek
Copy link
Contributor

boek commented Jun 26, 2019

@WhoIsAndi is that good enough to close this issue?

@boek boek reopened this Jun 26, 2019
@AndiAJ
Copy link
Collaborator

AndiAJ commented Jun 26, 2019

@boek sure thing ! I'll go ahead and close this issue.

@abodea abodea closed this as completed Jun 26, 2019
@data-sync-user data-sync-user changed the title [Telemetry] Add uri_count to ping FNX2-17001 ⁃ [Telemetry] Add uri_count to ping Aug 3, 2020
@data-sync-user data-sync-user changed the title FNX2-17001 ⁃ [Telemetry] Add uri_count to ping FNX3-15465 ⁃ [Telemetry] Add uri_count to ping Aug 11, 2020
@data-sync-user data-sync-user changed the title FNX3-15465 ⁃ [Telemetry] Add uri_count to ping FNX-4940 ⁃ [Telemetry] Add uri_count to ping Aug 11, 2020
@data-sync-user data-sync-user changed the title FNX-4940 ⁃ [Telemetry] Add uri_count to ping FNX2-17001 ⁃ [Telemetry] Add uri_count to ping Aug 11, 2020
@data-sync-user data-sync-user changed the title FNX2-17001 ⁃ [Telemetry] Add uri_count to ping [Telemetry] Add uri_count to ping May 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

10 participants