Commit Graph

53 Commits

Author SHA1 Message Date
Gregory Szorc
c8fcbe389c Bug 875562 - Part 9: Change Health Report to pull from crashes manager; r=bsmedberg, r=rnewman
This patch changes Firefox Health Report to pull crash counts from the
newly-implemented crash manager. The crash manager is now the canonical
source of crash data, so all the code for reading crash dump files from
disk has been removed.

This regresses the collection capability of Firefox Health Report by
removing plugin crashes and hangs from the reported values. This
regression is intended to be temporary and a follow-up bug will be
created to add plugin process event recording to the crash events
system.

This regression has been justified because the old crash reporting
mechanism was severely flawed and wasn't sending accurate data (not all
crashes were being saved to dumps and some dumps would be deleted).

--HG--
extra : amend_source : d54bb3bf9f740508cb4eda286536ce16a4c3bee5
2014-01-30 16:48:52 -08:00
Wes Kocher
0d01d793aa Backed out changeset 21793ea94b09 (bug 875562) for ASAN xpcshell failures 2014-03-13 15:22:40 -07:00
Gregory Szorc
b70f71e2b8 Bug 875562 - Part 9: Change Health Report to pull from crashes manager; r=bsmedberg, r=rnewman
This patch changes Firefox Health Report to pull crash counts from the
newly-implemented crash manager. The crash manager is now the canonical
source of crash data, so all the code for reading crash dump files from
disk has been removed.

This regresses the collection capability of Firefox Health Report by
removing plugin crashes and hangs from the reported values. This
regression is intended to be temporary and a follow-up bug will be
created to add plugin process event recording to the crash events
system.

This regression has been justified because the old crash reporting
mechanism was severely flawed and wasn't sending accurate data (not all
crashes were being saved to dumps and some dumps would be deleted).

--HG--
extra : rebase_source : 7442a712d06b4d875010e78d4dd4f5cc179c8dfc
2014-01-30 16:48:52 -08:00
Georg Fritzsche
41da9eabcd Bug 928575 - Overhaul FHR data collection for extensions and plugins for desktop. r=gps 2014-01-15 16:12:41 +01:00
Gregory Szorc
7b9cd377df Bug 965587 - Add lock to Firefox Health Report uploading; r=rnewman
Previously, it was technically possible for the FHR client to have
multiple simultaneous uploads. While this should never occur in
well-behaving systems, server logs have indicated that this behavior
might be occurring.

This patch adds a lock around uploading to ensure only 1 upload
operation may be active at a given time.

To measure the impact of this change in the wild, we added a counter
that increments whenever a held lock is encountered.

--HG--
extra : rebase_source : f0bb5065a3618cd335b6b6f31e4e68850f31f151
2014-01-29 15:28:57 -08:00
Gregory Szorc
3a0b972eef Bug 959356 - Report isWow64 in Firefox Health Report; r=bsmedberg
Previously, we weren't measuring whether the machine was 64-bit
properly. This change allows us to report actual CPU architecture (at
least on Windows).

In the future, we may wish to properly report actual CPU architecture on
all operating systems.

