summaryrefslogtreecommitdiffstats
path: root/browser/components/protocolhandler/metrics.yaml
blob: 43a28981753128540d69722c6b386389628d548b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# 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'

protocolhandler.mailto:
  prompt_clicked:
    type: labeled_counter
    description: >
      User clicked on a button to approve setting the current site as default
      web mail site. The sum of all counters is the total amount of user
      interactions and dismissing the same dialog often could be a sign of
      a bug.
    bugs:
      - https://bugzilla.mozilla.org/1864216
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1864216#c8
    notification_emails:
      - install-update@mozilla.com
    expires: never
    labels:
      - set_os_default
      - dismiss_os_default
      - set_local_default
      - dismiss_local_default
    send_in_pings:
      - active
      - metrics

  handler_prompt_shown:
    type: labeled_counter
    description: >
      A website was visited, which called registerProtocolHandler
      for mailto://
    bugs:
      - https://bugzilla.mozilla.org/1864216
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1864216#c8
    notification_emails:
      - install-update@mozilla.com
    expires: never
    labels:
      - os_default
      - fx_default
    send_in_pings:
      - active
      - metrics