summaryrefslogtreecommitdiffstats
path: root/dom/media/hls/metrics.yaml
blob: ea27b358ff8e8243826ec98c9029c29a6a55cd71 (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
# 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'

hls:
  canplay_requested:
    type: counter
    description: >
      Record when a page requests canPlayType for a HLS media type.
    metadata:
      tags:
        - 'Core :: Audio/Video: Playback'
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1672751
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1672751#8
    data_sensitivity:
      - technical
    notification_emails:
      - media-alerts@mozilla.com
    expires: 132

  canplay_supported:
    type: counter
    description: >
      Record when a canPlayType request supports HLS.
    metadata:
      tags:
        - 'Core :: Audio/Video: Playback'
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1672751
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1672751#8
    data_sensitivity:
      - technical
    notification_emails:
      - media-alerts@mozilla.com
    expires: 132

  media_load:
    type: event
    description: >
      Record the information about the HLS playback on Android using ExoPlayer.
      The value of this event contains the media format.
    metadata:
      tags:
        - 'Core :: Audio/Video: Playback'
    bugs:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1672751
    data_reviews:
      - https://bugzilla.mozilla.org/show_bug.cgi?id=1672751#8
    data_sensitivity:
      - technical
    notification_emails:
      - media-alerts@mozilla.com
    extra_keys:
      media_extension:
        description: >
          The extension in the media file name, could be 'ts' (for MPEG-TS), 'mp4',
          'aac', 'mp3', ...
        type: string
    expires: 132