bryner%brianryner.com
af0d11fd8c
Don't log origin=other, just leave it off instead (bug 337234) r=marria
2006-05-09 23:04:32 +00:00
bryner%brianryner.com
bdf2027728
Fix crash due to not removing dead windows from the window map, by removing the correct pointer and making the hashtable key typesafe (bug 336780). r=marria. Not part of any default builds.
2006-05-09 00:09:13 +00:00
bryner%brianryner.com
3e3f29d9be
- Check the HTTP response code before assuming the upload was successful
...
- Avoid a crash in the app restart case by canceling our upload timer in xpcom-shutdown rather than quit-application (which isn't received at all)
- Always loop over PR_GetRandomNoise until we have the required number of bytes.
Bug 335966, r=darin.
2006-05-02 19:52:36 +00:00
bryner%brianryner.com
caf2f78e9a
Log a hash of the plugin filename as well as the display name (bug 336163) r=marria
2006-05-02 19:21:23 +00:00
bryner%brianryner.com
ed8c5bae4c
Unit test for MetricsEventItem (bug 332449) r=marria
2006-05-02 17:58:33 +00:00
bryner%brianryner.com
2a811161cf
fix build bustage (bug 336199) r=marria
2006-05-02 00:24:04 +00:00
bryner%brianryner.com
287ceb402b
Change from using nsIUpdateTimerManager to a combination of normal timers and a pref-stored retry time in case of repeated errors. This fixes the seconds/milliseconds bug so that the upload timer fires at the right time. Also, flush the prefs file after we set prefs, in case of crash, and turn on NSPR logging in release builds. Bug 335890, r=marria
2006-04-30 19:22:28 +00:00
bryner%brianryner.com
d8a102dbcd
Tag metrics upload channels using the property bag API, rather than trying to keep a reference to our pending channel (bug 335850) r=darin
2006-04-29 21:17:36 +00:00
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