Closed
Bug 1649357
Opened 5 years ago
Closed 5 years ago
Clarify in telemetry API docs that only events flushed to storage are cleared
Categories
(Toolkit :: Telemetry, task)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla80
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: MattN, Assigned: MattN)
References
Details
Attachments
(1 file)
[Event] telemetry from outside the parent process only gets flushed to the parent process on a 2s interval and Services.telemetry.clearEvents() won’t clear this buffer or prevent those buffered values from being added to the ping data. This can cause confusing failures in tests.
A pref was added to workaround this but it still seems like a footgun for events recorded before clearEvents
to be added to storage after. For now I think we can make this a bit clearer and point to the pref from the .idl docs.
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by mozilla@noorenberghe.ca:
https://hg.mozilla.org/integration/autoland/rev/61865ea6582e
Clarify in telemetry API docs that only events flushed to storage are cleared. r=Dexter
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in
before you can comment on or make changes to this bug.
Description
•