blob: 17b95fac8eefc623a97d9579752b5d0dfc9b5f05 [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: input
################################################################################
metric_definitions:
################################################################################
# Next Metric ID: 3
################################################################################
################################################################################
# touch_driver_max_latency
#
# The maximum latency from touch interrupt to fuchsia.input.report event
# delivered. Touch drivers maintain a running maximum value that is sampled by
# Lapis every hour.
################################################################################
- id: 1
metric_name: touch_driver_max_latency
metric_units: MICROSECONDS
metric_type: INTEGER
metric_semantics: [LATENCY]
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: &touch_driver_latency_buckets
exponential:
floor: 5000
num_buckets: 7
initial_step: 5000
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
local_aggregation_procedure: MAX_PROCEDURE
privacy_level: NO_ADDED_PRIVACY
int_buckets: *touch_driver_latency_buckets
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2022/07/28"
################################################################################
# touch_driver_average_latency
#
# The average latency from touch interrupt to fuchsia.input.report event
# delivered. Touch drivers maintain a running average value that is sampled by
# Lapis every hour.
################################################################################
- id: 2
metric_name: touch_driver_average_latency
metric_units: MICROSECONDS
metric_type: INTEGER
metric_semantics: [LATENCY]
reports:
- report_name: histogram
id: 1
report_type: HOURLY_VALUE_HISTOGRAMS
system_profile_selection: SELECT_LAST
privacy_level: NO_ADDED_PRIVACY
local_aggregation_procedure: MEDIAN
int_buckets: *touch_driver_latency_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
local_aggregation_procedure: MEDIAN
privacy_level: NO_ADDED_PRIVACY
int_buckets: *touch_driver_latency_buckets
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2022/07/28"