Commit Graph

239 Commits

Author SHA1 Message Date
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
Codrut Topliceanu
d0b09b7d69
For #15368 - Adds telemetry for fullscreen, pip (#16833) 2020-12-15 14:46:15 +02:00
mcarare
c006ae5056 For #16827: Add documentation for copy url metrics. 2020-12-15 12:14:27 +02:00
mcarare
1d5fa23026 For #15369: Add documentation for synced tabs opening metrics. 2020-12-15 11:36:47 +02:00