This commit is contained in:
Bruno Rosa 2024-04-30 09:27:49 -04:00
Родитель 1a6ae1e59b
Коммит b5a41b5801
5 изменённых файлов: 12 добавлений и 7 удалений

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

@ -1,6 +1,10 @@
# Unreleased changes
[Full changelog](https://github.com/mozilla/glean.js/compare/v5.0.0...main)
[Full changelog](https://github.com/mozilla/glean.js/compare/v5.0.1...main)
# v5.0.1 (2024-04-30)
[Full changelog](https://github.com/mozilla/glean.js/compare/v5.0.0...v5.0.1)
* [#1923](https://github.com/mozilla/glean.js/pull/1923): Bumped `glean_parser` version to `14.0.1`.
* [#1921](https://github.com/mozilla/glean.js/pull/1921): BUGFIX: Fix issue causing `glean.client.annotation.experimentation_id` metric to not get added in certain pings.

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

@ -1,4 +1,4 @@
<!-- AUTOGENERATED BY glean_parser v10.0.3. DO NOT EDIT. -->
<!-- AUTOGENERATED BY glean_parser v14.0.1. DO NOT EDIT. -->
# Metrics
@ -102,9 +102,10 @@ In addition to those built-in metrics, the following metrics are added to the pi
| Name | Type | Description | Data reviews | Extras | Expiration | [Data Sensitivity](https://wiki.mozilla.org/Firefox/Data_Collection) |
| --- | --- | --- | --- | --- | --- | --- |
| glean.element_click |[event](https://mozilla.github.io/glean/book/user/metrics/event.html) |A event triggered whenever an html element is clicked on a page. **Clicks are recorded only for those html elements that have at least one of the `data-glean-*` data attributes. By default, this event is not collected automatically. Collection can be turned on by clients via Glean configuration object (`enableAutoElementClickEvents`). Glean also provides a separate API for clients to record element clicks manually.** |[Bug 1867294](https://bugzilla.mozilla.org/show_bug.cgi?id=1867294#c29)|<ul><li>id: An identifier of the element clicked. For automatic collection, its value is the element's `data-glean-id` data attribute value.</li><li>label: The label of the element clicked. For automatic collection, its value is the element's `data-glean-label` data attribute value.</li><li>type: The type of the element clicked. For automatic collection, its value is the element's `data-glean-type` data attribute value.</li></ul>|never |2 |
| glean.page_id |[uuid](https://mozilla.github.io/glean/book/user/metrics/uuid.html) |Uniquely identifies a page_load, not the page itself, for the purpose of associating other events with the specific page load event. This gets rotated with each page load and is sent along with each event ping. |[Bug 1888430](https://bugzilla.mozilla.org/show_bug.cgi?id=1888430)||never |1 |
| glean.page_load |[event](https://mozilla.github.io/glean/book/user/metrics/event.html) |A event triggered whenever a page is loaded. **This event by default is not collected automatically. This can be turned on by the client in the Glean configuration object (`enableAutoPageLoadEvents`). Glean provides a separate API for collecting the same page load data if the client wants to collect page loads manually.** |[Bug 1867126](https://bugzilla.mozilla.org/show_bug.cgi?id=1867126#c8)|<ul><li>referrer: The page referrer.</li><li>title: The page title.</li><li>url: The page URL.</li></ul>|never |2 |
Data categories are [defined here](https://wiki.mozilla.org/Firefox/Data_Collection).
<!-- AUTOGENERATED BY glean_parser v10.0.3. DO NOT EDIT. -->
<!-- AUTOGENERATED BY glean_parser v14.0.1. DO NOT EDIT. -->

4
glean/package-lock.json сгенерированный
Просмотреть файл

@ -1,12 +1,12 @@
{
"name": "@mozilla/glean",
"version": "5.0.0",
"version": "5.0.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@mozilla/glean",
"version": "5.0.0",
"version": "5.0.1",
"license": "MPL-2.0",
"dependencies": {
"fflate": "^0.8.0",

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

@ -1,6 +1,6 @@
{
"name": "@mozilla/glean",
"version": "5.0.0",
"version": "5.0.1",
"description": "An implementation of the Glean SDK, a modern cross-platform telemetry client, for JavaScript environments.",
"type": "module",
"sideEffects": false,

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

@ -8,7 +8,7 @@ export const GLEAN_SCHEMA_VERSION = 1;
//
// PACKAGE_VERSION is defined as a global by webpack,
// we need a default here for testing when the app is not build with webpack.
export const GLEAN_VERSION = "5.0.0";
export const GLEAN_VERSION = "5.0.1";
// The name of a "ping" that will include Glean ping_info metrics,
// such as ping sequence numbers.