Commit Graph

342 Commits

Author SHA1 Message Date
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
Michael Droettboom
50ae7826ad
Bug 1689162: Update Glean metrics.yaml schema (#18683) 2021-03-29 11:53:45 -04:00
Roger Yang
34a7bc0baa
For #17644: Record when user taps on a add-on's setting (#18504) 2021-03-24 14:31:39 -04:00
Michael Comella
62e2fb1aa6 For #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
9024eca01e For #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
1e30744c64 For #17869 - New AndroidKeystoreExperiment telemetry 2021-03-15 13:35:49 -07:00
mcarare
6a4a302f1a For #17768: Renew telemetry expiring in March. 2021-03-15 19:59:38 +02:00
mcarare
7cdf7a54df For #18076: Renew telemetry expiring in April. 2021-03-15 19:59:24 +02:00
Roger Yang
9049513017
Closes #18178: Rework History Telemetry (#18261) 2021-03-08 19:15:29 -05:00
Roger Yang
56b08abe0f
Closes #18173: Add Telemetry When User Opens a Bookmark (#18174) 2021-03-08 17:11:59 -05:00
Roger Yang
2322cbdd0e
Closes #18068: Use AwesomeBarFacts for AwesomeBar Telemetry (#18090) 2021-03-08 16:34:52 -05:00
Roger Yang
aada459428
Closes #18163: Use SyncedTabsFacts for Synced Tab Telemetry (#18172) 2021-03-08 15:21:00 -05:00
Sebastian Kaspari
dabc658c5c metrics.yaml: Update data review link of engine_tab.kill_foreground_age metric. 2021-03-03 09:23:32 +02:00
Sebastian Kaspari
d8dd809ed4 Fix metric types of engine telemetry. 2021-03-01 13:10:05 +01:00
Michael Comella
f44611f632 For #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
359f27abc1 For #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
993428cd0f For #17969: add duration probes for App.onCreate and HomeActivity.onCreate. 2021-02-19 13:20:34 -08:00
Roger Yang
64f32b9d95
Closes #17089: Add metric to track both normal and private URI opened (#17935) 2021-02-19 10:37:07 -05:00
Sebastian Kaspari
a2566f9e9e Issue #12731: Collect telemetry about the content process of tabs getting killed. 2021-02-19 11:32:56 +01:00
Codrut Topliceanu
d56b4a2b92
For #17418 - Added telemetry for Google Default Top Site (#17637)
* For #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 #17418 - Adds TopSite PerformedSearch back in

* For #17418 - Check now looks for equality with GOOGLE_URL

* For #17418 - Adds test for topSite changes
2021-02-11 11:31:01 -05:00
Gabriel Luong
a3d401a3b7
For #17418 - Add event ping telemetry for the Google Top Site click (#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
854a5e676f
Increase date on expired metrics (#17766) 2021-02-02 12:27:10 -06:00
Michael Comella
cdc008f6a3 For #17553: renew storage.stats metrics. 2021-02-01 16:33:08 -05:00
Codrut Topliceanu
e188185b15
For #16828 - Adds telemetry for open in app banner (#17049)
* For #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
f7b7b25213
For #16485: Tabs tray grid view telemetry (#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
928ad21c51
For #17481 - Remove unused long_press_tapped metric (#17544) 2021-01-21 10:02:26 +02:00
Codrut Topliceanu
c0f0c401f3
For #11580 - Tracks text selection context menu usage (#16968)
* For #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
9c15267de9 For #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
4d38440594
For #15367 - Cleanup metrics ping reference (#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
fc43e85e4d For #16827: Send copy url metrics correctly. 2020-12-16 13:50:38 +02:00
mcarare
ab0a5a84fb For #15369: Send synced tabs metrics correctly. 2020-12-16 13:45:55 +02:00
Gabriel Luong
846d618c06
For #16941 - [Telemetry] Bookmark Counts (#16942) 2020-12-15 11:30:24 -05:00