2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00
Commit Graph

435 Commits

Author SHA1 Message Date
Matt Tighe
c599f29c47 [fenix] closes https://github.com/mozilla-mobile/fenix/issues/23381: add telemetry for wallpapers feature 2022-01-26 23:50:56 +00:00
Roger Yang
e33f407e9c [fenix] Close https://github.com/mozilla-mobile/fenix/issues/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.
2022-01-18 23:31:11 +00:00
Alexandru2909
68be05d051 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8108 - Add BrowserToolbar option to remove url from TopSites 2022-01-14 07:37:19 +00:00
Elise Richards
158dfd8154 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22869: Data review for renewing january metrics 2022-01-10 17:05:49 +00:00
Elise Richards
798e455d78 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22869: Renew metrics expiring in January 2022-01-10 17:05:49 +00:00
mcarare
1facaaf775 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22879: Filter default engines when sending telemetry.
Filter out custom engines that are not well known search domains.
2022-01-04 10:29:16 +00:00
mcarare
4e6406e15e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20513: Use UrlMetricType for search engine submission url. 2021-12-21 11:25:00 +00:00
Matt Tighe
4b6a1d2256 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/22688: remove inactive_tabs_recently_closed probe 2021-12-10 23:20:26 +00:00
rxu
892989f0dd [fenix] Add distribution_id into first session ping 2021-12-01 03:05:57 +00:00
Mugurell
f70dfb6ef9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22534 - Show history highlights and groups in "Recently visited" (https://github.com/mozilla-mobile/fenix/pull/22535)
* For https://github.com/mozilla-mobile/fenix/issues/22534 - Update homescreen section name to "Recently visited"

* For https://github.com/mozilla-mobile/fenix/issues/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 https://github.com/mozilla-mobile/fenix/issues/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 https://github.com/mozilla-mobile/fenix/issues/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>
2021-11-29 20:12:52 +00:00
Noah Bond
97e59a9717 [fenix] Tab group count telemetry (https://github.com/mozilla-mobile/fenix/pull/22479)
* For https://github.com/mozilla-mobile/fenix/issues/22410 - Refactored tab sorter metrics into a middleware

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Created distribution metric for tab group sizes

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Created tests for tabs tray middleware

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Merge fixes

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Added PR number to metric

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Fixed unit tests post merge. Added waitUntilIdle to new tests.

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Added missing line to middleware to have the Store process actions

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Updated metric expiration to December

* For https://github.com/mozilla-mobile/fenix/issues/22410 - PR Feedback

* For https://github.com/mozilla-mobile/fenix/issues/22410 - Removed else from middleware when
2021-11-29 18:16:57 +00:00
Noah Bond
bfc035e0c2 [fenix] MR2 Telemetry: Homescreen view count (https://github.com/mozilla-mobile/fenix/pull/22377)
* For https://github.com/mozilla-mobile/fenix/issues/22146 - Added counter for home screen views

* For https://github.com/mozilla-mobile/fenix/issues/22146 - Added PR number to metrics

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-16 22:30:48 +00:00
Mugurell
ba3138ccf9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/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.
2021-11-16 21:04:16 +00:00
Mugurell
31f98688a0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22147 - New search term groups telemetry 2021-11-16 16:40:07 +00:00
Noah Bond
1d02011196 [fenix] MR2 Telemetry: Opening screen preference (https://github.com/mozilla-mobile/fenix/pull/22333)
* For https://github.com/mozilla-mobile/fenix/issues/22145 - Added telemetry to the opening screen preference.

* For https://github.com/mozilla-mobile/fenix/issues/22145 - Added PR number to metric

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-10 20:13:40 +00:00
Noah Bond
114f1347d9 [fenix] MR2 telemetry - Inactive tabs CFR (https://github.com/mozilla-mobile/fenix/pull/22301)
* For https://github.com/mozilla-mobile/fenix/issues/22298 - Added telemetry to inactive tabs CFR

* For https://github.com/mozilla-mobile/fenix/issues/22298 - added PR issue number to metrics

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-10 19:47:21 +00:00
Mugurell
b95234f9d5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22155 - The inactiveTabsCount probe reports actualInactiveTabs number 2021-11-08 12:32:39 +00:00
Roger Yang
ad076dd1c2 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/22299: Add history search term group telemetry 2021-11-04 22:08:56 +00:00
Elise Richards
3424aac1a6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21313: Renew product telemetry expiring in December (https://github.com/mozilla-mobile/fenix/pull/21316)
* For https://github.com/mozilla-mobile/fenix/issues/21313: Product telemetry renewals for December

* For https://github.com/mozilla-mobile/fenix/issues/21313: Data review for december product telemetry renewals

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-04 04:28:52 +00:00
Elise Richards
6ed1cb0c8b [fenix] For https://github.com/mozilla-mobile/fenix/issues/21313: Remove expiring/unused metrics for December (https://github.com/mozilla-mobile/fenix/pull/21789)
* Remove crash reporter metrics

* Remove tab counter menu item probe

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-04 03:54:18 +00:00
Noah Bond
cbfc23f8cc [fenix] Recent bookmark count telemetry (https://github.com/mozilla-mobile/fenix/pull/22293)
* For https://github.com/mozilla-mobile/fenix/issues/22075 - Added event to track the count of recent bookmarks

* For https://github.com/mozilla-mobile/fenix/issues/22075 - Added data review issue number

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-04 00:14:21 +00:00
Noah Bond
5e2853ea47 [fenix] MR2 Telemetry: Recent tabs section probe (https://github.com/mozilla-mobile/fenix/pull/22166)
* For https://github.com/mozilla-mobile/fenix/issues/22107 - Added probe to track if the Recent tabs / jump back in section is visible

* For https://github.com/mozilla-mobile/fenix/issues/22107 - Fixed lint errors

* For https://github.com/mozilla-mobile/fenix/issues/22107 - added data review number to metric

* For https://github.com/mozilla-mobile/fenix/pull/22166 - fixed expiration date

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-02 23:08:30 +00:00
Mugurell
3342f4a54a [fenix] For https://github.com/mozilla-mobile/fenix/issues/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.
2021-11-02 16:32:00 +00:00
Roger Yang
ba7d325bb4 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/22057: Add search term groups telemetry 2021-11-02 15:46:29 +00:00
Mugurell
d116c95205 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22138 - Install source metrics probe 2021-11-02 09:12:34 +00:00
Roger Yang
c0fde2bebb [fenix] Close https://github.com/mozilla-mobile/fenix/issues/22172: Add Recent searches telemetry 2021-11-02 04:17:10 +00:00
Roger Yang
46f9f1ae2c [fenix] Close https://github.com/mozilla-mobile/fenix/issues/22103: Add recent bookmarks telemetry 2021-11-02 01:35:36 +00:00
Elise Richards
55bf6f2839 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22175: Add data review link 2021-11-01 21:24:00 +00:00
Elise Richards
015be02422 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22175: Telemetry event for deleting a search term group from the recent searches section on home 2021-11-01 20:40:05 +00:00
Arturo Mejia
d201f02bfb [fenix] For https://github.com/mozilla-mobile/fenix/issues/22192 add telemetry for studies 2021-11-01 14:08:52 +00:00
Arturo Mejia
ecb13fa173 [fenix] For https://github.com/mozilla-mobile/fenix/issues/22170: Add telemetry for the auto-close prompt 2021-10-27 13:17:35 +00:00
Elise Richards
1de688e7d7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21313: Renew metrics for December - never expire updates (https://github.com/mozilla-mobile/fenix/pull/21788)
* For https://github.com/mozilla-mobile/fenix/issues/21313: Renew metrics for December - never expire updates

* For https://github.com/mozilla-mobile/fenix/issues/21313: data review

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-10-26 22:00:06 +00:00
codrut.topliceanu
4b726e786b [fenix] For https://github.com/mozilla-mobile/fenix/issues/21732 - Adds inactive tabs survey on disable + telemetry 2021-10-26 17:50:22 +00:00
Michael Droettboom
7d5bac64d4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21025: Set long term business-critical metrics as non-expiring (https://github.com/mozilla-mobile/fenix/pull/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>
2021-10-25 23:53:02 +00:00
Mugurell
18127e2f5d [fenix] For https://github.com/mozilla-mobile/fenix/issues/21841 - New telemetry for Google and Baidu top sites removal 2021-10-21 22:10:26 +00:00
Noah Bond
1c21e2face [fenix] MR2 Inactive tabs telemetry (https://github.com/mozilla-mobile/fenix/pull/21908)
* For https://github.com/mozilla-mobile/fenix/issues/21903 - Added telemetry for interacting with inactive tabs

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Added missing inactive tab delete count event to delete all event

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Added PR numbers to metrics

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Updated broken unit tests. Resolved critical lint warning.

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Fixed inactive tabs setting toggle metric

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Updated FenixApp unit test

* For https://github.com/mozilla-mobile/fenix/issues/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 https://github.com/mozilla-mobile/fenix/issues/21903 - Changed logic check for reporting inactive tab count

* PR: fixed merge conflict

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Removed tab close tracking when the user closes ALL inactive tabs

* For https://github.com/mozilla-mobile/fenix/issues/21903 - Removed individual tab close metric verify from CLOSE ALL test

* For https://github.com/mozilla-mobile/fenix/issues/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>
2021-10-20 22:30:59 +00:00
Elise Richards
86029b181c [fenix] For https://github.com/mozilla-mobile/fenix/issues/21313: Renew fission metrics expiring in December 2021-10-09 03:42:00 +00:00
Mugurell
e6a73b5118 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21623 - Pocket recommended stories telemetry 2021-10-07 08:36:00 +00:00
Elise Richards
3db298543e [fenix] CI for Fix description for home_screen_displayed metric (https://github.com/mozilla-mobile/fenix/pull/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>
2021-10-04 13:59:02 -07:00
Elise Richards
3631014159 [fenix] CI for Docs: Add extra context to events.browser_menu_action (https://github.com/mozilla-mobile/fenix/pull/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>
2021-10-04 20:10:49 +00:00
Elise Richards
32d6ee0dd3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21313: renewing performance awesomebar metrics (https://github.com/mozilla-mobile/fenix/pull/21315) 2021-09-27 15:40:21 -07:00
Gabriel Luong
450055a729 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21413 - Remove unused OnboardingPrivateBrowsingViewHolder and OnboardingWhatsNewViewHolder 2021-09-22 14:20:16 +00:00
Arturo Mejia
c3df9a26d2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21239 add telemetry for Allow users to customize their home screen 2021-09-21 15:55:03 -04:00
Roger Yang
e7c3145fec [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/18711: Telemetry for credit card autofill 2021-09-07 19:16:04 +00:00
Elise Richards
061e5bf6af [fenix] Include data review for renewed metrics 2021-08-31 18:28:05 +00:00
Elise Richards
2d433166a8 [fenix] Remove banner open in app telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
edd26c3363 [fenix] Remove search suggestions in private telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
4d2c0b9caf [fenix] Remove user specified search engine telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
17ad77ea02 [fenix] Remove private browsing shortcut telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
49c3b46145 [fenix] Fix data-review listed for default_browser_changed, toolbar_menu_visible, and toolbar_menu_clicked 2021-08-31 18:28:05 +00:00
Elise Richards
5abec1fb15 [fenix] Remove private browsing mode telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
1e05446283 [fenix] Remove tip telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
83416415b8 [fenix] Remove enable private search suggestions telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
49e6325de4 [fenix] Remove open links in private tab telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
61d95c4967 [fenix] Remove find in page telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
9c5bb84cb1 [fenix] Remove total uri count telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
dd398def06 [fenix] Remove about page telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
09132f35ac [fenix] Remove downloads management telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
9a432d9f64 [fenix] Remove downloads misc telemetry. 2021-08-31 18:28:05 +00:00
Elise Richards
dbf3897680 [fenix] Remove download notification telemetry. 2021-08-31 18:28:05 +00:00
Elise Richards
cf2d620e0e [fenix] Remove master password telemetry. 2021-08-31 18:28:05 +00:00
Elise Richards
feb4af320b [fenix] Renew probes set to expire in September 2021-08-31 18:28:05 +00:00
Elise Richards
cc642da2e8 [fenix] Renew probes set to expire in October 2021-08-31 18:28:05 +00:00
Elise Richards
19c10c3779 [fenix] Update search metric expiration dates (https://github.com/mozilla-mobile/fenix/pull/21016) 2021-08-25 14:43:17 -04:00
Elise Richards
d105e8bc19 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19931: Add telemetry probes for recent bookmarks on home screen (https://github.com/mozilla-mobile/fenix/pull/20316)
* Add telemetry probes for recent bookmarks on home screen. Tests for controller.

* Make the events into counters in the metrics ping

Update tests to reflect new metrics

Add data review link for new metrics

Mock new settings for startup metrics tests

Update metrics

Add test for recent bookmark glean events

* Recent bookmarks controller tests
2021-08-24 12:30:13 -07:00
Mugurell
7b7a252ecf [fenix] For https://github.com/mozilla-mobile/fenix/issues/20507 - Inactive tabs telemetry
Two new events are added:
- "inactive_tabs_expanded" for when the inactive tabs section is expanded
- "inactive_tabs_collapsed" for when the inactive tabs section is collapsed

For tracking when an inactive tab is opened / closed I've repurposed the
existing tabs tray telemetry (since the functionality uses the same code)
- tabs_tray.opened_existing_tab
- tabs_tray.closed_existing_tab
to support an extra "source" key indicating the feature from which a tab was
opened or closed. The current values for this new key are:
- "Tabs tray" for when a tab was opened/closed from tabs tray
- "Inactive tabs" for when a tab was openes/closed from the Inactive tabs
section of the tabs tray.
2021-08-24 12:10:58 +00:00
codrut.topliceanu
ecae7a61be [fenix] For https://github.com/mozilla-mobile/fenix/issues/20328 - Adds telemetry for recentlyClosed button
...from tabsTray, inactiveTabs section.
2021-08-24 09:52:33 +00:00
Rohan Maity
7ffaefd3fd [fenix] For https://github.com/mozilla-mobile/fenix/issues/20596 remove startup timeline probes 2021-08-22 00:57:10 +00:00
rxu
36aed742b3 [fenix] Add event ping telemetry for the Baidu top site click 2021-08-20 03:46:20 +00:00
Sebastian Kaspari
b9d7552339 [fenix] metrics.yaml: Add data review URL for Android Autofill metrics 2021-08-19 15:13:37 +00:00
Gabriel Luong
c9575d0d62 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Remove tracking protection overlay CFR 2021-08-16 16:42:39 -04:00
Rohan Maity
620d034134 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20596 remove perf.startup probes 2021-08-11 22:31:52 +00:00
Elise Richards
3bfd5d1827 [fenix] Correct search_count telemetry after revert 2021-08-06 21:26:43 +00:00
Jonathan Almeida
3c66fa4833 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/19956: Add telemetry for tab view setting changes
This differs from `tab_view_setting` which tells us what the user's tab
setting is at startup. It does not tell us if the user explicitly
changed it instead of just using the default (which was recently
changed in https://github.com/mozilla-mobile/fenix/issues/19809).
2021-08-06 19:33:54 +00:00
Roger Yang
333840f02e [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/18711: Telemetry for credit card autofill (https://github.com/mozilla-mobile/fenix/pull/19548)"
This reverts commit 5d65ba087e6b30a2a34b73b34e15b03bfecace0d.
2021-08-05 18:53:46 +00:00
Roger Yang
cffad4f424 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/18711 - Refactor credit card telemetry under the Metrics ping (https://github.com/mozilla-mobile/fenix/pull/19733)"
This reverts commit f6dd0834df4e2a15de684292a8422279487c5a23.
2021-08-05 18:53:46 +00:00
Michael Comella
68bef957b5 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/20461: remove app_received_intent probe. 2021-08-03 18:19:12 +00:00
Michael Comella
e0e46cda2d [fenix] For https://github.com/mozilla-mobile/fenix/issues/20518: disable metrics we don't want to renew. 2021-08-02 19:12:25 +00:00
Michael Comella
f3f4526124 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20518: link to data renewal request. 2021-08-02 19:12:25 +00:00
Michael Comella
d23a7639ae [fenix] For https://github.com/mozilla-mobile/fenix/issues/20518: renew perf telemetry probes (August expiry).
I used eliserichards' PR https://github.com/mozilla-mobile/fenix/pull/20519 to
renew more easily.
2021-08-02 19:12:25 +00:00
Elise Richards
1bad9ad91c [fenix] No issue: fix glean metrics tests for expired metrics (https://github.com/mozilla-mobile/fenix/pull/20621)
* Remove references to preferences.open_links_in_private and preferences.private_search_suggestions in tests. These metrics have been expired and may be removed.

* Add ignores for performance metrics that have expired.

* Remove tabs_tray.cfr.dismiss and tabs_tray.cfr.go_to_settings telemetry probes.

* Remove metrics controller from signature and remove in tests
2021-08-02 18:14:17 +00:00
Sebastian Kaspari
bc41dd0b52 [fenix] Add telemetry for Android Autofill feature. 2021-07-30 09:37:43 +00:00
Elise Richards
2fdd3cc5e0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20516: Renew product telemetry probes expiring in August (https://github.com/mozilla-mobile/fenix/pull/20517)
* Renew product telemetry probes expiring in august 2021

* Add placeholder for data reviews

* Allow unneeded metrics to expire in August. To be re-evaluated later.

* Add link to data review

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-07-29 19:14:31 +00:00
mcarare
cc18008cbe [fenix] For https://github.com/mozilla-mobile/fenix/issues/19955 https://github.com/mozilla-mobile/fenix/issues/20393: Add telemetry for home screen recent tabs. 2021-07-29 15:46:02 +00:00
Roger Yang
9df7c99ed2 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/19847: Add telemetry for the default browser notification 2021-07-15 19:35:45 +00:00
Mugurell
1c733e918e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20229 - Use the AC common implementation for ads/search telemetry
Everything should work exactly as before.
2021-07-14 17:55:24 +03:00
Michael Comella
154defa3b7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20127: remove app_opened_all_startup from metrics.yaml. 2021-07-12 21:53:54 +00:00
Elise Richards
62ee6d6b34 [fenix] Update glean notification emails to new email group (https://github.com/mozilla-mobile/fenix/pull/20070) 2021-06-17 14:48:34 -05:00
Arturo Mejia
5ad8dd91e0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19881 add telemetry for start on Home. 2021-06-17 13:09:28 -04:00
Elise Richards
c2926b84c1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19923: renew telemetry probes (https://github.com/mozilla-mobile/fenix/pull/19924) 2021-06-15 18:08:01 -05:00
mcarare
3f213a1f9c [fenix] For https://github.com/mozilla-mobile/fenix/issues/19915: Add telemetry for the toolbar Home screen button. 2021-06-14 19:23:24 +03:00
Gabriel Luong
5ab6b35346 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18711 - Refactor credit card telemetry under the Metrics ping (https://github.com/mozilla-mobile/fenix/pull/19733) 2021-05-31 17:35:47 -04:00
Elise Richards
0bedcba4e5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18711: Telemetry for credit card autofill (https://github.com/mozilla-mobile/fenix/pull/19548) 2021-05-27 23:54:11 -05:00
Tim D. Smith
43956c9687 [fenix] Fix case of item extras in browser_menu_action event (https://github.com/mozilla-mobile/fenix/pull/19487)
* Fix case of item extras in browser_menu_action event

Update the event description to match the values observed in telemetry.

* Line length
2021-05-19 11:12:27 -05:00
Roger Yang
2d709b67a7 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/19147: Move startup metrics to right after Glean initialization (https://github.com/mozilla-mobile/fenix/pull/19252) 2021-05-05 11:11:02 -04:00
William Lachance
283bae5ff1 [fenix] No issue - Properly quote description for ad metric (https://github.com/mozilla-mobile/fenix/pull/19243)
This is pedantic, but strictly something called <provider-name> is considered an HTML tag
unless it's in a code block (backticks). 

See mozilla/glean-dictionaryhttps://github.com/mozilla-mobile/fenix/pull/549 and mozilla/glean-dictionaryhttps://github.com/mozilla-mobile/fenix/pull/497. I'm going to fix this upstream
but figured I might as well file a PR here to fix the underlying issue.
2021-04-26 19:24:23 -04:00
mcarare
6774f41d26 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18852: Add metrics for default browser settings experiment. 2021-04-20 14:48:07 -04:00
Michael Comella
c7f94915cc [fenix] For https://github.com/mozilla-mobile/fenix/issues/18836: add metric perf.startup.startup_type. 2021-04-16 15:30:26 -07:00
Arturo Mejia
2119cfadae [fenix] Telemetry for https://github.com/mozilla-mobile/fenix/issues/18855, https://github.com/mozilla-mobile/fenix/issues/18851 and https://github.com/mozilla-mobile/fenix/issues/18857
For https://github.com/mozilla-mobile/fenix/issues/18857 [Telemetry] Send a Glean event when users change their default browser

For https://github.com/mozilla-mobile/fenix/issues/18855 [Telemetry] Send an event when users open the toolbar menu

For https://github.com/mozilla-mobile/fenix/issues/18851 [Telemetry] Send an event when users click on the "set as default browser" entry in the toolbar menu
2021-04-15 11:29:13 +03:00
Roger Yang
4f9a341746 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18948: Update tabstray telemetry (https://github.com/mozilla-mobile/fenix/pull/19004) 2021-04-14 15:32:45 -04:00
mcarare
8e8a872127 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18854: Add metrics for home screen being displayed. 2021-04-14 21:21:28 +03:00
mcarare
9dede18ff5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18853: Add metrics for default browser new tab experiment. 2021-04-14 19:22:27 +03:00
mcarare
4ff47f6c1d [fenix] For https://github.com/mozilla-mobile/fenix/issues/18856: Add metrics for opening settings screen from home menu. 2021-04-14 18:50:15 +03:00
Michael Comella
073a4dc221 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18836: note refactor in metrics docs. 2021-04-13 15:10:36 -07:00
Michael Comella
c04e4f392d [fenix] For https://github.com/mozilla-mobile/fenix/issues/18836: replace StartupActivityStateProvider with StartupStateProvider.
The StartupActivityStateProvider uses an imperative implementation,
driven by callbacks, to set the state of the application. This is hard
to follow as you need to understand which callbacks will be called in
which order. For example, to make sense of an implementation like this,
COLD, WARM, AND HOT would likely need to be implemented in separate
ActivityLifecycleCallbacks.

I feel the StartupStateProvider is an improvement because it leverages
the StartupActivityLog to query a linear state for a more understandable
implementation. Furthermore, it seems accessible to write COLD, WARM,
and HOT in the same class because they can all be approached the same
way.
2021-04-13 15:10:36 -07:00
Sebastian Kaspari
a23da507c5 [fenix] Introduce process lifecycle observer to collect metrics about tabs when app goes to foreground/background. 2021-04-09 12:36:27 +02:00
Grisha Kruglov
242ea763de [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17361: Extend perf.awesomebar.* metrics 2021-04-06 11:50:08 -07:00
Michael Comella
b26d782c2f [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: add data review links. 2021-03-30 10:38:44 -07:00
Michael Comella
9c3ad5608a [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: warn about flaw in app_opened_all_startup probe. 2021-03-30 10:38:44 -07:00
Michael Comella
c5bfc690d7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: record cold start duration telemetry. 2021-03-30 10:38:44 -07:00
Michael Comella
f5accce70f [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: add StartupActivityStateProvider.
This will be used to filter conditions for the start up telemetry we're
adding.
2021-03-30 10:38:44 -07:00
Michael Comella
ee31fe29c2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: add ApplicationStartReasonProvider.
We need to know this state to add a correct COLD MAIN probe.
2021-03-30 10:38:44 -07:00
Michael Droettboom
2fb552617a [fenix] Bug 1689162: Update Glean metrics.yaml schema (https://github.com/mozilla-mobile/fenix/pull/18683) 2021-03-29 11:53:45 -04:00
Roger Yang
e1404fab67 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17644: Record when user taps on a add-on's setting (https://github.com/mozilla-mobile/fenix/pull/18504) 2021-03-24 14:31:39 -04:00
Michael Comella
3b2bda7c81 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: add measurement probes for long-running lifecycle methods.
In addition to the existing probes for onCreate, this should cover all
lifecycle methods that take a long time in our profiles.
2021-03-19 17:41:03 -07:00
Michael Comella
1f67254b10 [fenix] For https://github.com/mozilla-mobile/fenix/issues/18426: add telemetry for app.onCreate subsections.
Hopefully this will help us understand behavior of the
`application_on_create` probe, specifically that it seems to take longer
in telemetry than in does locally compared to `home_activity_on_create`
(comparing the medians to local runs)..
2021-03-19 11:52:29 -07:00
Mugurell
78b7d0e95c [fenix] For https://github.com/mozilla-mobile/fenix/issues/17869 - New AndroidKeystoreExperiment telemetry 2021-03-15 13:35:49 -07:00
mcarare
1c8387fdb9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17768: Renew telemetry expiring in March. 2021-03-15 19:59:38 +02:00
mcarare
ebde904cfd [fenix] For https://github.com/mozilla-mobile/fenix/issues/18076: Renew telemetry expiring in April. 2021-03-15 19:59:24 +02:00
Roger Yang
1ca7dc61ab [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18178: Rework History Telemetry (https://github.com/mozilla-mobile/fenix/pull/18261) 2021-03-08 19:15:29 -05:00
Roger Yang
f0dcb64716 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18173: Add Telemetry When User Opens a Bookmark (https://github.com/mozilla-mobile/fenix/pull/18174) 2021-03-08 17:11:59 -05:00
Roger Yang
b8342ac6f0 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18068: Use AwesomeBarFacts for AwesomeBar Telemetry (https://github.com/mozilla-mobile/fenix/pull/18090) 2021-03-08 16:34:52 -05:00
Roger Yang
70329154e5 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18163: Use SyncedTabsFacts for Synced Tab Telemetry (https://github.com/mozilla-mobile/fenix/pull/18172) 2021-03-08 15:21:00 -05:00
Sebastian Kaspari
aca64b6eae [fenix] metrics.yaml: Update data review link of engine_tab.kill_foreground_age metric. 2021-03-03 09:23:32 +02:00
Sebastian Kaspari
1368a9bd19 [fenix] Fix metric types of engine telemetry. 2021-03-01 13:10:05 +01:00
Michael Comella
a0f46da9ad [fenix] For https://github.com/mozilla-mobile/fenix/issues/18157: convert clock_ticks_per_second to quantity type.
While we could easily move this into the metrics ping, it's better to
leave it in the other ping because it's less work and because (I think)
we'll be better able to match `framework_secondary` values to the clock
ticks if we combine them in the same ping.
2021-02-26 16:12:59 -08:00
Michael Comella
188fe713ed [fenix] For https://github.com/mozilla-mobile/fenix/issues/17972: split frameworkStart into two metrics.
We do this in order to make it easier to analyze in GLAM: see the metric
descriptions for more details.

Additionally, we change the time unit to milliseconds to make it easier
to analyze in GLAM.
2021-02-19 13:21:31 -08:00
Michael Comella
3ae7379a5f [fenix] For https://github.com/mozilla-mobile/fenix/issues/17969: add duration probes for App.onCreate and HomeActivity.onCreate. 2021-02-19 13:20:34 -08:00
Roger Yang
998a10cdc9 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17089: Add metric to track both normal and private URI opened (https://github.com/mozilla-mobile/fenix/pull/17935) 2021-02-19 10:37:07 -05:00
Sebastian Kaspari
5fec5b8d61 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/12731: Collect telemetry about the content process of tabs getting killed. 2021-02-19 11:32:56 +01:00
Codrut Topliceanu
942195bfae [fenix] For https://github.com/mozilla-mobile/fenix/issues/17418 - Added telemetry for Google Default Top Site (https://github.com/mozilla-mobile/fenix/pull/17637)
* For https://github.com/mozilla-mobile/fenix/issues/17418 - Adds channel "ts" to TrackKey

This is used to track if the `InContentTelemetry` is a result of the user using the Google Top Site. It looks for `&channel=ts` within the uri.

* For https://github.com/mozilla-mobile/fenix/issues/17418 - Adds TopSite PerformedSearch back in

* For https://github.com/mozilla-mobile/fenix/issues/17418 - Check now looks for equality with GOOGLE_URL

* For https://github.com/mozilla-mobile/fenix/issues/17418 - Adds test for topSite changes
2021-02-11 11:31:01 -05:00
Gabriel Luong
1430e127b1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17418 - Add event ping telemetry for the Google Top Site click (https://github.com/mozilla-mobile/fenix/pull/17862)
Co-authored-by: codrut.topliceanu <codrut.topliceanu@softvision.ro>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2021-02-05 12:06:32 -05:00
Elise Richards
b41d6160e5 [fenix] Increase date on expired metrics (https://github.com/mozilla-mobile/fenix/pull/17766) 2021-02-02 12:27:10 -06:00
Michael Comella
76864a8ece [fenix] For https://github.com/mozilla-mobile/fenix/issues/17553: renew storage.stats metrics. 2021-02-01 16:33:08 -05:00
Codrut Topliceanu
5e78e43440 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16828 - Adds telemetry for open in app banner (https://github.com/mozilla-mobile/fenix/pull/17049)
* For https://github.com/mozilla-mobile/fenix/issues/16828 - Adds telemetry for open in app banner

Specifically: Banner displayed, Dismiss action, Go to Settings action.
2021-01-29 10:14:32 +02:00
Elise Richards
fcf3c5f57a [fenix] For https://github.com/mozilla-mobile/fenix/issues/16485: Tabs tray grid view telemetry (https://github.com/mozilla-mobile/fenix/pull/17442)
* Tabs tray CFR telemetry interactions

* Create CFR events and implementation

* Tests for tab tray controller
2021-01-25 15:25:56 -06:00
Codrut Topliceanu
2f57dcfdac [fenix] For https://github.com/mozilla-mobile/fenix/issues/17481 - Remove unused long_press_tapped metric (https://github.com/mozilla-mobile/fenix/pull/17544) 2021-01-21 10:02:26 +02:00
Codrut Topliceanu
b71d813d64 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11580 - Tracks text selection context menu usage (https://github.com/mozilla-mobile/fenix/pull/16968)
* For https://github.com/mozilla-mobile/fenix/issues/11580 - Tracks text selection context menu usage

Tracks Copy, Search, Select All and Share items from the text selection context menu. Uses AC's DefaultSelectionActionDelegate to achieve this.

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2021-01-04 16:28:01 +02:00
Mugurell
4ee2151e75 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11578 - Cleanup download telemetry - metrics ping reference
These pings were implemented first as counters.
When changing to events "send_in_pings: - metrics" still remained causing
confusion.
This patch comes to remove this confusion and potential future issues.
2020-12-16 15:17:11 +02:00
Mugurell
a50340fd25 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15367 - Cleanup metrics ping reference (https://github.com/mozilla-mobile/fenix/pull/17071)
These pings were implemented first as counters.
When changing to events "send_in_pings: - metrics" still remained causing
confusion.
This patch comes to remove this confusion and potential future issues.
2020-12-16 14:00:48 +02:00
mcarare
78195c8368 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16827: Send copy url metrics correctly. 2020-12-16 13:50:38 +02:00
mcarare
4d286d91ce [fenix] For https://github.com/mozilla-mobile/fenix/issues/15369: Send synced tabs metrics correctly. 2020-12-16 13:45:55 +02:00
Gabriel Luong
29e329d8f1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16941 - [Telemetry] Bookmark Counts (https://github.com/mozilla-mobile/fenix/pull/16942) 2020-12-15 11:30:24 -05:00
Codrut Topliceanu
35eaf646a9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15368 - Adds telemetry for fullscreen, pip (https://github.com/mozilla-mobile/fenix/pull/16833) 2020-12-15 14:46:15 +02:00
mcarare
20cff480b7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16827: Add documentation for copy url metrics. 2020-12-15 12:14:27 +02:00
mcarare
1e9604d03a [fenix] For https://github.com/mozilla-mobile/fenix/issues/15369: Add documentation for synced tabs opening metrics. 2020-12-15 11:36:47 +02:00
mcarare
d404bd76d2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15366: Add documentation for recently closed tabs metrics. 2020-12-15 10:52:11 +02:00
Mugurell
6019e8c907 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15367 - DownloadsFragment telemetry (https://github.com/mozilla-mobile/fenix/pull/16728)
Adds a counter for how many times the user does the following action:
- opens the Downloads section inside the app
- tap to open an item from inside Downloads / from the download dialog
- tap to delete one or more downloads at once
2020-12-15 09:14:20 +02:00
Mugurell
cf4631c5c3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11578 - Add telemetry for how many times we download something (https://github.com/mozilla-mobile/fenix/pull/16730) 2020-12-15 08:39:22 +02:00
Roger Yang
9dee73b238 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/16075: Add distribution_id in telemetry startup metrics (https://github.com/mozilla-mobile/fenix/pull/16821) 2020-12-10 09:36:05 -05:00