blob: 1a416889368dabd1d711e81424c4d5713d5d2bf5 [file] [log] [blame]
# Copyright 2021 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: sdmmc
################################################################################
metric_definitions:
################################################################################
# Next Metric ID: 6
################################################################################
################################################################################
# sdio_tx_error_occurrence
#
# Total number of SDIO TX errors, logged by the SDIO core driver via Lapis.
################################################################################
- id: 1
metric_name: sdio_tx_error_occurrence
metric_type: OCCURRENCE
metric_semantics: [METRIC_SEMANTICS_UNSPECIFIED]
reports:
- report_name: histogram
id: 1
report_type: HOURLY_VALUE_HISTOGRAMS
system_profile_selection: SELECT_LAST
privacy_level: NO_ADDED_PRIVACY
# (-inf, 1) [1, 3) [3, 7) [7, 19) [19, 55) [55, 163) [163, 487) [487, 1459) [1459, inf)
int_buckets: &sdio_error_buckets
exponential:
floor: 1
num_buckets: 7
initial_step: 2
step_multiplier: 3
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
- report_name: histogram_daily
id: 2
report_type: UNIQUE_DEVICE_HISTOGRAMS
system_profile_selection: SELECT_LAST
local_aggregation_period: WINDOW_1_DAY
privacy_level: NO_ADDED_PRIVACY
int_buckets: *sdio_error_buckets
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2022/07/20"
################################################################################
# sdio_rx_error_occurrence
#
# Total number of SDIO RX errors, logged by the SDIO core driver via Lapis.
################################################################################
- id: 2
metric_name: sdio_rx_error_occurrence
metric_type: OCCURRENCE
metric_semantics: [METRIC_SEMANTICS_UNSPECIFIED]
reports:
- report_name: histogram
id: 1
report_type: HOURLY_VALUE_HISTOGRAMS
system_profile_selection: SELECT_LAST
privacy_level: NO_ADDED_PRIVACY
int_buckets: *sdio_error_buckets
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
- report_name: histogram_daily
id: 2
report_type: UNIQUE_DEVICE_HISTOGRAMS
system_profile_selection: SELECT_LAST
local_aggregation_period: WINDOW_1_DAY
privacy_level: NO_ADDED_PRIVACY
int_buckets: *sdio_error_buckets
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2022/07/20"
################################################################################
# sdio_tx_error_integer
#
# Total number of SDIO TX errors, logged by the SDIO core driver via Lapis.
################################################################################
- id: 3
metric_name: sdio_tx_error_integer
metric_units_other: "errors"
metric_type: INTEGER
metric_semantics: [METRIC_SEMANTICS_UNSPECIFIED]
reports:
- report_name: histogram
id: 1
report_type: HOURLY_VALUE_HISTOGRAMS
system_profile_selection: SELECT_LAST
privacy_level: NO_ADDED_PRIVACY
local_aggregation_procedure: MAX_PROCEDURE
int_buckets: *sdio_error_buckets
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
- report_name: histogram_daily
id: 2
report_type: UNIQUE_DEVICE_HISTOGRAMS
system_profile_selection: SELECT_LAST
local_aggregation_period: WINDOW_1_DAY
privacy_level: NO_ADDED_PRIVACY
local_aggregation_procedure: MAX_PROCEDURE
int_buckets: *sdio_error_buckets
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
- report_name: histogram_30day
id: 3
report_type: UNIQUE_DEVICE_HISTOGRAMS
system_profile_selection: SELECT_LAST
local_aggregation_period: WINDOW_30_DAYS
privacy_level: NO_ADDED_PRIVACY
local_aggregation_procedure: MAX_PROCEDURE
int_buckets: *sdio_error_buckets
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2022/07/27"
################################################################################
# sdio_rx_error_integer
#
# Total number of SDIO RX errors, logged by the SDIO core driver via Lapis.
################################################################################
- id: 4
metric_name: sdio_rx_error_integer
metric_units_other: "errors"
metric_type: INTEGER
metric_semantics: [METRIC_SEMANTICS_UNSPECIFIED]
reports:
- report_name: histogram
id: 1
report_type: HOURLY_VALUE_HISTOGRAMS
system_profile_selection: SELECT_LAST
privacy_level: NO_ADDED_PRIVACY
local_aggregation_procedure: MAX_PROCEDURE
int_buckets: *sdio_error_buckets
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
- report_name: histogram_daily
id: 2
report_type: UNIQUE_DEVICE_HISTOGRAMS
system_profile_selection: SELECT_LAST
local_aggregation_period: WINDOW_1_DAY
privacy_level: NO_ADDED_PRIVACY
local_aggregation_procedure: MAX_PROCEDURE
int_buckets: *sdio_error_buckets
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
- report_name: histogram_30day
id: 3
report_type: UNIQUE_DEVICE_HISTOGRAMS
system_profile_selection: SELECT_LAST
local_aggregation_period: WINDOW_30_DAYS
privacy_level: NO_ADDED_PRIVACY
local_aggregation_procedure: MAX_PROCEDURE
int_buckets: *sdio_error_buckets
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2022/07/27"
################################################################################
# sdmmc_io_error
#
# Total number of eMMC/SD IO errors, logged by the SDMMC block driver via Lapis.
################################################################################
- id: 5
metric_name: sdmmc_io_error
metric_type: OCCURRENCE
metric_semantics: [METRIC_SEMANTICS_UNSPECIFIED]
reports:
- report_name: total_count
id: 1
report_type: FLEETWIDE_OCCURRENCE_COUNTS
privacy_level: NO_ADDED_PRIVACY
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2022/09/02"