File: metrics.yaml

package info (click to toggle)
thunderbird 1%3A143.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 4,703,968 kB
  • sloc: cpp: 7,770,492; javascript: 5,943,842; ansic: 3,918,754; python: 1,418,263; xml: 653,354; asm: 474,045; java: 183,079; sh: 111,238; makefile: 20,410; perl: 14,359; objc: 13,059; yacc: 4,583; pascal: 3,405; lex: 1,720; ruby: 999; exp: 762; sql: 715; awk: 580; php: 436; lisp: 430; sed: 69; csh: 10
file content (719 lines) | stat: -rw-r--r-- 26,794 bytes parent folder | download | duplicates (10)
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
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
# 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 :: Normandy Client'

normandy:
  enroll_preference_study:
    type: event
    description: >
      Sent when applying a Normandy recipe of the above types has
      succeeded.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.enroll#preference_study.
    bugs: &normandy_enroll_bugs
      - https://bugzil.la/1443560
    data_reviews: &normandy_enroll_data_reviews
      - https://bugzil.la/1443560
    notification_emails: &normandy_enroll_emails
      - normandy-notifications@mozilla.com
    expires: never
    extra_keys: &normandy_enroll_extra
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      experimentType:
        description: >
          For preference_study and nimbus_experiment recipes, the type of experiment this is ("exp" or "exp-highpop").

        type: string
      branch:
        description: >
          The slug of the branch that was chosen for this client.

        type: string
      addonId:
        description: >
          For addon_study recipes, the ID of the addon that was installed.
        type: string
      addonVersion:
        description: >
          For addon_study recipes, the version of the addon that was installed.
        type: string
    telemetry_mirror: Normandy_Enroll_PreferenceStudy

  enroll_addon_study:
    type: event
    description: >
      Sent when applying a Normandy recipe of the above types has
      succeeded.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.enroll#addon_study.
    bugs: *normandy_enroll_bugs
    data_reviews: *normandy_enroll_data_reviews
    notification_emails: *normandy_enroll_emails
    expires: never
    extra_keys: *normandy_enroll_extra
    telemetry_mirror: Normandy_Enroll_AddonStudy

  enroll_preference_rollout:
    type: event
    description: >
      Sent when applying a Normandy recipe of the above types has
      succeeded.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.enroll#preference_rollout.
    bugs: *normandy_enroll_bugs
    data_reviews: *normandy_enroll_data_reviews
    notification_emails: *normandy_enroll_emails
    expires: never
    extra_keys: *normandy_enroll_extra
    telemetry_mirror: Normandy_Enroll_PreferenceRollout

  enroll_addon_rollout:
    type: event
    description: >
      Sent when applying a Normandy recipe of the above types has
      succeeded.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.enroll#addon_rollout.
    bugs: *normandy_enroll_bugs
    data_reviews: *normandy_enroll_data_reviews
    notification_emails: *normandy_enroll_emails
    expires: never
    extra_keys: *normandy_enroll_extra
    telemetry_mirror: Normandy_Enroll_AddonRollout

  enroll_nimbus_experiment:
    type: event
    description: >
      Sent when applying a Normandy recipe of the above types has
      succeeded.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.enroll#nimbus_experiment.
    bugs: *normandy_enroll_bugs
    data_reviews: *normandy_enroll_data_reviews
    notification_emails: *normandy_enroll_emails
    expires: never
    extra_keys: *normandy_enroll_extra
    telemetry_mirror: Normandy_Enroll_NimbusExperiment

  enroll_failed_addon_study:
    type: event
    description: >
      Sent when applying a Normandy recipe of the above types has failed.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.enrollFailed#addon_study.
    bugs: &normandy_enrollFailed_bugs
      - https://bugzil.la/1443560
    data_reviews: &normandy_enrollFailed_data_reviews
      - https://bugzil.la/1443560
    notification_emails: &normandy_enrollFailed_emails
      - normandy-notifications@mozilla.com
    expires: never
    extra_keys: &normandy_enrollFailed_extra
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      reason:
        description: >
          An error code describing the failure.
        type: string
      preference:
        description: >
          For preference_rollout when reason=conflict, the name of the preference that was going to be modified.

        type: string
      detail:
        description: >
          For addon_study and branched_addon study, extra text describing the failure.

        type: string
      branch:
        description: >
          The branch that failed to enroll.

        type: string
      addonId:
        description: >
          The ID of the addon for the rollout when reason=conflict.
        type: string
      conflictingSlug:
        description: >
          The slug for the conflicting rollout.
        type: string
      enrollmentId:
        description: >
          The enrollment ID of the conflicting rollout.
        type: string
      prefBranch:
        description: >
          For preference_study when reason=invalid-branch, the branch that was invalid.
        type: string
    telemetry_mirror: Normandy_Enrollfailed_AddonStudy

  enroll_failed_preference_rollout:
    type: event
    description: >
      Sent when applying a Normandy recipe of the above types has failed.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.enrollFailed#preference_rollout.
    bugs: *normandy_enrollFailed_bugs
    data_reviews: *normandy_enrollFailed_data_reviews
    notification_emails: *normandy_enrollFailed_emails
    expires: never
    extra_keys: *normandy_enrollFailed_extra
    telemetry_mirror: Normandy_Enrollfailed_PreferenceRollout

  enroll_failed_preference_study:
    type: event
    description: >
      Sent when applying a Normandy recipe of the above types has failed.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.enrollFailed#preference_study.
    bugs: *normandy_enrollFailed_bugs
    data_reviews: *normandy_enrollFailed_data_reviews
    notification_emails: *normandy_enrollFailed_emails
    expires: never
    extra_keys: *normandy_enrollFailed_extra
    telemetry_mirror: Normandy_Enrollfailed_PreferenceStudy

  enroll_failed_addon_rollout:
    type: event
    description: >
      Sent when applying a Normandy recipe of the above types has failed.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.enrollFailed#addon_rollout.
    bugs: *normandy_enrollFailed_bugs
    data_reviews: *normandy_enrollFailed_data_reviews
    notification_emails: *normandy_enrollFailed_emails
    expires: never
    extra_keys: *normandy_enrollFailed_extra
    telemetry_mirror: Normandy_Enrollfailed_AddonRollout

  enroll_failed_nimbus_experiment:
    type: event
    description: >
      Sent when applying a Normandy recipe of the above types has failed.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.enrollFailed#nimbus_experiment.
    bugs: *normandy_enrollFailed_bugs
    data_reviews: *normandy_enrollFailed_data_reviews
    notification_emails: *normandy_enrollFailed_emails
    expires: never
    extra_keys: *normandy_enrollFailed_extra
    telemetry_mirror: Normandy_Enrollfailed_NimbusExperiment

  update_addon_study:
    type: event
    description: >
      This event is fired when a client detects that a recipe of the ahove
      types has changed on the server, and the new version of the recipe
      is being applied over an existing, older version previously fetched
      from the server.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.update#addon_study.
    bugs: &normandy_update_bugs
      - https://bugzil.la/1443560
      - https://bugzil.la/1474413
    data_reviews: &normandy_update_data_reviews
      - https://bugzil.la/1443560
      - https://bugzil.la/1474413
    notification_emails: &normandy_update_emails
      - normandy-notifications@mozilla.com
    expires: never
    extra_keys: &normandy_update_extra
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      previousState:
        description: >
          For preference_rollout recipes, the state of the rollout that had been applied previously.

        type: string
      addonId:
        description: >
          For addon_study recipes, the ID of the addon that was updated.
        type: string
      addonVersion:
        description: >
          For addon_study recipes, the version of the addon that was installed.
        type: string
      branch:
        description: >
          The branch that was updated.
        type: string
      enrollmentId:
        description: >
          A unique ID for this enrollment that will be included in all related Telemetry.
        type: string
    telemetry_mirror: Normandy_Update_AddonStudy

  update_preference_rollout:
    type: event
    description: >
      This event is fired when a client detects that a recipe of the ahove
      types has changed on the server, and the new version of the recipe
      is being applied over an existing, older version previously fetched
      from the server.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.update#preference_rollout.
    bugs: *normandy_update_bugs
    data_reviews: *normandy_update_data_reviews
    notification_emails: *normandy_update_emails
    expires: never
    extra_keys: *normandy_update_extra
    telemetry_mirror: Normandy_Update_PreferenceRollout

  update_addon_rollout:
    type: event
    description: >
      This event is fired when a client detects that a recipe of the ahove
      types has changed on the server, and the new version of the recipe
      is being applied over an existing, older version previously fetched
      from the server.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.update#addon_rollout.
    bugs: *normandy_update_bugs
    data_reviews: *normandy_update_data_reviews
    notification_emails: *normandy_update_emails
    expires: never
    extra_keys: *normandy_update_extra
    telemetry_mirror: Normandy_Update_AddonRollout

  update_nimbus_experiment:
    type: event
    description: >
      This event is fired when a client detects that a recipe of the ahove
      types has changed on the server, and the new version of the recipe
      is being applied over an existing, older version previously fetched
      from the server.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.update#nimbus_experiment.
    bugs: *normandy_update_bugs
    data_reviews: *normandy_update_data_reviews
    notification_emails: *normandy_update_emails
    expires: never
    extra_keys: *normandy_update_extra
    telemetry_mirror: Normandy_Update_NimbusExperiment

  update_failed_addon_study:
    type: event
    description: >
      Sent when applying a new version of a Normandy recipe of the above
      types (over an existing, older version previously fetched from the
      server) has failed.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.updateFailed#addon_study.
    bugs: &normandy_updateFailed_bugs
      - https://bugzil.la/1474413
    data_reviews: &normandy_updateFailed_data_reviews
      - https://bugzil.la/1474413
    notification_emails: &normandy_updateFailed_emails
      - normandy-notifications@mozilla.com
    expires: never
    extra_keys: &normandy_updateFailed_extra
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      reason:
        description: >
          An error code describing the failure.
        type: string
      detail:
        description: >
          Extra text describing the failure. Currently only provided for addon_study.

        type: string
      branch:
        description: >
          The branch that failed to update.
        type: string
      enrollmentId:
        description: >
          A unique ID for this enrollment that will be included in all related Telemetry.
        type: string
    telemetry_mirror: Normandy_Updatefailed_AddonStudy

  update_failed_addon_rollout:
    type: event
    description: >
      Sent when applying a new version of a Normandy recipe of the above
      types (over an existing, older version previously fetched from the
      server) has failed.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.updateFailed#addon_rollout.
    bugs: *normandy_updateFailed_bugs
    data_reviews: *normandy_updateFailed_data_reviews
    notification_emails: *normandy_updateFailed_emails
    expires: never
    extra_keys: *normandy_updateFailed_extra
    telemetry_mirror: Normandy_Updatefailed_AddonRollout

  unenroll_preference_study:
    type: event
    description: >
      Sent when a Normandy recipe of certain types "ends".  N.B. For
      preference_rollback, this is fired when the recipe is fired (the
      recipe that "ends" is a corresponding preference_rollout).
      This event was generated to correspond to the Legacy Telemetry event
      normandy.unenroll#preference_study.
    bugs: &normandy_unenroll_bugs
      - https://bugzil.la/1443560
      - https://bugzil.la/1843126
      - https://bugzil.la/1896718
      - https://bugzil.la/1907649
    data_reviews: &normandy_unenroll_data_reviews
      - https://bugzil.la/1443560
      - https://bugzil.la/1843126
      - https://bugzil.la/1896718
      - https://bugzil.la/1907649
    notification_emails: &normandy_unenroll_emails
      - normandy-notifications@mozilla.com
      - nimbus-team@mozilla.com
    expires: never
    extra_keys: &normandy_unenroll_extra
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      reason:
        description: >
          A code describing the reason why the recipe ended.
        type: string
      didResetValue:
        description: >
          For preference_study, "true" or "false" according to whether we put the preference back the way it was.

        type: string
      addonId:
        description: >
          For addon_study, the ID of the addon that ended.
        type: string
      addonVersion:
        description: >
          For addon_study, the version of the addon for which the recipe ended.
        type: string
      branch:
        description: >
          The branch of the experiment that this client was on.
        type: string
      enrollmentId:
        description: >
          A unique ID for this enrollment that will be included in all related Telemetry.
        type: string
      changedPref:
        description: >
          For preference_study or nimbus_experiment, the preference that was detected to change that caused the unenrollment.

        type: string
      conflictingSlug:
        description: >
          For nimbus_experiment, if reason == "prefFlips-conflict", the conflicting experiment that caused the unenrollment.

        type: string
      prefName:
        description: >
          For nimbus_experiment, if reason == "prefFlips-failed", the name of the pref that failed to set.

        type: string
      prefType:
        description: >
          For nimbus_experiment, if reason = "prefFlips-failed", the type of the existing pref value (one of "bool", "string", "int", or "invalid").

        type: string
    telemetry_mirror: Normandy_Unenroll_PreferenceStudy

  unenroll_addon_study:
    type: event
    description: >
      Sent when a Normandy recipe of certain types "ends".  N.B. For
      preference_rollback, this is fired when the recipe is fired (the
      recipe that "ends" is a corresponding preference_rollout).
      This event was generated to correspond to the Legacy Telemetry event
      normandy.unenroll#addon_study.
    bugs: *normandy_unenroll_bugs
    data_reviews: *normandy_unenroll_data_reviews
    notification_emails: *normandy_unenroll_emails
    expires: never
    extra_keys: *normandy_unenroll_extra
    telemetry_mirror: Normandy_Unenroll_AddonStudy

  unenroll_preference_rollback:
    type: event
    description: >
      Sent when a Normandy recipe of certain types "ends".  N.B. For
      preference_rollback, this is fired when the recipe is fired (the
      recipe that "ends" is a corresponding preference_rollout).
      This event was generated to correspond to the Legacy Telemetry event
      normandy.unenroll#preference_rollback.
    bugs: *normandy_unenroll_bugs
    data_reviews: *normandy_unenroll_data_reviews
    notification_emails: *normandy_unenroll_emails
    expires: never
    extra_keys: *normandy_unenroll_extra
    telemetry_mirror: Normandy_Unenroll_PreferenceRollback

  unenroll_addon_rollback:
    type: event
    description: >
      Sent when a Normandy recipe of certain types "ends".  N.B. For
      preference_rollback, this is fired when the recipe is fired (the
      recipe that "ends" is a corresponding preference_rollout).
      This event was generated to correspond to the Legacy Telemetry event
      normandy.unenroll#addon_rollback.
    bugs: *normandy_unenroll_bugs
    data_reviews: *normandy_unenroll_data_reviews
    notification_emails: *normandy_unenroll_emails
    expires: never
    extra_keys: *normandy_unenroll_extra
    telemetry_mirror: Normandy_Unenroll_AddonRollback

  unenroll_nimbus_experiment:
    type: event
    description: >
      Sent when a Normandy recipe of certain types "ends".  N.B. For
      preference_rollback, this is fired when the recipe is fired (the
      recipe that "ends" is a corresponding preference_rollout).
      This event was generated to correspond to the Legacy Telemetry event
      normandy.unenroll#nimbus_experiment.
    bugs: *normandy_unenroll_bugs
    data_reviews: *normandy_unenroll_data_reviews
    notification_emails: *normandy_unenroll_emails
    expires: never
    extra_keys: *normandy_unenroll_extra
    telemetry_mirror: Normandy_Unenroll_NimbusExperiment

  unenroll_failed_preference_rollback:
    type: event
    description: >
      Sent when unenrolling a user fails (see the unenroll event).
      This event was generated to correspond to the Legacy Telemetry event
      normandy.unenrollFailed#preference_rollback.
    bugs: &normandy_unenrollFailed_bugs
      - https://bugzil.la/1443560
      - https://bugzil.la/1693402
    data_reviews: &normandy_unenrollFailed_data_reviews
      - https://bugzil.la/1443560
      - https://bugzil.la/1693402
    notification_emails: &normandy_unenrollFailed_emails
      - normandy-notifications@mozilla.com
    expires: never
    extra_keys: &normandy_unenrollFailed_extra
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      reason:
        description: >
          A code describing the reason the unenroll failed.
        type: string
      enrollmentId:
        description: >
          A unique ID for this enrollment that will be included in all related Telemetry.
        type: string
      changedPref:
        description: >
          For preference_study, the preference that was detected to change that caused the attempted unenrollment.
        type: string
      caller:
        description: >
          The function that caused the stop to happen, included on Nightly to aid debugging.
        type: string
      originalReason:
        description: >
          The code that would had been used for the unenrollment, had it not failed.
        type: string
    telemetry_mirror: Normandy_Unenrollfailed_PreferenceRollback

  unenroll_failed_preference_study:
    type: event
    description: >
      Sent when unenrolling a user fails (see the unenroll event).
      This event was generated to correspond to the Legacy Telemetry event
      normandy.unenrollFailed#preference_study.
    bugs: *normandy_unenrollFailed_bugs
    data_reviews: *normandy_unenrollFailed_data_reviews
    notification_emails: *normandy_unenrollFailed_emails
    expires: never
    extra_keys: *normandy_unenrollFailed_extra
    telemetry_mirror: Normandy_Unenrollfailed_PreferenceStudy

  unenroll_failed_addon_rollback:
    type: event
    description: >
      Sent when unenrolling a user fails (see the unenroll event).
      This event was generated to correspond to the Legacy Telemetry event
      normandy.unenrollFailed#addon_rollback.
    bugs: *normandy_unenrollFailed_bugs
    data_reviews: *normandy_unenrollFailed_data_reviews
    notification_emails: *normandy_unenrollFailed_emails
    expires: never
    extra_keys: *normandy_unenrollFailed_extra
    telemetry_mirror: Normandy_Unenrollfailed_AddonRollback

  unenroll_failed_nimbus_experiment:
    type: event
    description: >
      Sent when unenrolling a user fails (see the unenroll event).
      This event was generated to correspond to the Legacy Telemetry event
      normandy.unenrollFailed#nimbus_experiment.
    bugs: *normandy_unenrollFailed_bugs
    data_reviews: *normandy_unenrollFailed_data_reviews
    notification_emails: *normandy_unenrollFailed_emails
    expires: never
    extra_keys: *normandy_unenrollFailed_extra
    telemetry_mirror: Normandy_Unenrollfailed_NimbusExperiment

  graduate_preference_rollout:
    type: event
    description: >
      Sent when a preference rollout ends due to the rolled-out preference
      becoming a new default.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.graduate#preference_rollout.
    bugs:
      - https://bugzil.la/1443560
    data_reviews:
      - https://bugzil.la/1443560
    notification_emails:
      - normandy-notifications@mozilla.com
    expires: never
    extra_keys:
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      enrollmentId:
        description: >
          A unique ID for this enrollment that will be included in all related Telemetry.
        type: string
      reason:
        description: >
          The reason the rollout graduated
        type: string
    telemetry_mirror: Normandy_Graduate_PreferenceRollout

  exp_pref_changed_preference_study:
    type: event
    description: >
      This records that a preference that was set by an experiment has
      been changed away from its experimental value. This can be triggered
      by a user changing a preference at runtime, by the preference being
      changed on disk when Firefox is not running, or by the preference
      already having a user-set value when a user has enrolls in a default
      branch experiment.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.expPrefChanged#preference_study.
    bugs:
      - https://bugzil.la/1698684
    data_reviews:
      - https://bugzil.la/1698684
    notification_emails:
      - mcooper@mozilla.com
    expires: never
    extra_keys:
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter.
        type: string
      preferenceName:
        description: >
          The preference that changed
        type: string
      reason:
        description: >
          The way that the preference change was detected ("observer", "sideload", or "onEnroll")
        type: string
      enrollmentId:
        description: >
          A unique ID for this enrollment that will be included in all related Telemetry.
        type: string
    telemetry_mirror: Normandy_Expprefchanged_PreferenceStudy

  validation_failed_nimbus_experiment:
    type: event
    description: >
      This records when validation of a recipe fails.
      This event was generated to correspond to the Legacy Telemetry event
      normandy.validationFailed#nimbus_experiment.
    bugs:
      - https://bugzil.la/1762652
      - https://bugzil.la/1960370
    data_reviews:
      - https://bugzil.la/1762652
      - https://bugzil.la/1960370
    notification_emails:
      - beth@mozilla.com
      - project-nimbus@mozilla.com
    expires: never
    extra_keys:
      value:
        description: >
          The `value` of the event. Mirrors to the Legacy Telemetry
          event's `value` parameter (i.e., the experiment slug).
        type: string
      reason:
        description: >
          Why the validation failed.

          This will be one of the following reasons:

          - "invalid-recipe": the recipe failed schema validation;
          - "invalid-branch": a branch value failed schema validation;
          - "l10n-missing-locale": the recipe is missing localizations for a
            specific locale;
          - "l10n-missing-entry": the recipe is missing specific localization
            entries for a specific locale;
        type: string
      branch:
        description: >
          If reason == invalid-branch, the branch that failed validation.
        type: string
      locale:
        description: >
          If reason == missing-locale, the locale that was missing from the
          localization table.
          If reason == missing-l10n-entry, the locale that was missing the
          localization entries.
        type: string
      l10n_ids:
        description: >
          If reason == missing-l10n-entry, a comma-separated list of missing localization entries.
        type: string
    telemetry_mirror: Normandy_Validationfailed_NimbusExperiment

  recipe_freshness:
    type: labeled_quantity
    description: >
      For each recipe ID seen by the Normandy client, its last_modified.
      This metric was generated to correspond to the Legacy Telemetry
      scalar normandy.recipe_freshness.
    bugs:
      - https://bugzil.la/1530508
    data_reviews:
      - https://bugzil.la/1530508
    notification_emails:
      - product-delivery@mozilla.com
    expires: never
    unit: revision id
    telemetry_mirror: NORMANDY_RECIPE_FRESHNESS