Commit Graph

44 Commits

Author SHA1 Message Date
bryner%brianryner.com
53d8b1407e Make sure to call GetMemUsage_Shutdown when the load collector goes away (bug 335480) r=marria 2006-04-26 20:41:09 +00:00
bryner%brianryner.com
f63f050b59 fix MSVC6 build (bug 335120) r=marria 2006-04-26 20:37:19 +00:00
bryner%brianryner.com
89cb5787e8 Strip cookies from upload requests (bug 335455) r=marria 2006-04-26 19:21:28 +00:00
bryner%brianryner.com
67ac1db716 Add logging for command events in the UI (bug 328069). As part of this change, we're adding an onAttach() notification to nsIMetricsCollector, so that re-enabling a disabled collector can work properly. Patch by Marria Nazif <marria@gmail.com>, r=me. 2006-04-26 04:16:38 +00:00
bryner%brianryner.com
22ba033aa0 Redo the way that collectors are created and destroyed to be more stable and extensible (bug 335120). Collectors are now instantiated by contract id and held onto by the metrics service directly. r=darin 2006-04-25 04:00:40 +00:00
bryner%brianryner.com
e60fb67cd7 Don't unnecessarily truncate the memory size (bug 335119) r=marria 2006-04-24 02:45:27 +00:00
bryner%brianryner.com
9e237614e6 Install metrics as a global extension if it's built (bug 334896). r=darin 2006-04-21 06:08:56 +00:00
bryner%brianryner.com
5e0e1947a2 Work around lack of toplevel-window-ready in Firefox 1.5 by using a timer callback when we see a domwindowopened notification (bug 334892) r=darin 2006-04-21 02:05:32 +00:00
darin%meer.net
de6ca592ac fix mac bustage 2006-04-21 01:54:13 +00:00
bryner%brianryner.com
04e3a56d1a Address a review comment by keeping a reference to the metrics service (bug 329871), r=marria 2006-04-21 01:32:44 +00:00
darin%meer.net
344c13ee1c fixes bug 334873 "metrics.dll fails to link on windows" patch by bryner, r=darin 2006-04-21 01:26:14 +00:00
bryner%brianryner.com
76a576b446 remove unneeded include of nsIUUIDGenerator.h (bug 334750) r=marria 2006-04-20 23:25:32 +00:00
bryner%brianryner.com
6155ecee0e Change from nsMemory::Free to NS_Free (bug 329871) r=darin 2006-04-20 22:33:09 +00:00
bryner%brianryner.com
b69372252d Add some missing includes (bug 329871) r=darin 2006-04-20 22:31:27 +00:00
bryner%brianryner.com
ac3800ee1e Add support for profile events (bug 329871), r=marria. 2006-04-20 18:31:05 +00:00
bryner%brianryner.com
484bb7e786 Install a BadCertHandler to avoid prompting the user when there's an SSL cert mismatch. Add a pref for automatic accept of a different cert name. Bug 334783, r=darin. 2006-04-20 17:35:53 +00:00
bryner%brianryner.com
1136d6d9a9 Fix libbz2 stream usage so that compression works again (bug 334768). r=darin. 2006-04-20 17:25:52 +00:00
darin%meer.net
54f6bc3d00 fixes bug 334774 "reset mEventCount upon upload" r=bryner 2006-04-20 05:07:59 +00:00
bryner%brianryner.com
37bae83aa1 Fix assertions from nsMetricsEventItem::SetProperties() (bug 334044). r=darin. 2006-04-19 01:07:18 +00:00
darin%meer.net
c256dfbe2b fixes bug 334044 "build metrics as a standalone extension" r=bryner 2006-04-18 22:36:26 +00:00
bryner%brianryner.com
c0f9fdac7f fixing branch compile error (bug 333079) r=marria 2006-04-07 02:03:14 +00:00
bryner%brianryner.com
08f71c16e4 Add support for logging nested data structures with events (bug 332172). r=marria. 2006-04-01 00:06:41 +00:00
bryner%brianryner.com
a7a6028139 fix usage of mEventSet prior to initializing it (regression from bug 331166) r=marria 2006-03-28 01:40:22 +00:00
bryner%brianryner.com
5dff8731c7 Separate the window ID map from the window collector, so that there's not a dependency between the collectors (bug 331508), r=marria 2006-03-27 22:48:14 +00:00
bryner%brianryner.com
0ec527b6ae change <load> event to <document action='load'> for consistency (bug 330711). r=marria 2006-03-25 02:34:17 +00:00
bryner%brianryner.com
0f05dc84d8 fix metrics build on the 1.8 branch, where NS_ASSIGNMENT_COPY is not defined (bug 331622). patch by darin, r=me. 2006-03-24 19:00:20 +00:00
bryner%brianryner.com
3260b52a9c - attach a session id to each logged event
- move the bulk of MetricsService startup to the profile-after-change  notification, so that it can read and write profile prefs.
- don't start up all collectors at startup, just the ones we were told to enable. make the collectors handle repeated startup or shutdown calls.
- move log flushing from xpcom-shutdown to quit-application to avoid DOM serializer crashes
- default to no event limit, if the server doesn't give a limit
- avoid a debug warning if there's no config file present at startup

