Closed Bug 1346175 Opened 7 years ago Closed 7 years ago

Sync event telemetry should record AsyncResource.serverTime in the extra field for more reliable flow analysis

Categories

(Firefox :: Sync, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 55
Tracking Status
firefox55 --- fixed

People

(Reporter: markh, Assigned: tcsc)

Details

Attachments

(1 file)

      No description provided.
Priority: -- → P1
Assignee: nobody → tchiovoloni
Comment on attachment 8854515 [details]
Bug 1346175 - Record AsyncResource.serverTime in sync telemetry events.

https://reviewboard.mozilla.org/r/126476/#review129112

thanks!
Attachment #8854515 - Flags: review?(markh) → review+
Actually, we better get bsmedberg to sign off on this before landing.
Comment on attachment 8854515 [details]
Bug 1346175 - Record AsyncResource.serverTime in sync telemetry events.

Benjamin, in this patch we are recording the "server time" in our Sync event telemetry. The server time is actually the timestamp from the current user's most recent request to the server. We want to use this as a stable clock we can use to ensure valid ordering of events across multiple devices.

Given sync pings already record a (hashed) version of a sync UID and a (hashed) set of all devices IDs connected to the account, and given the times recorded are specific to this user (as each user makes requests independently and at effectively arbitrary times), I don't see information leakage risks, but asking for data review anyway.
Attachment #8854515 - Flags: review?(benjamin)
Comment on attachment 8854515 [details]
Bug 1346175 - Record AsyncResource.serverTime in sync telemetry events.

https://reviewboard.mozilla.org/r/126476/#review129518

::: commit-message-8d837:1
(Diff revision 1)
> +Bug 1346175 - Record AsyncResource.serverTime in sync telemetry events. r?markh

I do data review against changes to documentation, so I am unable to data-review this.
Attachment #8854515 - Flags: review?(benjamin) → review-
(In reply to Benjamin Smedberg [:bsmedberg] from comment #5)
> I do data review against changes to documentation, so I am unable to
> data-review this.

Can you suggest someone who can?
Flags: needinfo?(benjamin)
I'm sorry I wasn't clear. I am the right person to data-review this, but I need the patch to include documentation updates.
Flags: needinfo?(benjamin)
Comment on attachment 8854515 [details]
Bug 1346175 - Record AsyncResource.serverTime in sync telemetry events.

https://reviewboard.mozilla.org/r/126476/#review131612

data-r=me
Attachment #8854515 - Flags: review?(benjamin) → review+
Pushed by tchiovoloni@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/be484d483520
Record AsyncResource.serverTime in sync telemetry events. r=bsmedberg,markh
https://hg.mozilla.org/mozilla-central/rev/be484d483520
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: