Closed Bug 1324557 Opened 9 years ago Closed 8 years ago

Add stats collection into each sync engine to keep track of record operation at a finer grained level (excluding bookmarks)

Categories

(Firefox for iOS :: Sync, defect, P1)

Other
iOS
defect

Tracking

()

RESOLVED FIXED
Iteration:
1.16
Tracking Status
fxios 7.0+ ---

People

(Reporter: sleroux, Assigned: sleroux)

References

Details

(Whiteboard: [MobileCore][ios-sync])

Attachments

(1 file)

55 bytes, text/x-github-pull-request
rnewman
: review+
Details | Review
Part of the Sync Ping requires us to keep track at a more fine grained level of what is happening within our engines. Specifically, we need to know numbers records we were able to apply or fail. Along the way we should also bundle up any kind of errors we run into. A proposed solution: - Define a new tracker object which holds onto data for an engine's sync session - Create a new tracker instance within the scope of each sync call which gets passed along the syncing process and updated along the way. - Bubble up the tracker and it's information within an EngineResult so we can forward it to the Telemetry system
Let's not call these 'trackers'. Call them 'stats' or something!
Assignee: nobody → sleroux
Status: NEW → ASSIGNED
Iteration: --- → 1.11
Iteration: 1.11 → 1.12
Iteration: 1.12 → 1.13
Priority: -- → P1
Attached file WIP
Attachment #8827199 - Flags: feedback?(rnewman)
Summary: Add trackers into each sync engine to keep track of record operation at a finer grained level → Add stats collection into each sync engine to keep track of record operation at a finer grained level
Attachment #8827199 - Flags: feedback?(rnewman)
Comment on attachment 8827199 [details] [review] WIP Re-flagging for feedback
Attachment #8827199 - Flags: feedback?(rnewman)
Iteration: 1.13 → 1.14
Attachment #8827199 - Flags: feedback?(rnewman) → feedback+
Iteration: 1.14 → 1.15
Summary: Add stats collection into each sync engine to keep track of record operation at a finer grained level → Add stats collection into each sync engine to keep track of record operation at a finer grained level (excluding bookmarks)
Comment on attachment 8827199 [details] [review] WIP This patch has been long running because of the Swift 3 migration delay and is already ~600 lines of changes with some unit tests. I've modified this bug to exclude bookmark stats tracking and work on that as a separate issue since that is pretty large by itself. Bookmark follow up work: https://bugzilla.mozilla.org/show_bug.cgi?id=1324558
Attachment #8827199 - Flags: feedback+ → review?(rnewman)
Also, I found myself extending this branch with other bug work so I figured it would be best to break it up into smaller PRs.
Comment on attachment 8827199 [details] [review] WIP Review comments on GH.
Attachment #8827199 - Flags: review?(rnewman) → review+
Iteration: 1.15 → 1.16
Whiteboard: [MobileCore] → [MobileCore][ios-sync]
master 3f0993bb014514a5de56c667703992c01db91e29
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: