This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
forked from elk-zone/elk
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(metrics.yaml): add back fxa_account_id
- Loading branch information
Showing
4 changed files
with
47 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,24 @@ | |
|
||
import StringMetricType from "@mozilla/glean/private/metrics/string"; | ||
|
||
/** | ||
* The user's FxA account ID, if available. | ||
* data_taxonomy: | ||
* data_categories: [user.unique_id] | ||
* data_uses: [analytics.reporting, personalize.content] | ||
* data_subjects: [customer] | ||
* data_qualifier: [identified] | ||
* | ||
* Generated from `identifiers.fxa_account_id`. | ||
*/ | ||
export const fxaAccountId = new StringMetricType({ | ||
category: "identifiers", | ||
name: "fxa_account_id", | ||
sendInPings: ["events"], | ||
lifetime: "ping", | ||
disabled: false, | ||
}); | ||
|
||
/** | ||
* The user's full account handle, with domain. For example, | ||
* `[email protected]`. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,28 @@ | ||
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0 | ||
|
||
identifiers: | ||
fxa_account_id: # not used by web, but requested by Kirill to keep in here | ||
type: string | ||
description: > | ||
The user's FxA account ID, if available. | ||
data_taxonomy: | ||
data_categories: [user.unique_id] | ||
data_uses: [analytics.reporting, personalize.content] | ||
data_subjects: [customer] | ||
data_qualifier: [identified] | ||
bugs: | ||
- https://mozilla-hub.atlassian.net/browse/MSDO-49 | ||
data_reviews: | ||
- https://docs.google.com/document/d/17vK3r7Sihb_S4-_8oKNoAraWeb_QiomC3UL-2W7PHgY/edit?usp=sharing | ||
notification_emails: | ||
- [email protected] | ||
expires: never | ||
send_in_pings: | ||
- events | ||
no_lint: | ||
- baseline | ||
|
||
mastodon_account_id: | ||
type: string | ||
lifetime: application | ||
|
@@ -109,7 +131,7 @@ ui: | |
type: string | ||
ui_additional_detail: &ui_additional_detail | ||
description: > | ||
An optional string to record further informatin about the UI | ||
An optional string to record further information about the UI | ||
element, such as its starting value if it is a toggle or setting. | ||
data_taxonomy: | ||
|
@@ -254,7 +276,7 @@ web: | |
description: > | ||
The full URL of the previous web page from which a link was followed | ||
in order to trigger the page view. | ||
Comes from the `referer` field of the HTTP header. | ||
Comes from the `referrer` field of the HTTP header. | ||
May not always be available. | ||
For example, `https://www.google.com`. | ||
|