Commit Graph

439 Commits (859655c085d0ff2e6c356f895fd498f455710ad3)

Author SHA1 Message Date
Mugurell fd28889d71 For #25658 - Track the site permissions prompt and user actions
Track when the prompt is shown and when the permissions are allowed/denied.
2 years ago
Roger Yang b48123aa50 Issue #24522: Add telemetry for unified search 2 years ago
Mugurell df66e159ed For #25472 - Set `context_id` to "application" lifetime.
This change mitigates it being set only once in FenixApplication and then
being reset after the first ping is sent.
By having "application" lifetime once set in FenixApplication will be available
in all future contile pings for that application run.
2 years ago
Arturo Mejia c9240e20ed No issue: Renew/Remove metrics set to expire in v104 2 years ago
Alexandru Putanu b9b1124b66
For #25397 - Telemetry for credit card save and update (#25411)
* For #25397 - Telemetry for credit card save and update

* Use Fenix Issue fro Bugs

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
Co-authored-by: Roger Yang <royang@mozilla.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2 years ago
sarah541 538e06d73c No issue: Renew/Remove metrics set to expire in v102
No issue: Renew/Remove metrics set to expire in v102
2 years ago
Elise Richards 8c1d1bdf3f For #19955: Update the telemetry description for opening in progress media tabs from home. 2 years ago
Alexandru2909 bdac21e54d For #24786 - Remove Event.wrapper for SearchTerms telemetry 2 years ago
mcarare 68f71c6f1d For #24761: Remove wrapper from autoplay settings metrics. 2 years ago
mcarare eb82cfef78 For #24206: Remove wrapper from context menu metrics. 2 years ago
mcarare dfe23e8b77 For #24211: Remove wrapper from search related metrics.
Removes wrapper from search labeled counter and performed search event.
2 years ago
Alexandru2909 e558ec279a For #24701 - Remove Event.wrapper for Pocket related telemetry 2 years ago
mcarare b0c5148de9 For #24715: Remove wrapper from addons metrics. 2 years ago
Alexandru2909 fd021b2819 For #24642 - Remove Event.wrapper for TopSites metrics 2 years ago
Alexandru2909 b57219b190 For #24708 - Remove Event.wrapper for DarkThemeSelected telemetry 2 years ago
MatthewTighe 414a54ed02 for #24549: add telemetry for recent synced tab 2 years ago
Alexandru2909 4d0b79192d For #24638 - Remove Event.wrapper for Logins telemetry 2 years ago
Alexandru2909 e571f0bb3a For #24498 - Remove Event.wrapper for History metrics 2 years ago
mcarare 49f352d52d For #24210: Remove wrapper from preference toggled events. 2 years ago
mcarare ac1eeec57a For #24210: Remove wrapper from opened link event. 2 years ago
mcarare 496b42db0a For #24210: Remove wrapper from tab list view setting changed event. 2 years ago
mcarare 3947a613f4 For #24210: Remove wrapper from "browser menu item tapped" event. 2 years ago
mcarare 3931cd5c1e For #24210: Remove wrapper from "url entered" event. 2 years ago
mcarare 51df82acb1 For #24210: Remove wrapper from "search bar tapped" event. 2 years ago
mcarare 4c738cbf10 For #24210: Remove wrapper from "app opened" event. 2 years ago
Alexandru2909 740566992a For #24099 - Remove Event.wrapper for Collections telemetry 2 years ago
Alexandru2909 da723ee2fd For #24209 - Remove Event.wrapper for CustomizeHome telemetry 2 years ago
Alexandru2909 a1243a8e9f For #24450 - Remove Event.wrapper for ErrorPage metrics 2 years ago
Alexandru2909 f924f74434 For #24207 - Remove Event.wrapper for ToolbarSettings telemetry 2 years ago
Roger Yang 26767a79bc No issue: Renew/remove metrics set to expire in v101 2 years ago
Noah Bond ccd8084dd4 For #24467 - Enable Contile setting telemetry 2 years ago
Alexandru2909 df702a2694 For #24204 - Remove Event.wrapper for Search_shortcuts telemetry 2 years ago
Alexandru2909 ffbcaa82de For #24203 - Remove Event.wrapper for Onboarding telemetry 2 years ago
Michael Comella d9169af323 For #24486: change perf telemetry expiration email. 2 years ago
Arturo Mejia bfeceb562d For #24224: Send telemetry events related to the messaging framework 2 years ago
mcarare 74eb9b9c1b For #24148: Remove wrapper from tracking protection metrics. 2 years ago
mcarare 1f18f62a5a For #24098: Remove wrapper from tabs tray metrics. 2 years ago
mcarare 653f149cc2 For #24075: Add PDF download metrics. 2 years ago
Gabriel Luong 56022546f2 For #23893 - Add telemetry for Contile services 2 years ago
mcarare 597cc84a76 For #23399: Add tabs tray multi-select telemetry. 2 years ago
Gabriel Luong b6f066c9ed For #24042- Remove inactive tabs survey 2 years ago
Sarah541 a222ea521d
For #23821 - Add telemtry for RecentlyVisted Homepage (#23909)
Add test

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Ryan VanderMeulen <rvandermeulen@mozilla.com>
2 years ago
Roger Yang a7442c4474 Close #23804: Use version instead of date for telemetry/metrics expiration 2 years ago
Roger Yang ef077c5fb1 No issue: Renew/remove metrics set to expire in April 2022 2 years ago
Roger Yang 7dc969103b No issue: Renew/remove metrics set to expire in March 2022 2 years ago
Roger Yang 20094cd1e9
No issue: Renew/remove metrics set to expire in April 2022 (#23786) 2 years ago
Roger Yang 7d8bad05cd Close #23694: Add telemetry for history search 2 years ago
Noah Bond c0942eadb2 For #23526 - Add telemetry for Contile interactions 2 years ago
Mugurell 0be470a104 For #21009 - New Recently closed tabs telemetry
This adds a new `recently_closed_tabs` category with then events for all user
interactions on the screen.

The already existent `events.recently_closed_tabs_opened` is still kept for a
bit more time to still have this data available while the new telemetry ride
the trains but can later be removed in favor of this newly added events.
2 years ago
Marc-Andre Leclair 2fb8d88381 For #23426:Changed expiring perf probes to never expire
added new data_review url
2 years ago
Elise Richards 6798f6500f
For #22870: Renew/remove metrics set to expire in February (#23453)
* For #22870: Renew/remove metrics set to expire in February

* Add data review and add notification owner for never expire metrics
2 years ago
Matt Tighe d23fb30151 replace WallpaperFeatureDiscovered probe with WallpaperSettingsOpened 2 years ago
Matt Tighe a419a6963c add events based on feedback 2 years ago
Matt Tighe a5f540568e update based on PR feedback and data review 2 years ago
Matt Tighe eed42ee96b closes #23381: add telemetry for wallpapers feature 2 years ago
Roger Yang af5b2c94d3 Close #22956: Define "tags" for metrics in the app repository
Co-authored-by: William Lachance <wlach@protonmail.com>

Define "tags" for metrics in the app repository

Using the new "tags" feature in Glean, we can remove most of the
manual process/pain of defining tags in a seperate Glean annotations
repository (see: https://github.com/mozilla-mobile/fenix/wiki/Add-a-Glean-Annotation-for-an-event)
and just put them beside the metrics themselves. This should make it
much easier to keep this metadata up to date, since it can be added
in the same pull request as the instrumentation itself.

To keep the list of tags up to date with the Fenix issue labels, a new
script `update-glean-tags.py` has been added to the repository. It
should not need to be run often.

This pull request uses a scraped version of the defined tags in the
Glean annotations repository. After it lands, we can remove those and
just use the tagging information here as the main source of information.
2 years ago
Alexandru2909 cf83b3050b For #8108 - Add BrowserToolbar option to remove url from TopSites 2 years ago
Elise Richards 703e8c6558 For #22869: Data review for renewing january metrics 2 years ago
Elise Richards 08087abaf1 For #22869: Renew metrics expiring in January 2 years ago
mcarare cdbe7983f5 For #22879: Filter default engines when sending telemetry.
Filter out custom engines that are not well known search domains.
3 years ago
mcarare 00280d3b65 For #20513: Use UrlMetricType for search engine submission url. 3 years ago
Matt Tighe fee26e62a8 Fixes #22688: remove inactive_tabs_recently_closed probe 3 years ago
rxu 4d9a58c156 Add distribution_id into first session ping 3 years ago
Mugurell 5c3fedd707
For #22534 - Show history highlights and groups in "Recently visited" (#22535)
* For #22534 - Update homescreen section name to "Recently visited"

* For #22534 - Show both history highlights and groups in Recently visited

For now the metadata groups don't support scoring so as an interim solution we
will show up to 9 items, evenly distributes, first favoring groups sorted by
date then history highlights pre-sorted by default.

Tapping a history highlight will switch to it's already open tab if available
or create a new one in which to load it if needed.

A "Remove" option will also be available for history highlights to remove it
from the screen and also from history.
Currently removing a group / highlight will not query new ones to again show up
to 9 items, this will be implemented separately.

* For #22534 - Rename and refactor historymetadata to recentvisits

The updated feature supports more than history metadata so updating the overall
naming scheme seems needed.
To signal that this is a homescreen feature the entire package is moved to home

* For #22534 - Update UI tests to account for the new items space on the screen

Saw failures about not finding the collection section on screen.
This is probably happening because w are now adding the recent visits to
homescreen above the collections section pushing it off screen.

Since the collections might be obstructed by the toolbar shown on top as a
quick solution we'll scroll to the next homescreen section so that the
collections will be shown above in their entirety.

* Update app/src/main/java/org/mozilla/fenix/home/recentvisits/RecentVisitsFeature.kt

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>

* Update app/src/main/java/org/mozilla/fenix/home/recentvisits/RecentVisitsFeature.kt

Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Noah Bond de1c6b0dae
Tab group count telemetry (#22479)
* For #22410 - Refactored tab sorter metrics into a middleware

* For #22410 - Created distribution metric for tab group sizes

* For #22410 - Created tests for tabs tray middleware

* For #22410 - Merge fixes

* For #22410 - Added PR number to metric

* For #22410 - Fixed unit tests post merge. Added waitUntilIdle to new tests.

* For #22410 - Added missing line to middleware to have the Store process actions

* For #22410 - Updated metric expiration to December

* For #22410 - PR Feedback

* For #22410 - Removed else from middleware when
3 years ago
Noah Bond dde916038d
MR2 Telemetry: Homescreen view count (#22377)
* For #22146 - Added counter for home screen views

* For #22146 - Added PR number to metrics

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Mugurell d4a6facd81 For #22155 - Store inactive tabs count telemetry when user opens tabs tray
Setting this value in FenixApplication.onCreate was buggy because of a race
with restoring BrowserState.
Setting it here would ensure a better granularity of the events and so to more
accurate reporting.
3 years ago
Mugurell 17865bdf66 For #22147 - New search term groups telemetry 3 years ago
Noah Bond 811f255b71
MR2 Telemetry: Opening screen preference (#22333)
* For #22145 - Added telemetry to the opening screen preference.

* For #22145 - Added PR number to metric

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Noah Bond 2e5555d034
MR2 telemetry - Inactive tabs CFR (#22301)
* For #22298 - Added telemetry to inactive tabs CFR

* For #22298 - added PR issue number to metrics

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Mugurell 953f6feb17 For #22155 - The inactiveTabsCount probe reports actualInactiveTabs number 3 years ago
Roger Yang 04618983aa Close #22299: Add history search term group telemetry 3 years ago
Elise Richards 6296ed939f
For #21313: Renew product telemetry expiring in December (#21316)
* For #21313: Product telemetry renewals for December

* For #21313: Data review for december product telemetry renewals

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Elise Richards 4f55f16bd7
For #21313: Remove expiring/unused metrics for December (#21789)
* Remove crash reporter metrics

* Remove tab counter menu item probe

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Noah Bond 8caefbe2d5
Recent bookmark count telemetry (#22293)
* For #22075 - Added event to track the count of recent bookmarks

* For #22075 - Added data review issue number

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Noah Bond a06b04ec6d
MR2 Telemetry: Recent tabs section probe (#22166)
* For #22107 - Added probe to track if the Recent tabs / jump back in section is visible

* For #22107 - Fixed lint errors

* For #22107 - added data review number to metric

* For #22166 - fixed expiration date

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Mugurell 207e85e59d For #22155 - Inactive tabs count telemetry
A quantity probe in the metrics ping means we'll loose the granularity events
provided but it will be easier to extract the values.

For reporting whether the inactive tabs feature is enabled or not we already
have the "preferences.inactive_tabs_enabled" probe so I didn't duplicate this.
3 years ago
Roger Yang a46905b5e7 Issue #22057: Add search term groups telemetry 3 years ago
Mugurell 018fe15072 For #22138 - Install source metrics probe 3 years ago
Roger Yang 4e5c9a3440 Close #22172: Add Recent searches telemetry 3 years ago
Roger Yang 9c970a5276 Close #22103: Add recent bookmarks telemetry 3 years ago
Elise Richards 7480e806c7 For #22175: Add data review link 3 years ago
Elise Richards e4cc22fb71 For #22175: Telemetry event for deleting a search term group from the recent searches section on home 3 years ago
Arturo Mejia 940af156eb For #22192 add telemetry for studies 3 years ago
Arturo Mejia a2c7dfb26e For #22170: Add telemetry for the auto-close prompt 3 years ago
Elise Richards 347f82f2f5
For #21313: Renew metrics for December - never expire updates (#21788)
* For #21313: Renew metrics for December - never expire updates

* For #21313: data review

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
codrut.topliceanu bba787e87e For #21732 - Adds inactive tabs survey on disable + telemetry 3 years ago
Michael Droettboom c1780cf332
For #21025: Set long term business-critical metrics as non-expiring (#21038)
* Set long term business-critical metrics as non-expiring.

* Remove quotes around "never"

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Mugurell c4278bfbf6 For #21841 - New telemetry for Google and Baidu top sites removal 3 years ago
Noah Bond 826249497a
MR2 Inactive tabs telemetry (#21908)
* For #21903 - Added telemetry for interacting with inactive tabs

* For #21903 - Added missing inactive tab delete count event to delete all event

* For #21903 - Added PR numbers to metrics

* For #21903 - Updated broken unit tests. Resolved critical lint warning.

* For #21903 - Fixed inactive tabs setting toggle metric

* For #21903 - Updated FenixApp unit test

* For #21903 - Updated newline character in Metrics. Set inactive tab metrics' lifetime to default. Updated expiration to Nov 2022. Refactored inactive tabs metric to be a single metric.

* PR: addendum for last commit that missed a file

* For #21903 - Changed logic check for reporting inactive tab count

* PR: fixed merge conflict

* For #21903 - Removed tab close tracking when the user closes ALL inactive tabs

* For #21903 - Removed individual tab close metric verify from CLOSE ALL test

* For #21903 - Updated inactive tabs toggle setting expiration to match the expiration of the other events

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
3 years ago
Elise Richards 7e12bd3238 For #21313: Renew fission metrics expiring in December 3 years ago
Mugurell 507801e5d5 For #21623 - Pocket recommended stories telemetry 3 years ago
Elise Richards f359557ef4
CI for Fix description for home_screen_displayed metric (#21697)
* Fix description for `home_screen_displayed` metric

The current description appears to be incorrect by my reading of the source.

* Update app/metrics.yaml

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>

Co-authored-by: Will Lachance <wlachance@mozilla.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
3 years ago
Elise Richards e2c9d9abb1
CI for Docs: Add extra context to events.browser_menu_action (#21696)
* Docs only: Add extra context to `events.browser_menu_action`

This came up as a potential point of confusion in a discussion with DS. This is a docs only change.

* Update metrics.yaml

Co-authored-by: Will Lachance <wrlach@gmail.com>
3 years ago
Elise Richards ab13ae09f2
For #21313: renewing performance awesomebar metrics (#21315) 3 years ago
Gabriel Luong 98b218d964 For #21413 - Remove unused OnboardingPrivateBrowsingViewHolder and OnboardingWhatsNewViewHolder 3 years ago
Arturo Mejia 3272de1364 For #21239 add telemetry for Allow users to customize their home screen 3 years ago
Roger Yang 5d22bb4707 Issue #18711: Telemetry for credit card autofill 3 years ago
Elise Richards 13fd0699cb Include data review for renewed metrics 3 years ago
Elise Richards 6cb872cd98 Remove banner open in app telemetry 3 years ago