Closed
Bug 1643395
Opened 4 years ago
Closed 4 years ago
Add test capability for FOG to direct pings to local servers
Categories
(Toolkit :: Telemetry, task, P1)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla79
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: chutten, Assigned: chutten)
References
Details
(Whiteboard: [telemetry:fog:m4])
Attachments
(1 file)
Integration tests of FOG-having Firefox Desktop instances will require some way to change the server that pings are uploaded to from incoming.telemetry.mozilla.org to one hosted on a port on the local machine.
I think we should be able to do this by:
- Making a pref (marionette can set prefs) for what port we should use
- Reading that pref on every upload
- If that pref is absent or 0, use
https://incoming.telemetry.mozilla.org
- If that pref is present and non-0, send to
http://localhost:prefport
(note the protocol)
- If that pref is absent or 0, use
Assignee | ||
Comment 1•4 years ago
|
||
Test procedure for this patch was to add the patch to t/c/g/src/lib.rs from https://bugzilla.mozilla.org/show_bug.cgi?id=1623304#c10, build FIrefox, and run it with RUST_LOG="fog,glean" ./mach run
. The log should print out the url it tried to post the ping to which, if the pref is set to a value greater than 0, is localhost.
Assignee | ||
Comment 2•4 years ago
|
||
Pushed by chutten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/62626a107c76 Allow configuring FOG server to localhost via pref r=janerik
Comment 4•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox79:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in
before you can comment on or make changes to this bug.
Description
•