--HG--
extra : rebase_source : 73b5673e870e959a33172ec22fee8c31db6e0e53
extra : amend_source : 64d2e23be07aa87bc5c150b6e613e6226c848ec8
2014-01-17 09:25:39 -08:00
Richard Newman
07df1f49b4 Bug 925521 - Part 2: correctly record identifiers for non-pre-installed engines. r=gps
* * *
Bug 925521 - Review comments.
2013-10-18 12:31:39 -07:00
Richard Newman
ab84ef25f9 Bug 925521 - Part 1: remove filter on recorded search engine identifiers. r=gps 2013-10-18 12:27:57 -07:00
Richard Newman
65c16ea2a9 Bug 916186 - Don't record birth time in crashes provider. r=gps 2013-09-16 09:51:54 -04:00
Gregory Szorc
12b12adec1 Bug 864993 - Part 2: Properly implement app update collection; r=rnewman 2013-07-18 16:13:43 -07:00
Gregory Szorc
62df5c4f44 Bug 864993 - Add app update metrics to FHR; r=rnewman 2013-07-12 11:04:09 -07:00
Stefan Mirea
f1317cbb98 Bug 868306 - Ignoring extensions.%ID%.getAddons.cache.enabled preference for addon submission; r=gps
Bug 868306 - Ignoring extensions.%ID%.getAddons.cache.enabled preference for addon submission; r=gps
2013-06-19 18:25:01 -07:00
Stefan Mirea
32641334c4 Bug 852411 - Migrating from promise.js to Promise.jsm; r=gps 2013-06-13 18:36:21 -07:00
Gregory Szorc
fa4ba29ffa Backout 9080f6701733 (bug 852411) for hitting weird xpcshell test harness behavior in multiple local builds 2013-06-14 14:38:29 -07:00
Stefan Mirea
c338d6a58e Bug 852411 - Migrating from promise.js to Promise.jsm; r=gps
--HG--
extra : rebase_source : d03cdae978479605df0a7ea728916ba78a272ffb
2013-06-13 18:36:21 -07:00
Gregory Szorc
dd4e75e36c Bug 881991 - Properly detect already inserted sessions; r=rnewman
--HG--
extra : rebase_source : 2655dcc1230f05d37c3f43c1d2c4fb22768bd1f5
2013-06-12 13:17:51 -07:00
Gregory Szorc
192b9dab0e Bug 869266 - Reduce number of SQL statements to record crashes; r=rnewman 2013-05-08 17:02:06 -07:00
Gregory Szorc
61cf51e9b8 Bug 854018 - Record counts for FHR upload actions; r=rnewman 2013-05-01 09:41:55 -07:00
Shane Caraveo
e665bf4653 bug 851653 add services to addonprovider for fhr, r=gps 2013-04-17 12:43:30 -07:00
Ryan VanderMeulen
fb3f4e9134 Merge the last PGO-green inbound changeset to m-c. 2013-04-15 21:49:22 -04:00
Richard Newman
877deaff3e Bug 855604 - SearchCountMeasurement2 should wait for nsSearchService to initialize asynchronously. r=gps 2013-03-29 09:23:02 -07:00
Nick Alexander
5411bce250 Bug 848519 - Part 3: Replace services-common/preferences.js with gre/modules/Preferences.jsm in imports. r=gavin 2013-04-15 12:45:37 -07:00
Gregory Szorc
1350b4222b Bug 854606 - Use more SQLite transactions; r=rnewman 2013-03-26 13:02:33 -07:00
Mike Connor
22fecad304 bug 840124 - bustage fix for debug leaks 2013-03-26 02:37:59 -04:00
Richard Newman
b3453ce4de Bug 841554 - Part 2: alter search counts provider to record all of Mozilla's partner engines in each locale. r=gps 2013-03-25 18:46:22 -07:00
Gregory Szorc
d336a1014c Bug 850450 - Longitudinal recording of build ID in FHR; r=rnewman 2013-03-19 13:03:24 -07:00
Gregory Szorc
8d9dd69c3e Bug 850483 - Record "blocklist enabled" flag in FHR; r=rnewman 2013-03-19 11:18:07 -07:00
Richard Newman
b61ff1a021 Bug 837292 - Part 3: Add a TelemetryEnabled flag to FHR. r=gps 2013-03-14 22:00:00 -07:00
Gregory Szorc
565606c986 Bug 845842 - Use promises that resolve on later ticks; r=rnewman
This is meant as a temporary workaround until a built-in promise library
offers similar functionality.
2013-03-18 20:47:34 -07:00
Gregory Szorc
0af055906a Bug 843816 - Prevent duplicate recording of sessions in FHR when preference changes are lost; r=rnewman 2013-02-22 16:02:27 -08:00
Gregory Szorc
c8cb148cc8 Bug 841074 - Statically declare fields on FHR measurements; r=rnewman 2013-02-21 14:11:54 -08:00
Gregory Szorc
54e53bc513 Bug 842377 - Rename "constant only" to "pull only"; r=rnewman
The new name better reflects the lazy-init behavior of providers.
2013-02-18 13:05:07 -08:00
Gregory Szorc
b38fb3ce82 Bug 828540 - Part 1: Health Report provider for recording search counts; r=rnewman
--HG--
extra : rebase_source : e09c4f43a124019333d2b8d4591de34a12351b0f
2013-02-12 16:32:43 -08:00
Gregory Szorc
cf32258058 Bug 837238 - Record session time in seconds not milliseconds; r=rnewman 2013-02-05 15:22:33 -08:00
Gregory Szorc
6b02646642 Bug 828546 - Part 2: Health Report probe for Places data; r=rnewman 2013-02-05 10:44:33 -08:00
Phil Ringnalda
835bf59994 Merge m-c to s-c 2013-02-04 18:12:00 -08:00
Gregory Szorc
e629ae617e Bug 836186 - Don't load FHR providers until they are used; r=rnewman 2013-01-31 08:58:19 -08:00
Gregory Szorc
cf1a271733 Bug 834936 - Temporarily load JSMs into fewer compartments; r=rnewman
We concatenate JSMs together so we use less compartments and therefore
less memory. This is intended to be a temporary hack until the overhead
of compartments is less.
2013-01-27 11:26:48 -08:00
Richard Newman
18ea2ae0e4 Bug 830922 - Include version inside measurement payload. r=gps 2013-01-25 00:32:33 -08:00
Gregory Szorc
891d9cdbeb Bug 827157 - Part 2: report current session information. r=rnewman
The previous patch regressed this because HealthReporter was talking
directly to storage instead of going through the measurement instance.
2013-01-19 00:31:38 -08:00
Gregory Szorc
6d3ccffa19 Bug 827157 - Robust and performance sensitive recording of sessions; r=rnewman
We have introduced a new background service that captures session state
in preferences. Firefox Health Report now moves entries from preferences
to its database at payload generation time.

