Open Bug 1769244 Opened 2 years ago Updated 2 years ago

[QM_TRY] Cumulate error propagation stacks before sending them

Categories

(Core :: Storage: Quota Manager, enhancement)

enhancement

Tracking

()

People

(Reporter: jstutte, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Instead of sending single events for each new instance of the same error, we could just record failures and their counts inside Firefox. Telemetry would then be needed only on shutdown (or startup) and on crash to send the accumulated errors. This would heavily reduce the amount of data such that we could probably think of a general telemetry recording switched always on at least for nightly builds.
Given that we can ensure that each propagation stack appears only once in memory while accumulating, we would probably not generate an excessive memory overhead (TBC). We still would need to do some extra work on the receiver side to mangle together propagation stacks that come in from different clients/sessions for the same build ids, of course, but this part would be 100% deterministic as each incoming event would represent an entire propagation stack (or even a set of complete stacks, TBD).

Blocks: 1702411
You need to log in before you can comment on or make changes to this bug.