summaryrefslogtreecommitdiffstats
path: root/toolkit/components/pdfjs/metrics.yaml
blob: be61c831f7acfde4183eb6c8075f2ad27192b2c1 (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
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
# 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 :: PDF Viewer'


pdfjs:
  editing:
    type: labeled_counter
    labels:
      - ink
      - freetext
      - stamp
      - save
      - print
    description: >
      Counts the number of times some PDF editing features are used.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1782254
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1782254#c4
    data_sensitivity:
      - interaction
    notification_emails:
      - cdenizet@mozilla.com
      - mcastelluccio@mozilla.com
    expires: never
  stamp:
    type: labeled_counter
    labels:
      - inserted_image
      - alt_text_save
      - alt_text_cancel
      - alt_text_tooltip
      - alt_text_edit
      - alt_text_description
      - alt_text_decorative
      - alt_text_keyboard
    description: >
      Counts the number of times some PDF editing features are used.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1853960
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1853960#c1
    data_sensitivity:
      - interaction
    notification_emails:
      - cdenizet@mozilla.com
      - mcastelluccio@mozilla.com
    expires: never
  buttons:
    type: labeled_counter
    labels:
      - presentation_mode
      - presentation_mode_keyboard
      - view_bookmark
      - first_page
      - last_page
      - page_rotate_cw
      - page_rotate_ccw
      - cursor_select_tool
      - cursor_hand_tool
      - scroll_page
      - scroll_vertical
      - scroll_horizontal
      - scroll_wrapped
      - spread_none
      - spread_odd
      - spread_even
      - document_properties
    description: >
      Counts the number of times some actions are executed in the PDF viewer.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1789883
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1789883#2
    data_sensitivity:
      - interaction
    notification_emails:
      - cdenizet@mozilla.com
      - mcastelluccio@mozilla.com
    expires: never
  geckoview:
    type: labeled_counter
    labels:
      - download_tapped
      - open_in_app_tapped
      - open_in_app_just_once
      - open_in_app_always
      - download_failed
      - download_succeeded
      - save_as_pdf_tapped
    description: >
      Counts the number of times some actions are executed in the PDF viewer.
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1829216
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1829216#2
    data_sensitivity:
      - interaction
    notification_emails:
      - cdenizet@mozilla.com
      - mcastelluccio@mozilla.com
    expires: never
  used:
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1566882
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1566882#c2
    description: >
      How many times PDF Viewer was used.
    expires: never
    type: counter
    notification_emails:
      - cdenizet@mozilla.com
      - mcastelluccio@mozilla.com
  time_to_view:
    type: custom_distribution
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1566882
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1566882#c2
    description: >
      Time spent to display first page in PDF Viewer (ms).
    expires: never
    range_min: 1
    range_max: 10000
    bucket_count: 50
    histogram_type: exponential
    unit: ms
    data_sensitivity:
      - interaction
    notification_emails:
      - cdenizet@mozilla.com
      - mcastelluccio@mozilla.com
pdfjs.editing.highlight:
    kind:
      type: labeled_counter
      labels:
        - free_highlight
        - highlight
      description: >
        Counts the number of times a given kind is used to highlight.
      bugs:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437
      data_reviews:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437#c1
      data_sensitivity:
        - interaction
      notification_emails:
        - pdfjs-team@mozilla.com
      expires: never

    method:
      type: labeled_counter
      labels:
        - context_menu
        - main_toolbar
        - floating_button
      description: >
        Counts the number of times a given method is used to highlight.
      bugs:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437
      data_reviews:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437#c1
      data_sensitivity:
        - interaction
      notification_emails:
        - pdfjs-team@mozilla.com
      expires: never

    color:
      type: labeled_counter
      labels:
        - yellow
        - green
        - blue
        - pink
        - red
      description: >
        Counts the number of times a given color is used to highlight.
      bugs:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437
      data_reviews:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437#c1
      data_sensitivity:
        - interaction
      notification_emails:
        - pdfjs-team@mozilla.com
      expires: never

    color_changed:
      type: counter
      description: >
        Counts the number of times the user changes the color of a highlight.
      bugs:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437
      data_reviews:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437#c1
      data_sensitivity:
        - interaction
      notification_emails:
        - pdfjs-team@mozilla.com
      expires: never

    number_of_colors:
      type: labeled_counter
      labels:
        - one
        - two
        - three
        - four
        - five
      description: >
        Counts the number of different colors used to highlight.
      bugs:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437
      data_reviews:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437#c1
      data_sensitivity:
        - interaction
      notification_emails:
        - pdfjs-team@mozilla.com
      expires: never

    thickness:
      type: custom_distribution
      range_min: 8
      range_max: 24
      bucket_count: 17
      histogram_type: linear
      unit: pixels
      description: >
        The thickness used to draw a free highlight.
      bugs:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437
      data_reviews:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437#c1
      data_sensitivity:
        - interaction
      notification_emails:
        - pdfjs-team@mozilla.com
      expires: never

    thickness_changed:
      type: counter
      description: >
        Counts the number of times the user changes the thickness of a free highlight.
      bugs:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437
      data_reviews:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437#c1
      data_sensitivity:
        - interaction
      notification_emails:
        - pdfjs-team@mozilla.com
      expires: never

    save:
      type: counter
      description: >
        Counts the number of times the user saves a PDF with highlights.
      bugs:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437
      data_reviews:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437#c1
      data_sensitivity:
        - interaction
      notification_emails:
        - pdfjs-team@mozilla.com
      expires: never

    print:
      type: counter
      description: >
        Counts the number of times the user prints a PDF with highlights.
      bugs:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437
      data_reviews:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437#c1
      data_sensitivity:
        - interaction
      notification_emails:
        - pdfjs-team@mozilla.com
      expires: never

    edited:
      type: counter
      description: >
        Counts the number of times the user edits highlights.
      bugs:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437
      data_reviews:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437#c1
      data_sensitivity:
        - interaction
      notification_emails:
        - pdfjs-team@mozilla.com
      expires: never

    deleted:
      type: counter
      description: >
        Counts the number of times the user deletes highlights.
      bugs:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437
      data_reviews:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437#c1
      data_sensitivity:
        - interaction
      notification_emails:
        - pdfjs-team@mozilla.com
      expires: never

    toggle_visibility:
      type: counter
      description: >
        Counts the number of times the user toggles the visibility of highlights.
      bugs:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437
      data_reviews:
        - https://bugzilla.mozilla.org/show_bug.cgi?id=1866437#c1
      data_sensitivity:
        - interaction
      notification_emails:
        - pdfjs-team@mozilla.com
      expires: never