Consolidate the crash annotation logic

NEW
Unassigned

Status

()

Toolkit
Telemetry
P3
normal
a year ago
4 months ago

People

(Reporter: gsvelto, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox55 affected)

Details

(Whiteboard: [measurement:client])

+++ This bug was initially created as a clone of Bug #1345937 +++

After bug 1341349 lands we'll have two different places where crashes are annotated within the Telemetry code. One invocation in TelemetrySession.jsm attaches the session ID to the crash annotations and the other one in TelemetrySession.jsm attaches the client ID & telemetry URL.

In both cases it's necessary to do some early initialization before the annotations can be written since they depend on a number of elements that aren't immediately available (session ID, client ID, certain telemetry preferences).

It would be best to have all the annotations in one place with one single robust mechanism to guarantee that they're written out properly.

Updated

4 months ago
Depends on: 1416078

Updated

4 months ago
Blocks: 1416078
No longer depends on: 1416078
You need to log in before you can comment on or make changes to this bug.