Closed
Bug 834086
Opened 12 years ago
Closed 11 years ago
Server backend for Android App Not Responding (ANR) reporting
Categories
(Mozilla Metrics :: Metrics Data Ping, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Unreviewed
People
(Reporter: jchen, Unassigned)
References
Details
(Whiteboard: [ANR])
Attachments
(4 files)
Pending reviews, we want to introduce automatic reporting of Fennec hangs (App Not Responding / ANR). This is the Fennec-equivalent of the chrome hang feature on Desktop.
The reporting process involves taking function call stacks and logs on a hung Android device and sending those data to Metrics through telemetry. Fennec will use the standard telemetry ping JSON format, with some exceptions:
1) Due to limitation in the Java front-end, some fields will not be available in the telemetry ping. For "simpleMeasurements", only "uptime" will be available. Basic fields in "info" will be available, but some of the optional fields in "info" will not be available.
2) Because call stacks are preprocessed on Android, instead of "chromeHangs" field, the Android telemetry ping will have an "androidANR" field containing stacks in text form. Therefore, no further symbol processing is needed.
3) The Android telemetry ping will also have an "androidLogcat" field containing Fennec logs in text form.
Therefore, for basic functionality, the server backend has to extract androidANR and androidLogcat fields from telemetry pings and save them to a protected location (similar to what's being done now for the desktop chrome hang feature).
Reporter | ||
Comment 1•12 years ago
|
||
Reporter | ||
Comment 2•12 years ago
|
||
Reporter | ||
Comment 3•12 years ago
|
||
Reporter | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
This bug doesn't belong in Metrics. I'm not sure if it belongs in Fennec or Socorro though so I can't move it myself.
Comment 6•12 years ago
|
||
I was mistaken. Will discuss with team and get a more accurate follow-up.
Comment 8•12 years ago
|
||
(In reply to Jim Chen [:jchen :nchen] from comment #7)
> Any update, Daniel?
Do you want to include review of this part in the secreview (bug 833991) or should I pick this up with metrics separately (I'm assuming it's more a privacy thing anyway if the server changes are trivial).
Reporter | ||
Comment 9•12 years ago
|
||
(In reply to Mark Goodwin [:mgoodwin] from comment #8)
> (In reply to Jim Chen [:jchen :nchen] from comment #7)
> > Any update, Daniel?
>
> Do you want to include review of this part in the secreview (bug 833991) or
> should I pick this up with metrics separately (I'm assuming it's more a
> privacy thing anyway if the server changes are trivial).
Hm, I don't know if metrics has their own procedure... The changes should be trivial though, because I believe much of the code already exists to process the telemetry pings and save them to protected storage.
Updated•12 years ago
|
Whiteboard: [ANR]
Updated•11 years ago
|
Flags: needinfo?(deinspanjer)
Reporter | ||
Comment 10•11 years ago
|
||
Not relevant anymore because we have http://telemetry.mozilla.org/hang/anr now
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•