Open Bug 1127907 Opened 10 years ago Updated 2 years ago

Investigate use of "gather-telemetry" notification

Categories

(Toolkit :: Telemetry, defect, P4)

defect
Points:
1

Tracking

()

People

(Reporter: gfritzsche, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [measurement:client])

Bug 1122066 introduces a proper collection mechanism for telemetry data that is not constantly pushed. We need to port the few users of "gather-telemetry" over to that: https://dxr.mozilla.org/mozilla-central/search?q=gather-telemetry
Blocks: 1122482
No longer blocks: 1120356
Blocks: 1201022
No longer blocks: 1122482
Morphing this into an investigation what the existing users of "gather-telemetry" need and whether we can e.g. just switch them to pushing their data to Telemetry instead.
Points: --- → 1
Priority: -- → P3
Summary: Port gather-telemetry uses to new telemetry collection mechanism → Investigate use of "gather-telemetry" notification
Whiteboard: [measurement:client]
See Also: → 1208167
Background on the mobile use of this notification from bug 1208167: (Mark Finkle (:mfinkle) from bug 1208167, comment #16) > (In reply to Georg Fritzsche [:gfritzsche] from bug 1208167, comment #15) > > What do you need "gather-telemetry" for? > > That notification was never really useful and only a few old pieces of code > > use it. > > > > If you are looking to display the current state of your probe you can e.g. > > view it in about:telemetry and just reload the page to update the values. > > Mobile currently uses "gather-telemetry" as a trigger to send a message to > Java and collect some Java-side probes: > https://dxr.mozilla.org/mozilla-central/source/mobile/android/base/ > BrowserApp.java#1642 > > This bug is a similar type of probe, but on the JS side.
Priority: P3 → P4
Component: Client: Desktop → Telemetry
Product: Firefox Health Report → Toolkit
When does gather-telemtry run? Do we ensure to only run it at idle times?
(In reply to :Ehsan Akhgari (super long backlog, slow to respond) from comment #3) > When does gather-telemtry run? Do we ensure to only run it at idle times? Yes, "gather-telemetry" is fired on "idle-daily": https://dxr.mozilla.org/mozilla-central/rev/17d8a1e278a9c54a6fdda9d390abce4077e55b20/toolkit/components/telemetry/TelemetrySession.jsm#1988
that is: irregularly and not reliably attached to a telemetry session.
Blocks: 1402134
Depends on: 1546443
See Also: → 1677710
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.