bug 331166, r=marria
2006-03-23 21:34:00 +00:00
bryner%brianryner.com
93ef437883 Go back to the attribute-based approach for client id (bug 330712), r=darin. 2006-03-23 20:33:58 +00:00
bryner%brianryner.com
a68038606f fixing bad assertion bustage, bug 330712 2006-03-22 18:19:06 +00:00
bryner%brianryner.com
17bd271bdc #ifdef'ing new include for the branch 2006-03-22 04:59:11 +00:00
bryner%brianryner.com
be4cba9e54 Generate a client ID and send it in an HTTP header (bug 330712) r=darin 2006-03-22 02:53:05 +00:00
darin%meer.net
dd7ffaf0ca fixes bug 328125 "Add support for dynamic configuration and throttling" r=bryner 2006-03-17 02:58:16 +00:00
bryner%brianryner.com
4cd1e2b280 Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin. 2006-03-15 04:59:42 +00:00
darin%meer.net
f814fd1ca7 fixes bug 328068 "[osx] gather memory usage data for load events" r=bryner 2006-03-15 00:25:05 +00:00
darin%meer.net
8f036a01aa fixes bug 328068 "gather memory usage data for load events" r=bryner 2006-03-08 15:09:25 +00:00
bryner%brianryner.com
23f833fd94 Generate 'true' and 'false' for boolean values, rather than '1' and '0' (bug 329304). r=marria, 2006-03-07 05:31:32 +00:00
bryner%brianryner.com
ad2b3aee68 Get the DocShell by QI'ing the WebProgress object - this is easier and also allows the code to work on the 1.8 branch. Bug 329287, r=marria. 2006-03-07 05:02:40 +00:00
bryner%brianryner.com
5614978a53 switch from using 'domwindowcreated' to NS_WEBNAVIGATION_CREATE (bug 329254) r=marria 2006-03-03 20:12:50 +00:00
bryner%brianryner.com
0907e1c2c4 Consolidate window events into a single element (bug 329187) r=marria. 2006-03-03 18:14:26 +00:00
darin%meer.net
e1b906a9f0 fixes bug 328066 "implement bzip2 compression for sending metrics log" r=bryner 2006-02-28 03:30:01 +00:00
bryner%brianryner.com
82e8edd7fa Don't forget to set the 'time' attribute when logging events (bug 327970). r=marria. 2006-02-21 19:36:50 +00:00
bryner%brianryner.com
3efbb7990d Rename 'id' attribute to 'window' for window events, since id has special meaning (bug 327770). r=marria. 2006-02-21 19:33:23 +00:00
bryner%brianryner.com
42d600e150 Switch metrics logging over to an XML format. Add collectors for window and load events. Bug 326707, r=darin. Not part of the build. 2006-02-17 05:22:13 +00:00
darin%meer.net
e918be96af fixes bug 324558 "Build data collection service to gather browser metrics" r=bryner 2006-02-03 00:32:50 +00:00