-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MNTOR-3096 - add monitor glean backend (#4544)
* add backend metrics yaml for Glean --------- Co-authored-by: Sean Rose <[email protected]>
- Loading branch information
Showing
5 changed files
with
262 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!-- AUTOGENERATED BY glean_parser v14.1.2. DO NOT EDIT. --> | ||
|
||
# Metrics | ||
|
||
This document enumerates the metrics collected by this project using the [Glean SDK](https://mozilla.github.io/glean/book/index.html). | ||
This project may depend on other projects which also collect metrics. | ||
This means you might have to go searching through the dependency tree to get a full picture of everything collected by this project. | ||
|
||
# Pings | ||
|
||
- [events](#events) | ||
|
||
## events | ||
|
||
This is a built-in ping that is assembled out of the box by the Glean SDK. | ||
|
||
See the Glean SDK documentation for the [`events` ping](https://mozilla.github.io/glean/book/user/pings/events.html). | ||
|
||
All Glean pings contain built-in metrics in the [`ping_info`](https://mozilla.github.io/glean/book/user/pings/index.html#the-ping_info-section) and [`client_info`](https://mozilla.github.io/glean/book/user/pings/index.html#the-client_info-section) sections. | ||
|
||
In addition to those built-in metrics, the following metrics are added to the ping: | ||
|
||
| Name | Type | Description | Data reviews | Extras | Expiration | [Data Sensitivity](https://wiki.mozilla.org/Firefox/Data_Collection) | | ||
| ----------------------- | ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | -------------------------------------------------------------------- | | ||
| account.create | [event](https://mozilla.github.io/glean/book/user/metrics/event.html) | A new Mozilla Monitor account has been created. | [Bug 1896222](https://bugzilla.mozilla.org/show_bug.cgi?id=1896222) | | never | 2 | | ||
| account.password_change | [event](https://mozilla.github.io/glean/book/user/metrics/event.html) | The password for an existing Mozilla Account has been changed, and existing auth tokens have been revoked. | [Bug 1896222](https://bugzilla.mozilla.org/show_bug.cgi?id=1896222) | | never | 2 | | ||
| account.profile_change | [event](https://mozilla.github.io/glean/book/user/metrics/event.html) | An existing Mozilla Accounts profile has been changed, for example the primary email address. | [Bug 1896222](https://bugzilla.mozilla.org/show_bug.cgi?id=1896222) | | never | 2 | | ||
| account.remove | [event](https://mozilla.github.io/glean/book/user/metrics/event.html) | An existing Mozilla Monitor account has been deleted. | [Bug 1896222](https://bugzilla.mozilla.org/show_bug.cgi?id=1896222) | | never | 2 | | ||
| monitor.plan_tier | [string](https://mozilla.github.io/glean/book/user/metrics/string.html) | Which tier of plan the user is on [Free, Plus] | [Bug 1896222](https://bugzilla.mozilla.org/show_bug.cgi?id=1896222) | | never | 2 | | ||
| monitor.session_id | [string](https://mozilla.github.io/glean/book/user/metrics/string.html) | An ID that allows us to track “sessions” of the user experience within the product. | [Bug 1896222](https://bugzilla.mozilla.org/show_bug.cgi?id=1896222) | | never | 2 | | ||
| monitor.user_id | [string](https://mozilla.github.io/glean/book/user/metrics/string.html) | Mozilla Monitor-specific user ID. | [Bug 1896222](https://bugzilla.mozilla.org/show_bug.cgi?id=1896222) | | never | 2 | | ||
| mozilla.account_id | [string](https://mozilla.github.io/glean/book/user/metrics/string.html) | Mozilla Accounts ID. | [Bug 1896222](https://bugzilla.mozilla.org/show_bug.cgi?id=1896222) | | never | 2 | | ||
| page.view | [event](https://mozilla.github.io/glean/book/user/metrics/event.html) | A web page view event distinguishable by the page’s URL. | [Bug 1896222](https://bugzilla.mozilla.org/show_bug.cgi?id=1896222) | <ul><li>path: The path of the page.</li><li>referrer: The referring URL, if any.</li><li>utm_campaign: Attribution campaign.</li><li>utm_content: Attribution content.</li><li>utm_medium: Attribution medium.</li><li>utm_source: Attribution source.</li><li>utm_term: Attribution term.</li></ul> | never | 2 | | ||
| subscription.activate | [event](https://mozilla.github.io/glean/book/user/metrics/event.html) | A subscription has been activated for this user. | [Bug 1896222](https://bugzilla.mozilla.org/show_bug.cgi?id=1896222) | | never | 2 | | ||
| subscription.cancel | [event](https://mozilla.github.io/glean/book/user/metrics/event.html) | A subscription cancellation has taken effect, and the user is no longer subscribed to Monitor Plus. | [Bug 1896222](https://bugzilla.mozilla.org/show_bug.cgi?id=1896222) | | never | 2 | | ||
|
||
Data categories are [defined here](https://wiki.mozilla.org/Firefox/Data_Collection). | ||
|
||
<!-- AUTOGENERATED BY glean_parser v14.1.2. DO NOT EDIT. --> |
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.