Bug 1486072 - Make `products` key required for Telemetry r=janerik

The "products" key is used to specify for which products the Histogram, Scalar,
or Event are to be recorded in. Make the key explicit, setting everything to
be recorded on all currently-available platforms to begin with.

Differential Revision: https://phabricator.services.mozilla.com/D38121

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Chris H-C 2019-07-16 15:20:22 +00:00
Родитель 2f409ddde7
Коммит ded85232da
13 изменённых файлов: 2999 добавлений и 31 удалений

Просмотреть файл

@ -47,6 +47,10 @@ activity_stream:
"TOP_SITES_EDIT_CLOSE",
"UNPIN"]
release_channel_collection: opt-out
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: >
This is recorded with every user interaction on Activity Stream elements.
@ -65,6 +69,10 @@ activity_stream:
end:
objects: ["session"]
release_channel_collection: opt-out
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: >
This is recorded with every session ended in Activity Stream.
@ -87,6 +95,10 @@ activity_stream:
notification_emails:
- "najiang@mozilla.com"
- "edilee@mozilla.com"
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
expiry_version: never
extra_keys:
@ -126,6 +138,10 @@ addonsManager:
- download_started, download_completed, download_failed
notification_emails: ["addons-dev-internal@mozilla.com"]
expiry_version: "73"
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
bug_numbers: [1433335, 1515697, 1523641, 1549770]
release_channel_collection: opt-out
@ -146,6 +162,10 @@ addonsManager:
num_strings: The number of permission description strings in the extension permission doorhanger
notification_emails: ["addons-dev-internal@mozilla.com"]
expiry_version: "73"
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
bug_numbers: [1433335, 1515697, 1523641, 1549770]
release_channel_collection: opt-out
@ -165,6 +185,10 @@ addonsManager:
type: "For search: the type of page for this view (especially extension or theme list)."
notification_emails: ["addons-dev-internal@mozilla.com"]
expiry_version: "73"
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
bug_numbers: [1500147, 1546248]
release_channel_collection: opt-out
@ -183,6 +207,10 @@ addonsManager:
addonId: The id of the add-on being acted upon.
notification_emails: ["addons-dev-internal@mozilla.com"]
expiry_version: "73"
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
bug_numbers: [1500147]
release_channel_collection: opt-out
@ -209,6 +237,10 @@ addonsManager:
addonId: The id of the add-on being acted upon.
notification_emails: ["addons-dev-internal@mozilla.com"]
expiry_version: "73"
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
bug_numbers: [1500147, 1513344, 1529347, 1546248]
release_channel_collection: opt-out
@ -228,6 +260,10 @@ addonsManager:
ERROR_RECENT_SUBMIT, ERROR_SERVER
notification_emails: ["addons-dev-internal@mozilla.com"]
expiry_version: "73"
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
bug_numbers: [1544927]
release_channel_collection: opt-out
@ -238,6 +274,10 @@ extensions.data:
bug_numbers: [1470213, 1553297]
notification_emails: ["addons-dev-internal@mozilla.com"]
expiry_version: "73"
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
release_channel_collection: opt-out
extra_keys:
@ -260,6 +300,10 @@ navigation:
"suggestion", "alias", "enter", "searchbar", "urlbar",
"webextension"]
release_channel_collection: opt-out
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: >
This is recorded on each search navigation.
@ -287,6 +331,10 @@ normandy:
addonVersion: For addon_study recipes, the version of the addon that was installed.
bug_numbers: [1443560]
notification_emails: ["normandy-notifications@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: [main]
release_channel_collection: opt-out
expiry_version: never
@ -307,6 +355,10 @@ normandy:
The branch that failed to enroll.
bug_numbers: [1443560]
notification_emails: ["normandy-notifications@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: [main]
release_channel_collection: opt-out
expiry_version: never
@ -327,6 +379,10 @@ normandy:
branch: The branch that was updated.
bug_numbers: [1443560, 1474413]
notification_emails: ["normandy-notifications@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: [main]
release_channel_collection: opt-out
expiry_version: never
@ -344,6 +400,10 @@ normandy:
branch: The branch that failed to update.
bug_numbers: [1474413]
notification_emails: ["normandy-notifications@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: [main]
release_channel_collection: opt-out
expiry_version: never
@ -363,6 +423,10 @@ normandy:
branch: The branch of the experiment that this client was on.
bug_numbers: [1443560]
notification_emails: ["normandy-notifications@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: [main]
release_channel_collection: opt-out
expiry_version: never
@ -376,6 +440,10 @@ normandy:
reason: A code describing the reason the unenroll failed.
bug_numbers: [1443560]
notification_emails: ["normandy-notifications@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: [main]
release_channel_collection: opt-out
expiry_version: never
@ -387,6 +455,10 @@ normandy:
preference becoming a new default.
bug_numbers: [1443560]
notification_emails: ["normandy-notifications@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: [main]
release_channel_collection: opt-out
expiry_version: never
@ -399,6 +471,10 @@ pwmgr:
Sent when opening the password management UI.
bug_numbers: [1543499, 1454733, 1545172]
notification_emails: ["loines@mozilla.com", "passwords-dev@mozilla.org", "sfoster@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: [main]
release_channel_collection: opt-out
expiry_version: never
@ -433,6 +509,10 @@ pwmgr:
expiry_version: "74"
notification_emails: ["loines@mozilla.com", "passwords-dev@mozilla.org", "jaws@mozilla.com"]
release_channel_collection: opt-out
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: [content]
autocomplete_field:
@ -442,6 +522,10 @@ pwmgr:
Sent the first time each unique generated password is used to fill a login field - i.e. the user selects it from from the autocomplete dropdown on a password input
bug_numbers: [1548878]
notification_emails: ["loines@mozilla.com", "passwords-dev@mozilla.org", "sfoster@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
release_channel_collection: opt-out
expiry_version: never
@ -462,6 +546,10 @@ fxa_avatar_menu:
]
methods: ["click"]
release_channel_collection: opt-out
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: This is recorded on interactions with the FxA avatar menu on the toolbar
bug_numbers: [1524665]
@ -487,6 +575,10 @@ fxa_app_menu:
]
methods: ["click"]
release_channel_collection: opt-out
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: This is recorded on interactions with the FxA menu in the app (hamburger) menu
bug_numbers: [1542334]
@ -506,6 +598,10 @@ telemetry.test:
objects: ["object1", "object2"]
bug_numbers: [1286606]
notification_emails: ["telemetry-client-dev@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: This is a test entry for Telemetry.
expiry_version: never
@ -517,6 +613,10 @@ telemetry.test:
bug_numbers: [1286606]
notification_emails: ["telemetry-client-dev@mozilla.com"]
release_channel_collection: opt-out
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: This is an opt-out test entry.
expiry_version: never
@ -526,6 +626,10 @@ telemetry.test:
objects: ["object1", "object2"]
bug_numbers: [1286606]
notification_emails: ["telemetry-client-dev@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: This is a test entry with an expired version.
expiry_version: "3"
@ -535,12 +639,20 @@ telemetry.test:
notification_emails: ["telemetry-client-dev@mozilla.com"]
description: This is an opt-out test entry with unexpired date and version.
release_channel_collection: opt-out
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
expiry_version: "999"
main_only:
objects: ["object1"]
bug_numbers: [1313326]
notification_emails: ["telemetry-client-dev@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: This event is used to test main-process only recording.
expiry_version: never
@ -548,6 +660,10 @@ telemetry.test:
objects: ["object1"]
bug_numbers: [1313326]
notification_emails: ["telemetry-client-dev@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["content"]
description: This event is used to test content-process only recording.
expiry_version: never
@ -558,6 +674,10 @@ telemetry.test:
objects: ["object1"]
bug_numbers: [1313326]
notification_emails: ["telemetry-client-dev@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main", "content"]
description: This event is used to test main and content process recording.
expiry_version: never
@ -565,6 +685,10 @@ telemetry.test:
objects: ["object1"]
bug_numbers: [1452552]
notification_emails: ["telemetry-client-dev@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: This event is used to test default products main recording.
expiry_version: never
@ -572,6 +696,10 @@ telemetry.test:
objects: ["object1"]
bug_numbers: [1452552]
notification_emails: ["telemetry-client-dev@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: This event is used to test desktop-only main recording.
expiry_version: never
@ -580,6 +708,10 @@ telemetry.test:
objects: ["object1"]
bug_numbers: [1452552]
notification_emails: ["telemetry-client-dev@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: This event is used to test multiproduct main recording.
expiry_version: never
@ -588,6 +720,10 @@ telemetry.test:
objects: ["object1"]
bug_numbers: [1452552]
notification_emails: ["telemetry-client-dev@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: This event is used to test mobile-only main recording.
expiry_version: never
@ -600,6 +736,10 @@ telemetry.test.second:
objects: ["object1", "object2", "object3"]
bug_numbers: [1286606]
notification_emails: ["telemetry-client-dev@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: This is a test entry for Telemetry.
expiry_version: never
@ -611,6 +751,10 @@ devtools.main:
objects: ["responsive_design", "split_console"]
bug_numbers: [1455273]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User activates the responsive_design or split_console in the devtools toolbox.
release_channel_collection: opt-out
@ -623,6 +767,10 @@ devtools.main:
objects: ["debugger"]
bug_numbers: [1463123]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has added a breakpoint to a script.
release_channel_collection: opt-out
@ -633,6 +781,10 @@ devtools.main:
objects: ["debugger"]
bug_numbers: [1463126]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User clicked the blackbox button to blackbox a script.
release_channel_collection: opt-out
@ -643,6 +795,10 @@ devtools.main:
objects: ["tools"]
bug_numbers: [1453312]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User closes devtools toolbox.
release_channel_collection: opt-out
@ -655,6 +811,10 @@ devtools.main:
objects: ["aboutdebugging"]
bug_numbers: [1504173]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User closes about:debugging.
release_channel_collection: opt-out
@ -666,6 +826,10 @@ devtools.main:
objects: ["aboutdebugging"]
bug_numbers: [1549970]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User is trying to connect to a remote runtime.
release_channel_collection: opt-out
@ -680,6 +844,10 @@ devtools.main:
objects: ["debugger"]
bug_numbers: [1463122]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has pressed the continue button on a paused script.
release_channel_collection: opt-out
@ -690,6 +858,10 @@ devtools.main:
objects: ["responsive_design", "split_console"]
bug_numbers: [1455275]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User deactivates the responsive_design or split_console in the devtools toolbox.
release_channel_collection: opt-out
@ -702,6 +874,10 @@ devtools.main:
objects: ["aboutdebugging"]
bug_numbers: [1521507]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: A new device was detected in about:debugging
release_channel_collection: opt-out
@ -714,6 +890,10 @@ devtools.main:
objects: ["aboutdebugging"]
bug_numbers: [1521507]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: A previously listed device was removed in about:debugging
release_channel_collection: opt-out
@ -726,6 +906,10 @@ devtools.main:
objects: ["inspector"]
bug_numbers: [1463080]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User is editing HTML via the context menu item in the markup view.
release_channel_collection: opt-out
@ -738,6 +922,10 @@ devtools.main:
objects: ["netmonitor"]
bug_numbers: [1463171]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has executed edit / resend in the netmonitor.
release_channel_collection: opt-out
@ -748,6 +936,10 @@ devtools.main:
objects: ["ruleview"]
bug_numbers: [1463081]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User is editing a CSS rule by clicking on or next to a CSS property, enabling / disabling a rule or creating a new property.
release_channel_collection: opt-out
@ -758,6 +950,10 @@ devtools.main:
objects: ["accessibility", "application", "dom", "inspector", "jsdebugger", "memory", "netmonitor", "options", "performance", "scratchpad", "storage", "styleeditor", "webconsole", "other", "fakeTool4242", "testBlankPanel", "testTool", "testtool1", "testTool1072208", "testtool2"]
bug_numbers: [1441070]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User opens a tool in the devtools toolbox.
release_channel_collection: opt-out
@ -774,6 +970,10 @@ devtools.main:
objects: ["webconsole"]
bug_numbers: [1463083]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has executed some JS in the Web Console.
release_channel_collection: opt-out
@ -785,6 +985,10 @@ devtools.main:
objects: ["accessibility", "application", "dom", "inspector", "jsdebugger", "memory", "netmonitor", "options", "performance", "scratchpad", "storage", "styleeditor", "webconsole", "other", "fakeTool4242", "testBlankPanel", "testTool", "testtool1", "testTool1072208", "testtool2"]
bug_numbers: [1455270]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User closes a tool in the devtools toolbox.
release_channel_collection: opt-out
@ -800,6 +1004,10 @@ devtools.main:
objects: ["netmonitor", "webconsole"]
bug_numbers: [1463144, 1463095]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has changed filters in the web console.
release_channel_collection: opt-out
@ -813,6 +1021,10 @@ devtools.main:
objects: ["aboutdebugging"]
bug_numbers: [1504173]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has clicked on the inspect button of one of the debug targets of aboutdebugging.
release_channel_collection: opt-out
@ -825,6 +1037,10 @@ devtools.main:
objects: ["webconsole"]
bug_numbers: [1463101]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has clicked "Jump to definition" icon (next to logged functions) in the web console.
release_channel_collection: opt-out
@ -835,6 +1051,10 @@ devtools.main:
objects: ["webconsole"]
bug_numbers: [1463092]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has clicked a link to a source file in the web console.
release_channel_collection: opt-out
@ -845,6 +1065,10 @@ devtools.main:
objects: ["webconsole"]
bug_numbers: [1463104]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has expanded an object in the web console.
release_channel_collection: opt-out
@ -855,6 +1079,10 @@ devtools.main:
objects: ["tools"]
bug_numbers: [1416024, 1456984]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User opens devtools toolbox.
release_channel_collection: opt-out
@ -871,6 +1099,10 @@ devtools.main:
objects: ["aboutdebugging"]
bug_numbers: [1504173]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User opens about:debugging.
release_channel_collection: opt-out
@ -882,6 +1114,10 @@ devtools.main:
objects: ["debugger"]
bug_numbers: [1463117]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has changed pausing behaviour in the debugger.
release_channel_collection: opt-out
@ -894,6 +1130,10 @@ devtools.main:
objects: ["debugger"]
bug_numbers: [1463118]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: Debugger has paused in a script due to a breakpoint or exception.
release_channel_collection: opt-out
@ -906,6 +1146,10 @@ devtools.main:
objects: ["netmonitor", "webconsole"]
bug_numbers: [1531395, 1542312]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has changed log persist status.
release_channel_collection: opt-out
@ -916,6 +1160,10 @@ devtools.main:
objects: ["debugger"]
bug_numbers: [1463125]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User clicked the pretty print button to pretty print a script.
release_channel_collection: opt-out
@ -926,6 +1174,10 @@ devtools.main:
objects: ["debugger"]
bug_numbers: [1463124]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has removed a breakpoint from a script.
release_channel_collection: opt-out
@ -936,6 +1188,10 @@ devtools.main:
objects: ["aboutdebugging"]
bug_numbers: [1521507]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: A new remote runtime has been detected in about:debugging
release_channel_collection: opt-out
@ -950,6 +1206,10 @@ devtools.main:
objects: ["aboutdebugging"]
bug_numbers: [1521507, 1530997]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: Connection was established with a remote runtime in about:debugging
release_channel_collection: opt-out
@ -966,6 +1226,10 @@ devtools.main:
objects: ["aboutdebugging"]
bug_numbers: [1521507]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: Connection was lost with a remote runtime in about debugging
release_channel_collection: opt-out
@ -980,6 +1244,10 @@ devtools.main:
objects: ["aboutdebugging"]
bug_numbers: [1521507]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: A previously listed runtime was removed in about:debugging
release_channel_collection: opt-out
@ -994,6 +1262,10 @@ devtools.main:
objects: ["aboutdebugging"]
bug_numbers: [1504173]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User navigates to a new page of an application such as about:debugging
release_channel_collection: opt-out
@ -1005,6 +1277,10 @@ devtools.main:
objects: ["aboutdebugging"]
bug_numbers: [1521511]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has clicked on the "Open Profiler" button in a runtime page of about:debugging
release_channel_collection: opt-out
@ -1016,6 +1292,10 @@ devtools.main:
objects: ["inspector", "netmonitor"]
bug_numbers: [1463083, 1463169]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has switched sidepanel tabs.
release_channel_collection: opt-out
@ -1029,6 +1309,10 @@ devtools.main:
objects: ["netmonitor"]
bug_numbers: [1463147]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has changed the throttle setting in the netmonitor.
release_channel_collection: opt-out
@ -1040,6 +1324,10 @@ devtools.main:
objects: ["animationinspector", "computedview", "changesview", "fontinspector", "layoutview", "ruleview"]
bug_numbers: [1483817]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: The amount of time a tool was opened for.
release_channel_collection: opt-out
@ -1052,6 +1340,10 @@ devtools.main:
objects: ["aboutdebugging"]
bug_numbers: [1521511]
notification_emails: ["dev-developer-tools@lists.mozilla.org", "hkirschner@mozilla.com"]
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
description: User has clicked on the "Enable/Disable connection prompt" button in a runtime page of about:debugging
release_channel_collection: opt-out
@ -1076,6 +1368,10 @@ security.ui.certerror:
- rtestard@mozilla.com
- seceng-telemetry@mozilla.com
release_channel_collection: opt-out
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main", "content"]
products:
- firefox
@ -1106,6 +1402,10 @@ security.ui.certerror:
- rtestard@mozilla.com
- seceng-telemetry@mozilla.com
release_channel_collection: opt-out
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["content"]
products:
- firefox
@ -1131,6 +1431,10 @@ security.ui.identitypopup:
- pdol@mozilla.com
- seceng-telemetry@mozilla.com
release_channel_collection: opt-in
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes:
- main
products:
@ -1153,6 +1457,10 @@ security.ui.identitypopup:
- pdol@mozilla.com
- seceng-telemetry@mozilla.com
release_channel_collection: opt-in
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes:
- main
products:
@ -1183,6 +1491,10 @@ uptake.remotecontent.result:
The duration of the synchronization process in milliseconds.
bug_numbers:
- 1517469
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
release_channel_collection: opt-out
expiry_version: never
@ -1218,6 +1530,10 @@ intl.ui.browserLanguage:
- flod@mozilla.com
- mstriemer@mozilla.com
release_channel_collection: opt-out
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes: ["main"]
bug_numbers: [1486507, 1553311]
@ -1240,6 +1556,10 @@ security.ui.permissionprompt:
- ehsan@mozilla.com
- seceng-telemetry@mozilla.com
release_channel_collection: opt-out
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes:
- main
extra_keys:
@ -1276,6 +1596,10 @@ security.ui.permissionprompt:
- ehsan@mozilla.com
- seceng-telemetry@mozilla.com
release_channel_collection: opt-out
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes:
- main
extra_keys:
@ -1304,6 +1628,10 @@ pictureinpicture:
notification_emails:
- mconley@mozilla.com
- astevenson@mozilla.com
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes:
- main
bug_numbers:
@ -1320,6 +1648,10 @@ pictureinpicture:
notification_emails:
- mconley@mozilla.com
- astevenson@mozilla.com
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes:
- main
bug_numbers:
@ -1336,6 +1668,10 @@ pictureinpicture:
notification_emails:
- mconley@mozilla.com
- astevenson@mozilla.com
products:
- "firefox"
- "fennec"
- "geckoview"
record_in_processes:
- main
bug_numbers:

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -162,6 +162,7 @@ def generate_JSON_definitions(output, *filenames):
# use in local developer builds anyway. They will expire when rebuilding.
'expires': event.expiry_version,
'expired': False,
'products': event.products,
})
json.dump(event_definitions, output)

Просмотреть файл

@ -144,6 +144,7 @@ def generate_JSON_definitions(output, *filenames):
'expired': False,
'stores': scalar.record_into_store,
'expires': scalar.expires,
'products': scalar.products,
})
json.dump(scalar_definitions, output)

Просмотреть файл

@ -41,6 +41,7 @@ class OneOf:
class AtomicTypeChecker:
"""Validate a simple value against a given type"""
def __init__(self, instance_type):
self.instance_type = instance_type
@ -53,6 +54,7 @@ class AtomicTypeChecker:
class MultiTypeChecker:
"""Validate a simple value against a list of possible types"""
def __init__(self, *instance_types):
if not instance_types:
raise Exception("At least one instance type is required.")
@ -68,6 +70,7 @@ class MultiTypeChecker:
class ListTypeChecker:
"""Validate a list of values against a given type"""
def __init__(self, instance_type):
self.instance_type = instance_type
@ -85,6 +88,7 @@ class ListTypeChecker:
class DictTypeChecker:
"""Validate keys and values of a dict against a given type"""
def __init__(self, keys_instance_type, values_instance_type):
self.keys_instance_type = keys_instance_type
self.values_instance_type = values_instance_type
@ -117,13 +121,13 @@ def type_check_event_fields(identifier, name, definition):
'notification_emails': ListTypeChecker(basestring),
'record_in_processes': ListTypeChecker(basestring),
'description': AtomicTypeChecker(basestring),
'products': ListTypeChecker(basestring),
}
OPTIONAL_FIELDS = {
'methods': ListTypeChecker(basestring),
'release_channel_collection': AtomicTypeChecker(basestring),
'expiry_version': AtomicTypeChecker(basestring),
'extra_keys': DictTypeChecker(basestring, basestring),
'products': ListTypeChecker(basestring),
'operating_systems': ListTypeChecker(basestring),
}
ALL_FIELDS = REQUIRED_FIELDS.copy()
@ -197,7 +201,7 @@ class EventData:
proc).handle_later()
# Check products.
products = definition.get('products', [])
products = definition.get('products')
for product in products:
if not utils.is_valid_product(product):
ParserError(self.identifier + ': Unknown value in products: ' +
@ -272,7 +276,7 @@ class EventData:
@property
def products(self):
"""Get the non-empty list of products to record data on"""
return self._definition.get('products', ["all"])
return self._definition.get('products')
@property
def products_enum(self):

Просмотреть файл

@ -134,6 +134,7 @@ definition is a dict-like object that must contain at least the keys:
if self._is_use_counter:
definition.setdefault('record_in_processes', ['main', 'content'])
definition.setdefault('releaseChannelCollection', 'opt-out')
definition.setdefault('products', ['firefox', 'fennec', 'geckoview'])
self.verify_attributes(name, definition)
self._name = name
self._description = definition['description']
@ -144,7 +145,7 @@ definition is a dict-like object that must contain at least the keys:
self._labels = definition.get('labels', [])
self._record_in_processes = definition.get('record_in_processes')
self._record_into_store = definition.get('record_into_store', ['main'])
self._products = definition.get('products', ["all"])
self._products = definition.get('products')
self._operating_systems = definition.get('operating_systems', ["all"])
self.compute_bucket_parameters(definition)
@ -352,7 +353,7 @@ the histogram."""
not utils.validate_expiration_version(expiration) and \
self._strict_type_checks:
ParserError(('Error for histogram {} - invalid {}: {}.'
'\nSee: {}#expires-in-version')
'\nSee: {}#expires-in-version')
.format(name, field, expiration, HISTOGRAMS_DOC_URL)).handle_later()
expiration = utils.add_expiration_postfix(expiration)
@ -408,8 +409,8 @@ the histogram."""
DOC_URL = HISTOGRAMS_DOC_URL + "#products"
if not products:
# products is optional
return
ParserError('Histogram "%s" must have a "%s" field:\n%s'
% (name, field, DOC_URL)).handle_now()
for product in products:
if not utils.is_valid_product(product):

Просмотреть файл

@ -104,13 +104,13 @@ class ScalarType:
'kind': basestring,
'notification_emails': list, # This contains strings. See LIST_FIELDS_CONTENT.
'record_in_processes': list,
'products': list,
}
OPTIONAL_FIELDS = {
'release_channel_collection': basestring,
'keyed': bool,
'operating_systems': list,
'products': list,
'record_into_store': list,
}
@ -302,7 +302,7 @@ class ScalarType:
@property
def products(self):
"""Get the non-empty list of products to record data on"""
return self._definition.get('products', ["all"])
return self._definition.get('products')
@property
def products_enum(self):

Просмотреть файл

@ -28,7 +28,6 @@ SUPPORTED_PRODUCTS = {
'firefox': 'Firefox',
'fennec': 'Fennec',
'geckoview': 'Geckoview',
'all': 'All',
}
SUPPORTED_OPERATING_SYSTEMS = [
@ -118,6 +117,8 @@ def canonical_os(os):
def product_name_to_enum(product):
if not is_valid_product(product):
raise ParserError("Invalid product {}".format(product))
return PRODUCT_ENUM_PREFIX + SUPPORTED_PRODUCTS.get(product)

Просмотреть файл

@ -38,7 +38,6 @@ enum class SupportedProduct : uint8_t {
Firefox = (1 << 0),
Fennec = (1 << 1),
Geckoview = (1 << 2),
All = 0xFF // All the products
};
MOZ_MAKE_ENUM_CLASS_BITWISE_OPERATORS(SupportedProduct);

Просмотреть файл

@ -126,15 +126,15 @@ The following event properties are valid:
- ``notification_emails`` *(required, list of strings)*: A list of emails of owners for this event. This is used for contact for data reviews and potentially to email alerts.
- expiry: There are two properties that can specify expiry, at least one needs to be set:
- ``expiry_version`` *(string)*: The version number in which the event expires, e.g. ``"50"``, or ``"never"``. A version number of type "N" is automatically converted to "N.0a1" in order to expire the event also in the development channels. For events that never expire the value ``never`` can be used.
- ``expiry_version`` *(required, string)*: The version number in which the event expires, e.g. ``"50"``, or ``"never"``. A version number of type "N" is automatically converted to "N.0a1" in order to expire the event also in the development channels. For events that never expire the value ``never`` can be used.
- ``extra_keys`` *(optional, object)*: An object that specifies valid keys for the ``extra`` argument and a description - see the example above.
- ``products`` *(optional, list of strings)*: A list of products the event can be recorded on. It defaults to ``all``. Currently supported values are:
- ``products`` *(required, list of strings)*: A list of products the event can be recorded on. Currently supported values are:
- ``firefox`` - Collected in Firefox Desktop for submission via Firefox Telemetry.
- ``fennec`` - Collected in Firefox for Android for submission via Firefox Mobile Telemetry.
- ``geckoview`` - Collected in GeckoView-based Android products and surfaced via `GeckoViewTelemetryController.jsm <https://hg.mozilla.org/mozilla-central/raw-file/tip/toolkit/components/telemetry/geckoview/GeckoViewTelemetryController.jsm>`__.
- ``firefox``
- ``fennec``
- ``geckoview``
- ``all`` (record on all products)
- ``operating_systems`` *(optional, list of strings)*: This field restricts recording to certain operating systems only. It defaults to ``all``. Currently supported values are:
- ``mac``

Просмотреть файл

@ -226,14 +226,11 @@ Optional. This is one of:
``products``
-------------
Optional. This field is a list of products this histogram can be recorded on. Currently-supported values are:
Required. This field is a list of products this histogram can be recorded on. Currently-supported values are:
- ``firefox``
- ``fennec``
- ``geckoview``
- ``all`` (record on all products)
If this field is left out it defaults to ``all``.
- ``firefox`` - Collected in Firefox Desktop for submission via Firefox Telemetry.
- ``fennec`` - Collected in Firefox for Android for submission via Firefox Mobile Telemetry.
- ``geckoview`` - Collected in GeckoView-based Android products and surfaced via `GeckoViewTelemetryController.jsm <https://hg.mozilla.org/mozilla-central/raw-file/tip/toolkit/components/telemetry/geckoview/GeckoViewTelemetryController.jsm>`__.
``record_into_store``
---------------------

Просмотреть файл

@ -159,6 +159,12 @@ Required Fields
- ``expires``: The version number in which the scalar expires, e.g. "30"; a version number of type "N" is automatically converted to "N.0a1" in order to expire the scalar also in the development channels. A telemetry probe acting on an expired scalar will print a warning into the browser console. For scalars that never expire the value ``never`` can be used.
- ``kind``: A string representing the scalar type. Allowed values are ``uint``, ``string`` and ``boolean``.
- ``notification_emails``: A list of email addresses to notify with alerts of expiring probes. More importantly, these are used by the data steward to verify that the probe is still useful.
- ``products``: A list of products the scalar can be recorded on. Currently supported values are:
- ``firefox`` - Collected in Firefox Desktop for submission via Firefox Telemetry.
- ``fennec`` - Collected in Firefox for Android for submission via Firefox Mobile Telemetry.
- ``geckoview`` - Collected in GeckoView-based Android products and surfaced via `GeckoViewTelemetryController.jsm <https://hg.mozilla.org/mozilla-central/raw-file/tip/toolkit/components/telemetry/geckoview/GeckoViewTelemetryController.jsm>`__.
- ``record_in_processes``: A list of processes the scalar is allowed to record in. Currently supported values are:
- ``main``;
@ -172,13 +178,6 @@ Optional Fields
- ``release_channel_collection``: This can be either ``opt-in`` (default) or ``opt-out``. With the former the scalar is submitted by default on pre-release channels, unless the user has opted out. With the latter the scalar is submitted by default on release and pre-release channels, unless the user has opted out.
- ``keyed``: A boolean that determines whether this is a keyed scalar. It defaults to ``False``.
- ``products``: A list of products the scalar can be recorded on. It defaults to ``all``. Currently supported values are:
- ``firefox``
- ``fennec``
- ``geckoview``
- ``all`` (record on all products)
- ``record_into_store``: A list of stores this scalar should be recorded into. It defaults to ``[main]``.
- ``operating_systems``: This field restricts recording to certain operating systems only. Use that in-place of previous ``cpp_guards`` to avoid inclusion on not-specified operating systems. It defaults to ``all``. Currently supported values are: