blob: a3a1d5e91e5f4ee5f1d719083e26e4c43685c37e [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.
#########################################################################################
# Cobalt Project: session_framework
#########################################################################################
metric_definitions:
#########################################################################################
# session_launch_time
#
# The session launch time is the time it takes session manager to create and bind to
# a child session component. Each time a session is launched, we log its launch time in
# microseconds together with the launch's success status and the URL of the session.
#########################################################################################
- id: 1
replacement_metric_id: 101
metric_name: session_launch_time
metric_type: ELAPSED_TIME
metric_dimensions: &slt_dimensions
# What was the status of the launch?
- dimension: status
event_codes:
0: Success
1: Failure
max_event_code: 50
reports:
#########################################################################################
# session_launch_time_stats
#
# Statistics of the launch time of each session, across all launches
# of that session, for each day.
#########################################################################################
- report_name: session_launch_time_stats
id: 2574629561 # legacy long report_id
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2022/01/07"
- id: 101
metric_name: session_launch_time_migrated
metric_type: INTEGER
metric_units: MICROSECONDS
metric_semantics: [LATENCY]
metric_dimensions: *slt_dimensions
reports:
#########################################################################################
# session_launch_time_stats
#
# Statistics of the launch time of each session, across all launches
# of that session, for each day.
#########################################################################################
- report_name: session_launch_time_stats
id: 1
report_type: FLEETWIDE_MEANS
privacy_level: NO_ADDED_PRIVACY
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2022/01/07"
#########################################################################################
# element_launch_time
#
# The element launch time is the time it takes a session to create and bind to
# a child element component. Each time an element is launched, we log its launch time in
# microseconds together with the launch's success status and the URL of the element.
#########################################################################################
- id: 2
replacement_metric_id: 102
metric_name: element_launch_time
metric_type: ELAPSED_TIME
metric_dimensions: &elt_dimensions
# What was the status of the launch?
- dimension: status
event_codes:
0: Success
1: Failure
max_event_code: 50
reports:
#########################################################################################
# element_launch_time_stats
#
# Statistics of the launch time of each element, across all launches
# of that element, for each day.
#########################################################################################
- report_name: element_launch_time_stats
id: 3858855329 # legacy long report_id
report_type: NUMERIC_AGGREGATION
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2022/01/07"
- id: 102
metric_name: element_launch_time_migrated
metric_type: INTEGER
metric_dimensions: *elt_dimensions
metric_units: MICROSECONDS
metric_semantics: [LATENCY]
reports:
#########################################################################################
# element_launch_time_stats
#
# Statistics of the launch time of each element, across all launches
# of that element, for each day.
#########################################################################################
- report_name: element_launch_time_stats
id: 1
report_type: FLEETWIDE_MEANS
privacy_level: NO_ADDED_PRIVACY
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
meta_data:
max_release_stage: GA
expiration_date: "2022/01/07"