Closed Bug 408729 Opened 17 years ago Closed 17 years ago

Collect "time since open" stat

Categories

(Toolkit :: Crash Reporting, defect, P2)

x86
macOS
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: samuel.sidler+old, Assigned: ted)

Details

Attachments

(1 file, 1 obsolete file)

When should collect a "time since open" stat.

Rationale: 

Collecting the time since last crash is fine for determining the "mean time before crash" but it doesn't help us track if a crash is on startup and see how many startup crashes there are. We can use the "time since [Firefox] open[ed]" to determine if there are a lot of startup crashes and to see how long users regularly keep their browsers open before crashing.
Flags: blocking1.9?
Would really like to get this so we can get a better idea from release to release how we are doing on actual stability
Flags: blocking1.9? → blocking1.9+
Priority: -- → P2
Really simple patch to add a StartupTime field to the crash report.  We can easily calculate time since start by subtracting this from CrashTime on the server.  Obviously we'll need to make a server-side change (and probably a db change) to actually collect this info.
Assignee: nobody → ted.mielczarek
Status: NEW → ASSIGNED
Attachment #293614 - Flags: review?(mark)
Attachment #293614 - Flags: review?(mark) → review+
Checked in.  Filed http://code.google.com/p/socorro/issues/detail?id=114 for the server-side component to this.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Backed out.  This doesn't compile right on Linux/mac.  :-(
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch take 2Splinter Review
Right, tested this on Linux and Win32, should work fine everywhere.
Attachment #293614 - Attachment is obsolete: true
Attachment #294276 - Flags: review?(mark)
Comment on attachment 294276 [details] [diff] [review]
take 2

Even better.
Attachment #294276 - Flags: review?(mark) → review+
Checked in (again).
Status: REOPENED → RESOLVED
Closed: 17 years ago17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: