summaryrefslogtreecommitdiffstats
path: root/dom/media/platforms/wmf/metrics.yaml
blob: 3803016767f7880311436bd779db1443a2e2fe26 (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
# 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:
  - 'Core :: Audio/Video'

mfcdm:
  eme_playback:
    type: event
    description:
      Record the information about the EME playback when using the media engine.
      The value of this event is the key system name.
    metadata:
      tags:
        - 'Core :: Audio/Video: Playback'
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1873394
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1873394#c7
    data_sensitivity:
      - technical
    notification_emails:
      - media-alerts@mozilla.com
    extra_keys:
      key_system:
        description: The key system used for the EME playback
        type: string
      video_codec:
        description: The video codec used for EME playback
        type: string
      resolution:
        description: The video resolution used for EME playback
        type: string
      played_time:
        description: The amount of time (in seconds) the EME content has been played (in seconds)
        type: quantity
      rendered_frames:
        description: The amount of video frames has been rendered
        type: quantity
      dropped_frames:
        description: The amount of video frames don't get rendered but dropped
        type: quantity
    expires: 130
    telemetry_mirror: Mfcdm_EmePlayback_Gecko
  error:
    type: event
    description:
      Record the error or crash happened while using the media engine playback.
      The value of this event is the name of error. This probe covers both EME
      and non-EME playback.
    metadata:
      tags:
        - 'Core :: Audio/Video: Playback'
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1873394
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1873394#c7
    data_sensitivity:
      - technical
    notification_emails:
      - media-alerts@mozilla.com
    extra_keys:
      error_name:
        description: The name of the error
        type: string
      current_state:
        description: The state of the external state machine was being used when the error or crash happened
        type: string
      audio_codec:
        description: The audio codec was being used when the error or crash happened
        type: string
      video_codec:
        description: The video codec was being used when the error or crash happened
        type: string
      resolution:
        description: The video resolution was being used when the error or crash happened
        type: string
      key_system:
        description: The key system was being used when the error or crash happened
        type: string
    expires: 130
    telemetry_mirror: Mfcdm_Error_Gecko