fune/browser/components/metrics.yaml
Nick Alexander bb95e9b039 Bug 1788960 - Part 2: Telemetry event when completing chrome-privileged Windows native notification with name. r=chutten
This allows to connect a `backgroundTaskMessage` popping a toast
notification with a given `name` through to a re-engagement with
Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D156637
2022-09-13 02:43:17 +00:00

40 lines
1.4 KiB
YAML

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
# Adding a new metric? We have docs for that!
# https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html
---
$schema: moz://mozilla.org/schemas/glean/metrics/2-0-0
$tags:
- 'Firefox :: General'
browser.launched_to_handle:
system_notification:
type: event
description: >
Recorded when Firefox launches to complete a native notification popped by
a system (chrome privileged) alert. Windows-only at the time of writing.
bugs:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1788960
data_reviews:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1788960#c10
data_sensitivity:
- interaction
notification_emails:
- nalexander@mozilla.com
- rtestard@mozilla.com
expires: never
extra_keys:
name:
description: >
The `name` of the system (chrome privileged) alert that Firefox was
launched to complete.
type: string
action:
description: >
The `action` of the system (chrome privileged) alert that Firefox was
launched to complete.
type: string
telemetry_mirror: BrowserLaunched_to_handle_SystemNotification_Toast