forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1552621 - Include optional steps in Sync engine telemetry. r=tcsc…
…,tdsmith Before this commit, we used event telemetry to record timing and counts for the different steps of a bookmark merge (fetching the local tree, new local contents, remote tree, and new remote contents; merging; applying; fetching outgoing records; and notifying observers). This has several limitations. We need to store all numbers as strings, include a "flow ID" to tag events from the same merge, and collect failure reasons twice. We also can't correlate these events to the existing engine telemetry, meaning we can't see other stats for that engine, or for the entire sync. Finally, we need to run separate queries on these events for analysis, instead of extending our existing engine dashboards. This approach also feels like an abuse of event telemetry, so this commit adds a "steps" field for each engine in the Sync ping. Each step has a name, time taken, and additional named counts, like the number of items in the tree, or merged structure stats. Currently, only the `buffered-bookmarks` engine records these steps. Differential Revision: https://phabricator.services.mozilla.com/D33411 --HG-- extra : moz-landing-system : lando
- Loading branch information
1 parent
efa5e0c
commit ede2c0b
Showing
5 changed files
with
82 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters