-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add extension metrics to extension session ping - Added extension_metrics.yaml file to the telemetry directory. - Defined new metrics for extension usage, including onboarding completion, feature usage, and website exclusions. - Added extension_metrics.yaml to the list of metrics sent in the extensionsession ping. - Updated pings.yaml to include extensionsession as a new ping type. - Included client ID in extensionsession ping. - Updated bugs, data reviews, and notification emails for the new metrics. - Added reasons for sending extensionsession ping on session start and end. - Updated comments to reflect changes. * Add support for WebExtension Telemetry - Added a new `WebExtensionTelemetry` class to handle WebExtension telemetry events. - Implemented `fromJson` function to parse JSON telemetry data into `TelemetryInfo` objects. - Added `recordTelemetry` function to record telemetry events to Glean. - Implemented `startSession` and `stopSession` functions to track session start and end events. - Added new handlers for various telemetry events and flags in `handlers.cpp`. - Updated `webextensionadapter.cpp` to handle telemetry requests. - Updated `pings.yaml` to include new telemetry pings. - Updated `webextensiontelemetry.h` to define new telemetry functions and structures. * Allow filtering on a per-ping basis * Use glean lifetimes instead of homebrewed stuff * Address feedback in metrics_yaml * Address feedback in pings.yaml * fix typos in c++ * Update upload enablement in MZGlean - Update MZGlean::upadateUploadEnabled() to MZGlean::updateUploadEnabled() for consistency in naming. - Ensure that the static function updateUploadEnabled() is called correctly in the MZGlean class. - Update the documentation comments for clarity and consistency. * Update flag handling in webextensiontelemetry.cpp - Changed the function declaration of `flag` from `consteval` to `constexpr` to ensure that it is a compile-time constant expression. - This change ensures that the function is not evaluated at runtime, improving performance and avoiding potential issues with runtime evaluation.
- Loading branch information
Showing
13 changed files
with
542 additions
and
19 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
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
Oops, something went wrong.