| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| ################################################################################ |
| # Cobalt Project: media |
| ################################################################################ |
| |
| metric_definitions: |
| |
| ################################################################################ |
| # audio_output_underflow_duration |
| # |
| # When an output underflow occurs during audio playback, we log its duration in |
| # nanoseconds, together with an event_code representing the time since boot. |
| ################################################################################ |
| - id: 2 |
| metric_name: audio_output_underflow_duration |
| metric_type: ELAPSED_TIME |
| |
| metric_dimensions: |
| - dimension: time_since_boot |
| event_codes: |
| 0: UpLessThan15s |
| 1: UpLessThan30s |
| 2: UpLessThan1m |
| 3: UpLessThan2m |
| 4: UpLessThan4m |
| 5: UpLessThan8m |
| 6: UpLessThan16m |
| 7: UpLessThan32m |
| 8: UpLessThan64m |
| |
| # 'Overflow' bucket. Make sure to rename if adding buckets |
| 99: UpMoreThan64m |
| |
| reports: |
| ##################################################################### |
| # audio_output_underflow_duration_stats |
| ##################################################################### |
| - report_name: audio_output_underflow_duration_stats |
| id: 4271602451 # legacy long report_id |
| report_type: NUMERIC_AGGREGATION |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, ARCH, SYSTEM_VERSION, OS, CHANNEL] |
| |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/05/07" |