# 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' media.mp4_parse: sample_description_entries_have_multiple_codecs: type: labeled_counter description: > Records if multiple codecs are present in a track's sample description entries. Recorded each time we process a track's metadata while parsing mp4s. This metric was generated to correspond to the Legacy Telemetry boolean histogram MEDIA_MP4_PARSE_SAMPLE_DESCRIPTION_ENTRIES_HAVE_MULTIPLE_CODECS. labels: - "false" - "true" bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1513651 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1513651 notification_emails: - media-alerts@mozilla.com expires: never telemetry_mirror: h#MEDIA_MP4_PARSE_SAMPLE_DESCRIPTION_ENTRIES_HAVE_MULTIPLE_CODECS sample_description_entries_have_multiple_crypto: type: labeled_counter description: > Records if multiple sets of crypto info are present in a track's sample description entries. Recorded each time we process a track's metadata while parsing mp4s. This metric was generated to correspond to the Legacy Telemetry boolean histogram MEDIA_MP4_PARSE_SAMPLE_DESCRIPTION_ENTRIES_HAVE_MULTIPLE_CRYPTO. labels: - "false" - "true" bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1513651 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1513651 notification_emails: - media-alerts@mozilla.com expires: never telemetry_mirror: h#MEDIA_MP4_PARSE_SAMPLE_DESCRIPTION_ENTRIES_HAVE_MULTIPLE_CRYPTO num_sample_description_entries: type: custom_distribution description: > Counts the number of entries in the sample description box (stsd) for a track in an mp4. Recorded each time we process a track's metadata while parsing mp4s. This metric was generated to correspond to the Legacy Telemetry enumerated histogram MEDIA_MP4_PARSE_NUM_SAMPLE_DESCRIPTION_ENTRIES. range_min: 0 range_max: 5 bucket_count: 6 histogram_type: linear bugs: - https://bugzilla.mozilla.org/show_bug.cgi?id=1513651 data_reviews: - https://bugzilla.mozilla.org/show_bug.cgi?id=1513651 notification_emails: - media-alerts@mozilla.com expires: never telemetry_mirror: MEDIA_MP4_PARSE_NUM_SAMPLE_DESCRIPTION_ENTRIES