2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-11 13:11:01 +00:00
Commit Graph

373 Commits

Author SHA1 Message Date
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.
2021-11-16 21:04:16 +00:00
Mugurell
17865bdf66 For #22147 - New search term groups telemetry 2021-11-16 16:40:07 +00:00
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>
2021-11-10 20:13:40 +00:00
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>
2021-11-10 19:47:21 +00:00
Mugurell
953f6feb17 For #22155 - The inactiveTabsCount probe reports actualInactiveTabs number 2021-11-08 12:32:39 +00:00
Roger Yang
04618983aa Close #22299: Add history search term group telemetry 2021-11-04 22:08:56 +00:00
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>
2021-11-04 04:28:52 +00:00
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>
2021-11-04 03:54:18 +00:00
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>
2021-11-04 00:14:21 +00:00
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>
2021-11-02 23:08:30 +00:00
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.
2021-11-02 16:32:00 +00:00
Roger Yang
a46905b5e7 Issue #22057: Add search term groups telemetry 2021-11-02 15:46:29 +00:00
Mugurell
018fe15072 For #22138 - Install source metrics probe 2021-11-02 09:12:34 +00:00
Roger Yang
4e5c9a3440 Close #22172: Add Recent searches telemetry 2021-11-02 04:17:10 +00:00
Roger Yang
9c970a5276 Close #22103: Add recent bookmarks telemetry 2021-11-02 01:35:36 +00:00
Elise Richards
7480e806c7 For #22175: Add data review link 2021-11-01 21:24:00 +00:00
Elise Richards
e4cc22fb71 For #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
940af156eb For #22192 add telemetry for studies 2021-11-01 14:08:52 +00:00
Arturo Mejia
a2c7dfb26e For #22170: Add telemetry for the auto-close prompt 2021-10-27 13:17:35 +00:00
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>
2021-10-26 22:00:06 +00:00
codrut.topliceanu
bba787e87e For #21732 - Adds inactive tabs survey on disable + telemetry 2021-10-26 17:50:22 +00:00
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>
2021-10-25 23:53:02 +00:00
Mugurell
c4278bfbf6 For #21841 - New telemetry for Google and Baidu top sites removal 2021-10-21 22:10:26 +00:00
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>
2021-10-20 22:30:59 +00:00
Elise Richards
7e12bd3238 For #21313: Renew fission metrics expiring in December 2021-10-09 03:42:00 +00:00
Mugurell
507801e5d5 For #21623 - Pocket recommended stories telemetry 2021-10-07 08:36:00 +00:00
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>
2021-10-04 13:59:02 -07:00
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>
2021-10-04 20:10:49 +00:00
Elise Richards
ab13ae09f2
For #21313: renewing performance awesomebar metrics (#21315) 2021-09-27 15:40:21 -07:00
Gabriel Luong
98b218d964 For #21413 - Remove unused OnboardingPrivateBrowsingViewHolder and OnboardingWhatsNewViewHolder 2021-09-22 14:20:16 +00:00
Arturo Mejia
3272de1364 For #21239 add telemetry for Allow users to customize their home screen 2021-09-21 15:55:03 -04:00
Roger Yang
5d22bb4707 Issue #18711: Telemetry for credit card autofill 2021-09-07 19:16:04 +00:00
Elise Richards
13fd0699cb Include data review for renewed metrics 2021-08-31 18:28:05 +00:00
Elise Richards
6cb872cd98 Remove banner open in app telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
c9626019ef Remove search suggestions in private telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
19d8f58b47 Remove user specified search engine telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
7653691d30 Remove private browsing shortcut telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
34fb522f1a 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
cb9bbd2650 Remove private browsing mode telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
d137becd48 Remove tip telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
fa811cb244 Remove enable private search suggestions telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
de992994de Remove open links in private tab telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
f1cf6f4651 Remove find in page telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
1f94dfa59b Remove total uri count telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
87530ab9a4 Remove about page telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
1b066458d5 Remove downloads management telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
8455886ca8 Remove downloads misc telemetry. 2021-08-31 18:28:05 +00:00
Elise Richards
c4ec8aa520 Remove download notification telemetry. 2021-08-31 18:28:05 +00:00
Elise Richards
2392c7e565 Remove master password telemetry. 2021-08-31 18:28:05 +00:00
Elise Richards
0f246bd16d Renew probes set to expire in September 2021-08-31 18:28:05 +00:00
Elise Richards
7c5155568e Renew probes set to expire in October 2021-08-31 18:28:05 +00:00
Elise Richards
014abc8143
Update search metric expiration dates (#21016) 2021-08-25 14:43:17 -04:00
Elise Richards
41825022e7
For #19931: Add telemetry probes for recent bookmarks on home screen (#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
09e8d34c26 For #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
5e13ead750 For #20328 - Adds telemetry for recentlyClosed button
...from tabsTray, inactiveTabs section.
2021-08-24 09:52:33 +00:00
Rohan Maity
707918cdc1 For #20596 remove startup timeline probes 2021-08-22 00:57:10 +00:00
rxu
c82af0a97a Add event ping telemetry for the Baidu top site click 2021-08-20 03:46:20 +00:00
Sebastian Kaspari
8be900392b metrics.yaml: Add data review URL for Android Autofill metrics 2021-08-19 15:13:37 +00:00
Gabriel Luong
4b2b058b4e For #19886 - Remove tracking protection overlay CFR 2021-08-16 16:42:39 -04:00
Rohan Maity
c45703db07 For #20596 remove perf.startup probes 2021-08-11 22:31:52 +00:00
Elise Richards
70068ee39b Correct search_count telemetry after revert 2021-08-06 21:26:43 +00:00
Jonathan Almeida
31081073e9 Issue #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 #19809).
2021-08-06 19:33:54 +00:00
Roger Yang
2ac5a38120 Revert "For #18711: Telemetry for credit card autofill (#19548)"
This reverts commit e0b410efdf.
2021-08-05 18:53:46 +00:00
Roger Yang
2ed4115a6c Revert "For #18711 - Refactor credit card telemetry under the Metrics ping (#19733)"
This reverts commit 172a118a51.
2021-08-05 18:53:46 +00:00
Michael Comella
1963d502c7 Closes #20461: remove app_received_intent probe. 2021-08-03 18:19:12 +00:00
Michael Comella
700033ee76 For #20518: disable metrics we don't want to renew. 2021-08-02 19:12:25 +00:00
Michael Comella
296dc9c116 For #20518: link to data renewal request. 2021-08-02 19:12:25 +00:00
Michael Comella
bbd80b98ea For #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
7fdade49ec
No issue: fix glean metrics tests for expired metrics (#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
24e9f64cff Add telemetry for Android Autofill feature. 2021-07-30 09:37:43 +00:00
Elise Richards
a901341259
For #20516: Renew product telemetry probes expiring in August (#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
26e41be02e For #19955 #20393: Add telemetry for home screen recent tabs. 2021-07-29 15:46:02 +00:00
Roger Yang
c4347a9492 Closes #19847: Add telemetry for the default browser notification 2021-07-15 19:35:45 +00:00
Mugurell
f95567912f For #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
7f4ac14f66 For #20127: remove app_opened_all_startup from metrics.yaml. 2021-07-12 21:53:54 +00:00
Elise Richards
79af077b2f
Update glean notification emails to new email group (#20070) 2021-06-17 14:48:34 -05:00
Arturo Mejia
c2439914fa For #19881 add telemetry for start on Home. 2021-06-17 13:09:28 -04:00
Elise Richards
c32ae710dd
For #19923: renew telemetry probes (#19924) 2021-06-15 18:08:01 -05:00
mcarare
2d2be26fbc For #19915: Add telemetry for the toolbar Home screen button. 2021-06-14 19:23:24 +03:00
Gabriel Luong
172a118a51
For #18711 - Refactor credit card telemetry under the Metrics ping (#19733) 2021-05-31 17:35:47 -04:00
Elise Richards
e0b410efdf
For #18711: Telemetry for credit card autofill (#19548) 2021-05-27 23:54:11 -05:00
Tim D. Smith
26cb37b27c
Fix case of item extras in browser_menu_action event (#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
74047cdceb
Closes #19147: Move startup metrics to right after Glean initialization (#19252) 2021-05-05 11:11:02 -04:00
William Lachance
8070a326b7
No issue - Properly quote description for ad metric (#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-dictionary#549 and mozilla/glean-dictionary#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
f693375270 For #18852: Add metrics for default browser settings experiment. 2021-04-20 14:48:07 -04:00
Michael Comella
aa3846212c For #18836: add metric perf.startup.startup_type. 2021-04-16 15:30:26 -07:00
Arturo Mejia
a3f4cee388 Telemetry for #18855, #18851 and #18857
For #18857 [Telemetry] Send a Glean event when users change their default browser

For #18855 [Telemetry] Send an event when users open the toolbar menu

For #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
8246f81c97
Closes #18948: Update tabstray telemetry (#19004) 2021-04-14 15:32:45 -04:00
mcarare
cea869c276 For #18854: Add metrics for home screen being displayed. 2021-04-14 21:21:28 +03:00
mcarare
dbae5dd3c0 For #18853: Add metrics for default browser new tab experiment. 2021-04-14 19:22:27 +03:00
mcarare
920c1285e4 For #18856: Add metrics for opening settings screen from home menu. 2021-04-14 18:50:15 +03:00
Michael Comella
3ae80cda40 For #18836: note refactor in metrics docs. 2021-04-13 15:10:36 -07:00
Michael Comella
000bef020a For #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
dfb3c4c9bf 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
3e37426375 Closes #17361: Extend perf.awesomebar.* metrics 2021-04-06 11:50:08 -07:00
Michael Comella
89088aa595 For #18426: add data review links. 2021-03-30 10:38:44 -07:00
Michael Comella
ac34432176 For #18426: warn about flaw in app_opened_all_startup probe. 2021-03-30 10:38:44 -07:00
Michael Comella
ade38246be For #18426: record cold start duration telemetry. 2021-03-30 10:38:44 -07:00
Michael Comella
2be9fb61d0 For #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
edd49b286d For #18426: add ApplicationStartReasonProvider.
We need to know this state to add a correct COLD MAIN probe.
2021-03-30 10:38:44 -07:00