We've also introduced a few random APIs, such as enqueueTransaction()
and the ability for providers to have access to their own pref branch.
2013-01-18 22:35:07 -08:00
Gregory Szorc
b99ea5d08d Bug 827910 - Only include details for "plugin" and "extension" add-ons; r=rnewman 2013-01-08 12:07:27 -08:00
Gregory Szorc
4280c24de2 Bug 808126 - Part 3: Use OS.File.stat() to look for missing directory; r=rnewman 2013-01-07 00:17:19 -08:00
Gregory Szorc
2e373f285f Bug 808126 - Part 2: Work around bug in OS.File.exists(); r=rnewman 2013-01-06 23:03:42 -08:00
Gregory Szorc
d7cdfb93bf Bug 827187 - Report default browser flag in Firefox Health Report; r=rnewman 2013-01-06 18:23:16 -08:00
Gregory Szorc
4c413559a7 Bug 808126 - Crash report collection for Firefox Health Report; r=rnewman 2013-01-06 14:47:18 -08:00
Gregory Szorc
2fcd4cca4a Bug 824528 - Health report provider for collecting add-on info; r=rnewman 2013-01-06 14:40:40 -08:00
Gregory Szorc
e79ef1a44f Bug 826893 - Health Report provider for application sessions; r=rnewman 2013-01-06 12:24:26 -08:00
Gregory Szorc
4adf76369c Bug 826580 - Record application version history in Firefox Health Report; r=rnewman 2013-01-06 12:16:05 -08:00
Gregory Szorc
e80c4f1b4d Bug 812608 - Part 2: Refactor FHR on top of new Metrics APIs; r=rnewman
This also includes a lot of revamped Firefox Health Report features. The
payload format has changed. There is now robust service shutdown logic.
There are more prefs to control behavior. It's almost a rewritten
service.
2013-01-06 12:13:27 -08:00