gecko-dev/toolkit/components/telemetry
Lina Cambridge ede2c0b68a 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
2019-06-04 20:08:07 +00:00
..
app Bug 1550928 part 2. Stop using [array] in nsIPluginHost. r=peterv 2019-05-14 09:11:45 +00:00
build_scripts Bug 1539907 - Don't write category labels for histograms when not recorded on target r=chutten 2019-04-05 17:51:59 +00:00
core Bug 1555798 - Use a scalar name copy instead of a &BaseScalarInfo r=Dexter 2019-05-31 13:36:27 +00:00
docs Bug 1552621 - Include optional steps in Sync engine telemetry. r=tcsc,tdsmith 2019-06-04 20:08:07 +00:00
geckoview Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi 2019-04-05 21:42:17 +00:00
hybrid-content Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE 2019-02-14 11:50:23 +02:00
other Bug 1547923 part 2. Remove Promise::GlobalJSObject. r=mccr8 2019-05-02 18:38:04 +00:00
pings Bug 1545365 - Track old and new send time to investigate negativ durations r=chutten 2019-04-26 19:19:16 +00:00
pingsender Bug 1528651 - Re-enable warnings-as-errors on Windows in some directories. r=dmajor 2019-02-17 15:03:02 +09:00
tests Bug 1553236 - Change tests using Services.search.addEngineWithDetails() to use the object parameter form. r=Standard8 2019-06-03 09:55:15 +00:00
components.conf Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE 2019-02-14 11:50:23 +02:00
datareporting-prefs.js
Events.yaml Bug 1543499 - Record telemetry event when opening the password management UI. r=MattN 2019-05-15 23:24:28 +00:00
healthreport-prefs.js
histogram-whitelists.json Backed out changeset c8a19f92ba0d (bug 1549519) for Eslint failure. CLOSED TREE 2019-06-04 22:57:34 +03:00
Histograms.json Backed out changeset c8a19f92ba0d (bug 1549519) for Eslint failure. CLOSED TREE 2019-06-04 22:57:34 +03:00
Makefile.in
moz.build Bug 1545391 - Move ClientID.jsm into Telemetry component r=chutten 2019-04-29 15:39:35 +00:00
Processes.yaml
Scalars.yaml Bug 1554592 - Postpone telemetry expiry for Text Encoding menu probes. r=chutten 2019-06-03 13:06:11 +00:00
telemetry-constants.mozbuild
TelemetryOriginEnums.h Bug 1539641 - Log and report storage access granted reason; r=Ehsan,chutten 2019-04-12 00:38:57 +00:00
TelemetryStartup.jsm Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE 2019-02-14 11:50:23 +02:00