blob: b69f9896edfd6fcdd4c14625f7b07db123bebbfd [file] [log] [blame]
# 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.
metric_definitions:
#####################################################################
# update_check_response_time
#
# Elapsed microseconds from sending update check to getting a response
# from Omaha.
# Logged when we receive an update check response from Omaha.
#####################################################################
- id: 1
metric_name: update_check_response_time
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: result
event_codes:
0: Success
1: Failed
reports:
#####################################################################
# update_check_response_timing_histogram
#
# Exponential histogram starting from 1ms to 1048576ms (about 17min)
#####################################################################
- report_name: update_check_response_timing_histogram
id: 1631481055 # legacy long report_id
report_type: INT_RANGE_HISTOGRAM
int_buckets:
exponential:
floor: 0
num_buckets: 20
initial_step: 1000
step_multiplier: 2
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2020/05/01"
#####################################################################
# update_check_interval
#
# Elapsed microseconds from the previous update check to the current
# update check.
# Logged when we start a new update check.
#####################################################################
- id: 2
metric_name: update_check_interval
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: result
event_codes:
0: Success
reports:
#####################################################################
# update_check_interval_histogram
#
# Exponential histogram starting from 1 seconds to 12.13 days.
#####################################################################
- report_name: update_check_interval_histogram
id: 454244994 # legacy long report_id
report_type: INT_RANGE_HISTOGRAM
int_buckets:
exponential:
floor: 0
num_buckets: 20
initial_step: 1000000
step_multiplier: 2
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2020/05/01"
#####################################################################
# update_duration
#
# Elapsed microseconds from starting an update to having successfully
# applied it or encountering a failure.
# Logged when an update is finished or failed.
#####################################################################
- id: 3
metric_name: update_duration
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: result
event_codes:
0: Success
1: Failed
reports:
#####################################################################
# update_duration_histogram
#
# Exponential histogram starting from 10 seconds to 170 minutes.
#####################################################################
- report_name: update_duration_histogram
id: 4031733934 # legacy long report_id
report_type: INT_RANGE_HISTOGRAM
int_buckets:
exponential:
floor: 0
num_buckets: 10
initial_step: 10000000
step_multiplier: 2
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2020/05/01"
#####################################################################
# update_duration_from_first_seen
#
# Elapsed microseconds from first seeing an update to having
# successfully applied it.
# Logged when an update has been successfully applied.
#####################################################################
- id: 4
metric_name: update_duration_from_first_seen
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: result
event_codes:
0: Success
reports:
#####################################################################
# update_duration_from_first_seen_histogram
#
# Exponential histogram starting from 10 seconds to 121 days.
#####################################################################
- report_name: update_duration_from_first_seen_histogram
id: 4083657128 # legacy long report_id
report_type: INT_RANGE_HISTOGRAM
int_buckets:
exponential:
floor: 0
num_buckets: 20
initial_step: 10000000
step_multiplier: 2
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2020/05/01"
#####################################################################
# update_check_failure
#
# Why an update check failed (network, omaha, proxy, etc).
# Logged when an update check is failed.
#####################################################################
- id: 5
metric_name: update_check_failure
metric_type: EVENT_OCCURRED
metric_dimensions:
- dimension: reason
event_codes:
0: Omaha
1: Network
2: Proxy
3: Configuration
4: Internal
max_event_code: 4
reports:
#####################################################################
# update_check_failure_reason_count
#
# Occurrence count for each failure reason.
#####################################################################
- report_name: update_check_failure_reason_count
id: 14257767 # legacy long report_id
report_type: SIMPLE_OCCURRENCE_COUNT
local_privacy_noise_level: NONE
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2020/05/01"
#####################################################################
# update_check_retries
#
# Number of retries within a single update check attempt.
# Logged when an update check is done.
#####################################################################
- id: 6
metric_name: update_check_retries
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: result
event_codes:
0: Success
reports:
#####################################################################
# update_check_retries_histogram
#
# Exponential histogram starting from 1 to 1024.
#####################################################################
- report_name: update_check_retries_histogram
id: 3306701443 # legacy long report_id
report_type: INT_RANGE_HISTOGRAM
int_buckets:
exponential:
floor: 0
num_buckets: 10
initial_step: 1
step_multiplier: 2
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2020/05/01"
#####################################################################
# attempts_to_succeed
#
# Number of update check attempts to get an update to succeed.
# Logged when an update has been successfully applied.
#####################################################################
- id: 7
metric_name: attempts_to_succeed
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: result
event_codes:
0: Success
reports:
#####################################################################
# attempts_to_succeed_histogram
#
# Exponential histogram starting from 1 to 1024.
#####################################################################
- report_name: attempts_to_succeed_histogram
id: 2840086323 # legacy long report_id
report_type: INT_RANGE_HISTOGRAM
int_buckets:
exponential:
floor: 0
num_buckets: 10
initial_step: 1
step_multiplier: 2
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2020/05/01"
#####################################################################
# waited_for_reboot_duration
#
# Elapsed microseconds from having finished applying the update to
# when finally running that software, it is sent after the reboot
# (and includes the rebooting time).
# Logged when we are running the new version after reboot.
#####################################################################
- id: 8
metric_name: waited_for_reboot_duration
metric_type: ELAPSED_TIME
metric_dimensions:
- dimension: result
event_codes:
0: Success
reports:
#####################################################################
# waited_for_reboot_duration_histogram
#
# Exponential histogram starting from 1 seconds to 12.13 days.
#####################################################################
- report_name: waited_for_reboot_duration_histogram
id: 97126065 # legacy long report_id
report_type: INT_RANGE_HISTOGRAM
int_buckets:
exponential:
floor: 0
num_buckets: 20
initial_step: 1000000
step_multiplier: 2
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2020/05/01"
#####################################################################
# failed_boot_attempts
#
# Number of time an update failed to boot into new version.
# Logged when we are running the new version after reboot or fallback
# to the old version.
#####################################################################
- id: 9
metric_name: failed_boot_attempts
metric_type: EVENT_COUNT
metric_dimensions:
- dimension: result
event_codes:
0: Success
reports:
#####################################################################
# failed_boot_attempts_histogram
#
# Exponential histogram starting from 1 to 1024.
#####################################################################
- report_name: failed_boot_attempts_histogram
id: 3468066989 # legacy long report_id
report_type: INT_RANGE_HISTOGRAM
int_buckets:
exponential:
floor: 0
num_buckets: 10
initial_step: 1
step_multiplier: 2
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2020/05/01"