Collect "time since open" stat

RESOLVED FIXED

Status

()

P2
normal
RESOLVED FIXED
11 years ago
11 years ago

People

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

Tracking

Trunk
x86
Mac OS X
Points:
---
Bug Flags:
blocking1.9 +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

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?

Comment 1

11 years ago
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
Created attachment 293614 [details] [diff] [review]
annotate crash report with StartupTime

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)

Updated

11 years ago
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
Last Resolved: 11 years ago
Resolution: --- → FIXED
Backed out.  This doesn't compile right on Linux/mac.  :-(
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Created attachment 294276 [details] [diff] [review]
take 2

Right, tested this on Linux and Win32, should work fine everywhere.
Attachment #293614 - Attachment is obsolete: true
Attachment #294276 - Flags: review?(mark)

Comment 6

11 years ago
Comment on attachment 294276 [details] [diff] [review]
take 2

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