Bug 1918702 - Migrate telemetry events to use Glean APIs for browser.migration, r=chutten,migration-reviewers,mconley.

Differential Revision: https://phabricator.services.mozilla.com/D222504
This commit is contained in:
Florian Quèze
2024-09-20 13:58:17 +00:00
parent 1a1f0641c8
commit 57f89e2505
3 changed files with 310 additions and 20 deletions

View File

@@ -191,14 +191,8 @@ export class MigrationWizardParent extends JSWindowActorParent {
* @param {object} args
* The data to pass to telemetry when the event is recorded.
*/
#recordEvent(type, args = null) {
Services.telemetry.recordEvent(
"browser.migration",
type,
"wizard",
null,
args
);
#recordEvent(type, args) {
Glean.browserMigration[type + "Wizard"].record(args);
}
/**