Commit Graph

262 Commits

Author SHA1 Message Date
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
Gabriel Luong 846d618c06
For #16941 - [Telemetry] Bookmark Counts (#16942) 2020-12-15 11:30:24 -05:00
Codrut Topliceanu d0b09b7d69
For #15368 - Adds telemetry for fullscreen, pip (#16833) 2020-12-15 14:46:15 +02:00
mcarare 1d5fa23026 For #15369: Add documentation for synced tabs opening metrics. 2020-12-15 11:36:47 +02:00
mcarare d0f2209cae For #15366: Add documentation for recently closed tabs metrics. 2020-12-15 10:52:11 +02:00
Mugurell 574eac4636
For #15367 - DownloadsFragment telemetry (#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 d5b33aec43
For #11578 - Add telemetry for how many times we download something (#16730) 2020-12-15 08:39:22 +02:00
Roger Yang ca605d8a95
Closes #16075: Add distribution_id in telemetry startup metrics (#16821) 2020-12-10 09:36:05 -05:00
MickeyMoz 2c4f0624fd Update Android Components version to 67.0.20201115143123. 2020-11-16 11:37:03 +01:00
Mugurell d1f2705d99
For #16076 - Link data review for the share_image telemetry (#16534) 2020-11-12 20:14:59 +02:00
ekager 1ed9ebf622 For #16132 - Rename normal mode menu item, remove telemetry 2020-11-12 09:11:16 -08:00
Johan Lorenzo 4570f5a14f Revert "Update Android Components version to 66.0.20201111143206."
This reverts commit dbdb68ac72.
2020-11-12 12:48:00 +01:00
Mugurell 729f46ec1f For #16076 - Update metrics.md documentation
A link for the "share_image" data review is to be added after review.
2020-11-11 11:12:53 -08:00
MickeyMoz dbdb68ac72 Update Android Components version to 66.0.20201111143206. 2020-11-11 10:18:01 -08:00
Mihai Adrian Carare 0ee7e1c28d
For # 15929: Remove the search widget discoverability experiment. (#16081)
* For #15929: Remove SearchWidgetCFR telemetry.

* For #15929: Remove SearchWidgetCFR and search widget experiment.

* For #15929: Remove unit tests references to search widget experiment.
2020-10-28 13:46:02 -07:00
ekager 508ec8b8ff For #15347 - Adds telemetry for tabs settings 2020-10-14 22:53:31 -04:00
Gabriel Luong 827f755962 No issue - Commit auto-generated glean changes for metrics.md 2020-10-12 10:26:03 -07:00
Michael Comella a1bbd2589e For #10069 - review: change extra name to firstFramePreDrawNanos. 2020-10-09 15:47:55 -07:00
sraturi 8f16f9cb37 for #10069 added AppLaunchTimeMeasurement.kt to handle logic of startup time for cold, warm, and hot startup types. 2020-10-09 15:47:55 -07:00
Chenxia Liu dd190d6ce7 Update docs 2020-10-07 11:02:42 -07:00
Grisha Kruglov 57755fe165 Glean docs update 2020-09-23 14:51:04 -07:00
Sawyer Blatz 1f17371df6 For #14565: Add telemetry for top sites 2020-09-17 10:06:39 -07:00
ekager 83ffcac57e For #13926 - MP migration 2020-09-01 16:27:51 -07:00
Sachin 316b70940f
for #12573, added startup type and hasSavedInstance keys to app_startup_type telemetry (#13494) 2020-08-26 23:14:13 -07:00
liuche b01dbeeebf
For #12046 - Renew telemetry probes before migration completion (#13958)
* For #12046 - Renew telemetry probes before migration completion
* Delay remaining probes renewal for one more month.
2020-08-25 10:45:02 -07:00
Michael Comella 78a823da87 For #14133: warn opened_link telemetry may be wrong. 2020-08-25 08:39:42 -07:00
Asif Youssuff 9407841c78 Update crash reporting doc to refer to deprecate "preview" 2020-08-24 11:53:22 -07:00
Asif Youssuff 329fc4c88f Update telemetry doc to refer to depecate "preview" 2020-08-24 11:53:10 -07:00
MarcLeclair 929ec541b0
13899 fix formatting issue (#13900)
13899 re worded the performance readme and removed the reference to debuggable builds

13899 fixed some nits
2020-08-19 12:04:49 -04:00
Jeff Boek b8de7079a9 For #11656 - Adds docs for new leanplum attributes 2020-08-18 14:29:10 -07:00
ekager df7aafc2df For #11610 - Fire sign in event for other types of auth events 2020-08-04 14:18:19 -04:00
ekager bf19e4a3fd For #11280 - Adds FxA Signed Up Leanplum Event 2020-08-04 14:18:19 -04:00
Elise Richards 3e8cab19c0
For #10261: PWA Telemetry (#11859)
* Add PWA events to metrics.

Track events for add to homescreen and install.

Map PWA facts to events

* Map component facts to local metrics

Add events pings to fragments

Supress long method for events

Move install event to AC and collect facts

Retrieve fg and bg events from Facts. Do not track intent fg/bg events, only views

* Allow onPause in base fragment to send telemetry for PWA in the external app fragment. Track foreground and bg locally in fenix, and route install and home screen taps from AC facts

* Rebase
2020-08-03 13:59:31 -05:00
Michael Comella 849e5b3a09 For #12802 - review: update metrics for data review. 2020-07-31 16:05:06 -07:00
Michael Comella 5d8c900391 For #12802: add StorageStats glean metrics. 2020-07-31 16:05:06 -07:00
Jeff Boek 12b95b4902 For #11579 - Adds telemetry for autoplay settings in Site Permissions 2020-07-29 15:10:25 -07:00
Sawyer Blatz 4b646c03cb For #9730: Add Login Dialog Prompt telemetry 2020-07-29 12:59:35 -07:00
ekager 19ffb84cf9 For #11654 - Adds leanplum ETP changed event 2020-07-29 13:35:16 -04:00
Sawyer Blatz bb03049fb5 Add documentation 2020-07-29 13:35:16 -04:00
sraturi 537d95c04d for #11830 created class containing the logic for sending AllStartup telemetry logic
lint check

renamed the intentReceived telemetry to appOpenedAllSource

added comments

removed unused code

moved lifecycle process to AppAllSourceStartTelemetry

moved tracking event out of init function

lint fix

moved appAllStartTelemetry to components

added bit more info about the metrics

added the  onReceivedIntent metric back

minor fix

change discriptions based on the comments frm MR

wrote test cases for AppAllSourceStartTelemetry.kt

lint fix

test case to mock application going background

post rebase:

post rebase:

fixed nit from comments

fixed nit from comments

fixed nit from comments

lint fix

lint fix
2020-07-28 17:09:42 -07:00
Tiger Oakes 5a4c391b52 Suppress YamlConfig deprecation 2020-07-27 13:56:03 -04:00
Sawyer Blatz 0e438ef9a7 For #12430: Hide the mic when not using Google 2020-07-23 19:29:26 -04:00
Alessio Placitelli b31564d5fc
Remove the duplicated/outdated 'activation' ping docs (#12421)
This additionally overhauls the Fenix telemetry docs
to point at the Glean autogenerated docs, to prevent
documentation getting outdated again.
2020-07-20 18:55:41 -07:00
Elise Richards 023a4983fa
For #10173: login duplicates and save (#11208)
* Extract controller into it's own class. Implement find dupes and filter based on username.

Create edit login controller. Add text watchers and check for duplicates.

Edit controller test

* Find duplicates and save to store

* Retrieve duplicates from AC and check list on username text changed

Move duplicates logic into the controller

* Add glean pings for delete and edit. Move logic for login manipulation into the datastore.

* Use correct threads in controller. Enable save button when applicable.

Save enabled in datastore.

Move login data to datastore

Rebase with password error states

Update metrics to be more specific for edit

* Create logins controller for AC calls

* Interactor and controller methods for edit login. Add edit view to separate out some layout manipulation.

Inflate view in edit fragment. Double layout showing up.

Edit view

Controller tests

Controller tests passing

Interactor tests

Lint and detekt cleanup

* Remove datastore and use storage controller for all logins calls to password storage.

Addressed comments

Lint
:

Rebase - 1
2020-07-16 17:08:04 -05:00
jhugman fb1d7e12e6
For #11704 Add leanplum attributes for tracking protection (#11965) r=sblatz
* For 11657: add LP attribute for tracking protection

* For #11704: added tracking_protection_enabled attribute

* Added docs for the new attributes, linking to data-review to the mma.md

* Rename null to none when no ETP is enabled
2020-07-16 17:09:32 +01:00
James Hugman 98a33ea82b Changed home_* style links to urls_* to reflect that the destination is a set of links, rather than where the screen is 2020-07-16 10:37:03 -04:00
James Hugman 1629878a66 Add install_search_widget 2020-07-16 10:37:03 -04:00
James Hugman 7bd2b5b0c9 Add 8 deeplinks to mma.md documentation 2020-07-16 10:37:03 -04:00
jhugman 9df13ae121
For #11655: add leanplum event for installing an addon (#12136) r=elise
* For #11655: add leanplum event for installing an addon

* Add link to data-review request in PR

* Addressed CI comments
2020-07-12 23:47:34 +01:00
Chenxia Liu f9b756c8c9 Issue #12044 - Bump expiry by 1mo for release 2020-06-26 18:28:46 -07:00
Sachin 4b9cc954fa
for #11830 added new metric for collecting startup method from all startup phases (#11940)
* for #11830 added new metric for collecting startup method

move all source startup telemetry into its own logic and added an UNKOWN state

* switched back to onNewIntent solution

* renamed the metric
2020-06-26 17:38:08 -07:00
Sawyer Blatz 8a08cb941e
For #11479: Record open tabs count in metrics ping (#12024) 2020-06-26 17:15:43 -07:00
Sawyer Blatz 101ecfbf66
For #11273: Add tabs tray telemetry (#12036) 2020-06-26 16:37:07 -07:00
Grisha Kruglov f8cb1d6b48 Closes #11909: Metrics for recording number of recently used PWAs 2020-06-26 14:13:41 -07:00
Elise Richards eeabcb10ff
Fix illegal arguments for onboarding keys (#12033) 2020-06-26 16:12:18 -05:00
Sawyer Blatz 04aee11d82
For #9625: Add telemetry for Tracking Protection CFR (#11923) 2020-06-25 11:24:55 -07:00
Elise Richards 665fb8d60c
#10824: Onboarding telemetry (#11867)
* Onboarding events and tracking

* Rename metrics for consistency

* Add reference to PR for the data review

* Add default values to onboarding events
2020-06-25 13:21:31 -05:00
Sawyer Blatz 2d65faf232
For #11392: Rename Installation ping to FirstSession (#11869) 2020-06-25 10:06:26 -07:00
person808 9e3e95e351 For #11442 - Telemetry for tab counter menu. 2020-06-15 11:48:12 -07:00
Sawyer Blatz d1cd877374 For #11118: Add missing telemetry 2020-06-12 10:29:05 -07:00
Sawyer Blatz 932a2f3703 For #11063: Update telemetry for etp settings 2020-06-10 22:51:21 -04:00
Chenxia Liu b82322c225 Closes #10616 - Update docs for app_opened to reflect cold-start 2020-06-04 14:39:43 -07:00
Sawyer Blatz 9302d07d13 For #11118: Add toggle states to metrics ping 2020-06-04 10:08:23 -07:00
Gabriel Luong 9520c9dd32 For #8920 - [Telemetry] Send add-on ids in a metrics ping 2020-06-04 08:15:39 -07:00
mcarare 2090b11c97 For #10434: Handle cases when proc/$pid/stat is not accessible. 2020-06-02 17:57:39 -07:00
Sawyer Blatz b06be1fcde For #9488 Add telemetry for search widget CFR 2020-05-28 15:15:25 -07:00
Sawyer Blatz 0a3727e1e6
No issue: Update installation docs timestamp for clarity (#10866) 2020-05-22 14:17:47 -07:00
Sawyer Blatz 7067e5c000
For #8125: Add default top site telemetry (#10752) 2020-05-22 13:10:09 -07:00
Roger Yang e07e629218
Closes #10802: Add crash reporting opt in mechanism in doc (#10804) 2020-05-21 19:42:42 -04:00
Sawyer Blatz 477493e197
For #10465: Add telemetry for voice search (#10785) 2020-05-20 14:35:57 -07:00
Roger Yang 15e2621281
Closes #10782: Update crash reporting doc with what information breadcrumbs are recording (#10787) 2020-05-20 10:44:42 -04:00
Grisha Kruglov d37529e416 Perf telemetry for awesomebar suggestion provider durations
See mozilla-mobile/android-components#6802 for details; requires that PR.
2020-05-14 14:13:53 -07:00
Mihai Branescu d6b448eeaa For #10599 - Removed baseline pings form metrics.yaml
As per documentation, this ping is intended to provide metrics that are managed by the library itself, and not explicitly set by the application or included in the application's metrics.yaml file.
2020-05-13 14:34:03 -07:00
Simon Chae 9a30d57db9
Update Android Components version to 41.0.20200512130104 🎲🎲 (#10600)
* Update GLEAN metrics and ping formatting

* Update Android Components version to 41.0.20200512130104.
2020-05-12 14:52:58 -04:00
ValentinTimisica 15dfe0811d For #10343: Updates metrics accordingly to 'Library' removal 2020-05-11 10:22:19 -07:00
Sawyer Blatz 17fb7c1df7
For #10426: Removes installation ping GAID (#10532) 2020-05-09 10:35:57 -07:00
Sawyer Blatz 02f6e6868e
For #10426: Adds identifier to Glean for 24 hours (#10446) 2020-05-07 08:57:20 -07:00
Mugurell c6c5777090 For #10322 - Update Glean - total_uri_count documentation
total_uri_count continues to accurately track the URLs visited by the user in
the current session.
Websites can though programmatically redirect users to a new URL using simple
javascript even without user interaction.
This needs to be documented for future references.
2020-05-01 18:34:39 -07:00
Michael Droettboom c6086103b4 Update generated docs 2020-04-30 08:37:22 -07:00
Mihai Branescu f09bc4566c For #6557 - added metric for in_content 2020-04-24 15:47:48 -07:00
Mihai Branescu c4d76dce5a For #6558 - cleanup + added unit tests 2020-04-24 09:28:40 -07:00
Mihai Branescu 93ca1f6d9f For #6558 - added handling of web extension + sending metric for has_ads 2020-04-24 09:28:40 -07:00
Vlad Filippov e51e1c878b Add 'useEmail' and 'useEmailProblem' metrics event
Fixes #9834
2020-04-23 10:33:36 -07:00
Sawyer Blatz dce16964c0
For #9208: Adds in-product prompt to homescreen (#9836) 2020-04-22 14:29:43 -07:00
Jeff Boek 164e6cd079 For #9816 - Adds SessionObserver to session on selection 2020-04-21 14:08:58 -07:00
Michael Comella 909ee734bf For #8803 - post: update metrics & pings data review URL. 2020-04-17 09:11:58 -07:00
Michael Comella 2888d66ce0 For #8803 - review: move forward metric expiration date.
We primarily want to determine if this is a problem area for us to
investigate rather than a long term measurement to keep so we should set
the expiration date accordingly. Furthermore, this code executes before
crash reporting is init so it's ideal to remove it sooner rather than
later.
2020-04-17 09:11:58 -07:00
Michael Comella a0c4b33b0f For #8803: add StartupTimeline ping type and framework_start metrics. 2020-04-17 09:11:58 -07:00
Sawyer Blatz 7c3394ea7c
For #9892: Set dynamicToolbarMaxHeigtht to 0 for PWAs (#9893) 2020-04-13 13:08:08 -07:00
Gabriel Luong dc6d479da3
For #6174 - Add telemetry for WebExtensions (#8318) 2020-04-02 10:12:31 -07:00