| # Copyright 2023 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_pipeline |
| ################################################################################ |
| |
| metric_definitions: |
| |
| ##################################################################### |
| # Next Metric ID: 2 |
| ##################################################################### |
| |
| ################################################################################ |
| # input_pipeline_error |
| # |
| # Count of unexpected error occurs in input pipeline (ui/lib/input_pipeline). |
| # |
| # This metric logs errors that are unlikely to occur but not worth to crash. |
| # We track these errors so that we can investigate them when they do happen |
| # and identify any potential regressions or hardware failures. |
| ################################################################################ |
| - id: 1 |
| metric_name: input_pipeline_error |
| metric_type: OCCURRENCE |
| metric_semantics: [USAGE_COUNTING] |
| metric_dimensions: |
| - dimension: event |
| event_codes: |
| 0: Unset |
| 1: AutorepeatCouldNotFireTimer |
| 2: AutorepeatCouldNotRunAutorepeat |
| 3: ConsumerControlsSendEventFailed |
| 4: FactoryResetFailedToReset |
| 5: FactoryResetNotAllowedReset |
| 6: FactoryResetFailedToSendCountdown |
| 7: FocusChainListenerRequestError |
| 8: ImeFailedToDispatchKeyToIme |
| 9: InputDeviceCreateInputReportProxyFailed |
| 10: InputDeviceGetInputReportsReaderError |
| 11: InputPipelineCouldNotForwardEvent |
| 12: InputPipelineDisplayOwnershipIsNotSupposedToTerminate |
| 13: InputPipelineAutorepeatRunningError |
| 14: InputPipelineUnableToWatchForNewInputDevices |
| 15: InputPipelineCouldNotForwardEventFromDriver |
| 16: InputPipelineStopHandlingEvents |
| 17: InputPipelineNoDeviceDescriptor |
| 18: InputPipelineFailedToBind |
| 19: KeyboardEmptyDeviceInfo |
| 20: KeyboardFailedToParse |
| 21: KeyboardFailedToSendKeyboardEvent |
| 22: MediaButtonErrorWhilePushingTask |
| 23: MouseDescriptionNotMouse |
| 24: MouseFailedToSendEvent |
| 25: MouseInjectorUpdateCursorRendererFailed |
| 26: MouseInjectorEnsureInjectorRegisteredFailed |
| 27: MouseInjectorSendEventToScenicFailed |
| 28: MouseInjectorMissingIsPrecisionScroll |
| 29: MouseInjectorErrorWhileReadingViewportUpdate |
| 30: MouseInjectorViewportUpdateStreamTerminatedUnexpectedly |
| 31: PointerDisplayScaleNoPhysicalPixel |
| 32: PointerSensorScaleHandlerScaledMotionInvalid |
| 33: PointerSensorScaleHandlerScaledScrollInvalid |
| 34: TextSettingsHandlerExit |
| 35: TextSettingsHandlerCantRun |
| 36: TouchFailedToSendTouchScreenEvent |
| 37: TouchFailedToSendTouchpadEvent |
| 38: TouchInjectorEnsureInjectorRegisteredFailed |
| 39: TouchInjectorSendEventToScenicFailed |
| 40: TouchInjectorErrorWhileReadingViewportUpdate |
| 41: TouchInjectorViewportUpdateStreamTerminatedUnexpectedly |
| 42: LightEmptyDeviceInfo |
| 43: LightFailedToSendEvent |
| reports: |
| - report_name: error_counts |
| id: 1 |
| report_type: FLEETWIDE_OCCURRENCE_COUNTS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| - report_name: unique_device_daily_error_counts |
| id: 2 |
| report_type: UNIQUE_DEVICE_COUNTS |
| local_aggregation_procedure: AT_LEAST_ONCE |
| local_aggregation_period: WINDOW_1_DAY |
| system_profile_selection: SELECT_LAST |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2024/06/14" |