File: metrics.yaml

package info (click to toggle)
firefox 142.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,591,884 kB
  • sloc: cpp: 7,451,570; javascript: 6,392,463; ansic: 3,712,584; python: 1,388,569; xml: 629,223; asm: 426,919; java: 184,857; sh: 63,439; makefile: 19,150; objc: 13,059; perl: 12,983; yacc: 4,583; cs: 3,846; pascal: 3,352; lex: 1,720; ruby: 1,003; exp: 762; php: 436; lisp: 258; awk: 247; sql: 66; sed: 53; csh: 10
file content (183 lines) | stat: -rw-r--r-- 5,989 bytes parent folder | download | duplicates (4)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# 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:
  - 'Toolkit :: Printing'

printing:
  dialog_opened_via_preview_tm:
    type: counter
    description: >
      A counter incremented every time a user opens the system print
      dialog from the print preview interface.
      This metric was generated to correspond to the Legacy Telemetry
      scalar printing.dialog_opened_via_preview_tm.
    bugs:
      - https://bugzil.la/1657220
    data_reviews:
      - https://bugzil.la/1657220
    notification_emails:
      - jwatt@jwatt.org
      - emalysz@mozilla.com
    expires: never
    telemetry_mirror: PRINTING_DIALOG_OPENED_VIA_PREVIEW_TM

  dialog_via_preview_cancelled_tm:
    type: counter
    description: >
      A counter incremented every time a user cancels a system print
      dialog that they opened from the print preview interface.
      This metric was generated to correspond to the Legacy Telemetry
      scalar printing.dialog_via_preview_cancelled_tm.
    bugs:
      - https://bugzil.la/1657220
    data_reviews:
      - https://bugzil.la/1657220
    notification_emails:
      - jwatt@jwatt.org
    expires: never
    telemetry_mirror: PRINTING_DIALOG_VIA_PREVIEW_CANCELLED_TM

  error:
    type: labeled_counter
    description: >
      A counter incremented every time the user encounters an error
      printing. The result is split into keys which represent the values
      of error codes related to printing. Possible values are listed in
      'keys'. "FAILURE" is a catch-all code for an error we don't
      recognize.
      This metric was generated to correspond to the Legacy Telemetry
      scalar printing.error.
    bugs:
      - https://bugzil.la/1630105
    data_reviews:
      - https://bugzil.la/1630105
    notification_emails:
      - jaws@mozilla.com
      - jwatt@jwatt.org
    expires: never
    labels:
      - GFX_PRINTER_NO_PRINTER_AVAILABLE
      - GFX_PRINTER_NAME_NOT_FOUND
      - GFX_PRINTER_COULD_NOT_OPEN_FILE
      - GFX_PRINTER_STARTDOC
      - GFX_PRINTER_ENDDOC
      - GFX_PRINTER_STARTPAGE
      - GFX_PRINTER_DOC_IS_BUSY
      - ABORT
      - NOT_AVAILABLE
      - NOT_IMPLEMENTED
      - OUT_OF_MEMORY
      - UNEXPECTED
      - FAILURE
      - FALLBACK_PAPER_LIST
      - LAST_USED_PRINTER
      - PAPER_MARGINS
      - PRINT_DESTINATIONS
      - PRINT_PREVIEW
      - PRINTER_LIST
      - PRINTER_PROPERTIES
      - PRINTER_SETTINGS
      - UNWRITEABLE_MARGIN
    telemetry_mirror: PRINTING_ERROR

  preview_opened_tm:
    type: counter
    description: >
      A counter incremented every time a user opens print preview.
      This metric was generated to correspond to the Legacy Telemetry
      scalar printing.preview_opened_tm.
    bugs:
      - https://bugzil.la/1657220
    data_reviews:
      - https://bugzil.la/1657220
    notification_emails:
      - jwatt@jwatt.org
      - emalysz@mozilla.com
    expires: never
    telemetry_mirror: PRINTING_PREVIEW_OPENED_TM

  preview_cancelled_tm:
    type: counter
    description: >
      A counter incremented every time a user exits print preview without
      printing.
      This metric was generated to correspond to the Legacy Telemetry
      scalar printing.preview_cancelled_tm.
    bugs:
      - https://bugzil.la/1657220
    data_reviews:
      - https://bugzil.la/1657220
    notification_emails:
      - jwatt@jwatt.org
      - emalysz@mozilla.com
    expires: never
    telemetry_mirror: PRINTING_PREVIEW_CANCELLED_TM

  settings_changed:
    type: labeled_counter
    description: >
      A count of how many times the user changed a setting in print
      preview, broken down per setting.
      This metric was generated to correspond to the Legacy Telemetry
      scalar printing.settings_changed.
    bugs:
      - https://bugzil.la/1653386
    data_reviews:
      - https://bugzil.la/1653386
    notification_emails:
      - emalysz@mozilla.com
      - rtestard@mozilla.com
    expires: never
    telemetry_mirror: PRINTING_SETTINGS_CHANGED

  silent_print:
    type: counter
    description: >
      A counter incremented every time a silent print (a print without a
      print settings dialog being opened) is initiated.  This happens when
      extensions invoke ExtensionAPI.tabs.saveAsPDF, for example, or when
      the print.always_print_silent pref is set.
      This metric was generated to correspond to the Legacy Telemetry
      scalar printing.silent_print.
    bugs:
      - https://bugzil.la/1600623
    data_reviews:
      - https://bugzil.la/1600623
    notification_emails:
      - jwatt@jwatt.org
    expires: never
    telemetry_mirror: PRINTING_SILENT_PRINT

  target_type:
    type: labeled_counter
    description: >
      A counter incremented every time the user prints to a certain target
      type.  The 'pdf_unknown' count is for printers with names that we
      don't know about/check for, but that have 'pdf' in their name, and
      is mainly a sanity check that we're not missing significant counts
      in 'pdf_file'. For the most part, the 'unknown' count will be prints
      to a physical printer, but we can't know for sure since third party
      drivers could also be print to file drivers that we don't otherwise
      catch in the other counts.
      This metric was generated to correspond to the Legacy Telemetry
      scalar printing.target_type.
    bugs:
      - https://bugzil.la/1600623
    data_reviews:
      - https://bugzil.la/1600623
    notification_emails:
      - jwatt@jwatt.org
    expires: never
    labels:
      - pdf_file
      - pdf_unknown
      - xps_file
      - unknown
    telemetry_mirror: PRINTING_TARGET_TYPE