| # 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: local_storage |
| ################################################################################ |
| |
| metric_definitions: |
| |
| ################################################################################ |
| # Link Latency |
| # |
| # A histogram, aggregated in-process and logged to Cobalt every few minutes, |
| # of the time a vnode spent to link a file, in nanoseconds. |
| ################################################################################ |
| - id: 1 |
| metric_name: link_latency |
| metric_type: INT_HISTOGRAM |
| int_buckets: |
| exponential: |
| floor: 0 |
| num_buckets: 10 |
| initial_step: 10000 |
| step_multiplier: 2 |
| reports: |
| ############################################################################ |
| # A fleet-wide histogram report |
| ############################################################################ |
| - report_name: link_latency_histogram |
| id: 2203712145 # legacy long report_id |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |
| |
| |
| ################################################################################ |
| # Close Latency |
| # |
| # A histogram, aggregated in-process and logged to Cobalt every few minutes, |
| # of the time a vnode spent to close an open file, in nanoseconds. |
| ################################################################################ |
| - id: 2 |
| metric_name: close_latency |
| metric_type: INT_HISTOGRAM |
| int_buckets: |
| exponential: |
| floor: 0 |
| num_buckets: 10 |
| initial_step: 10 |
| step_multiplier: 2 |
| reports: |
| ############################################################################ |
| # A fleet-wide histogram report |
| ############################################################################ |
| - report_name: close_latency_histogram |
| id: 3976766327 # legacy long report_id |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |
| |
| ################################################################################ |
| # Read Latency |
| # |
| # A histogram, aggregated in-process and logged to Cobalt every few minutes, |
| # of the time a vnode spent to read file contents, in nanoseconds. |
| ################################################################################ |
| - id: 3 |
| metric_name: read_latency |
| metric_type: INT_HISTOGRAM |
| int_buckets: |
| exponential: |
| floor: 0 |
| num_buckets: 10 |
| initial_step: 10000 |
| step_multiplier: 2 |
| reports: |
| ############################################################################ |
| # A fleet-wide histogram report |
| ############################################################################ |
| - report_name: read_latency_histogram |
| id: 4000776865 # legacy long report_id |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |
| |
| |
| ################################################################################ |
| # Write Latency |
| # |
| # A histogram, aggregated in-process and logged to Cobalt every few minutes, |
| # of the time a vnode spent to write a file, in nanoseconds. |
| ################################################################################ |
| - id: 4 |
| metric_name: write_latency |
| metric_type: INT_HISTOGRAM |
| int_buckets: |
| exponential: |
| floor: 0 |
| num_buckets: 10 |
| initial_step: 10000 |
| step_multiplier: 2 |
| reports: |
| ############################################################################ |
| # A fleet-wide histogram report |
| ############################################################################ |
| - report_name: write_latency_histogram |
| id: 2787504078 # legacy long report_id |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |
| |
| |
| ################################################################################ |
| # Append Latency |
| # |
| # A histogram, aggregated in-process and logged to Cobalt every few minutes, |
| # of the time a vnode spent appending to a file, in nanoseconds. |
| ################################################################################ |
| - id: 5 |
| metric_name: append_latency |
| metric_type: INT_HISTOGRAM |
| int_buckets: |
| exponential: |
| floor: 0 |
| num_buckets: 10 |
| initial_step: 10000 |
| step_multiplier: 2 |
| reports: |
| ############################################################################ |
| # A fleet-wide histogram report |
| ############################################################################ |
| - report_name: append_latency_histogram |
| id: 4159068221 # legacy long report_id |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |
| |
| |
| ################################################################################ |
| # Truncate Latency |
| # |
| # A histogram, aggregated in-process and logged to Cobalt every few minutes, |
| # of the time a vnode spent truncating a file's size, in nanoseconds. |
| ################################################################################ |
| - id: 6 |
| metric_name: truncate_latency |
| metric_type: INT_HISTOGRAM |
| int_buckets: |
| exponential: |
| floor: 0 |
| num_buckets: 10 |
| initial_step: 10000 |
| step_multiplier: 2 |
| reports: |
| ############################################################################ |
| # A fleet-wide histogram report |
| ############################################################################ |
| - report_name: truncate_latency_histogram |
| id: 4157122023 # legacy long report_id |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |
| |
| |
| ################################################################################ |
| # SetAttr Latency |
| # |
| # A histogram, aggregated in-process and logged to Cobalt every few minutes, |
| # of the time a vnode spent to update its attributes, in nanoseconds. |
| ################################################################################ |
| - id: 7 |
| metric_name: set_attr_latency |
| metric_type: INT_HISTOGRAM |
| int_buckets: |
| exponential: |
| floor: 0 |
| num_buckets: 10 |
| initial_step: 10000 |
| step_multiplier: 2 |
| reports: |
| ############################################################################ |
| # A fleet-wide histogram report |
| ############################################################################ |
| - report_name: set_attr_latency_histogram |
| id: 2824692351 # legacy long report_id |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |
| |
| |
| ################################################################################ |
| # GetAttr Latency |
| # |
| # A histogram, aggregated in-process and logged to Cobalt every few minutes, |
| # of the time a vnode spent to return its attributes, in nanoseconds. |
| ################################################################################ |
| - id: 8 |
| metric_name: get_attr_latency |
| metric_type: INT_HISTOGRAM |
| int_buckets: |
| exponential: |
| floor: 0 |
| num_buckets: 10 |
| initial_step: 1 |
| step_multiplier: 2 |
| reports: |
| ############################################################################ |
| # A fleet-wide histogram report |
| ############################################################################ |
| - report_name: get_attr_latency_histogram |
| id: 296311099 # legacy long report_id |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |
| |
| |
| ################################################################################ |
| # Sync Latency |
| # |
| # A histogram, aggregated in-process and logged to Cobalt every few minutes, |
| # of the time a vnode spent syncing its state to disk, in nanoseconds. |
| ################################################################################ |
| - id: 9 |
| metric_name: sync_latency |
| metric_type: INT_HISTOGRAM |
| int_buckets: |
| exponential: |
| floor: 0 |
| num_buckets: 10 |
| initial_step: 10000 |
| step_multiplier: 2 |
| reports: |
| ############################################################################ |
| # A fleet-wide histogram report |
| ############################################################################ |
| - report_name: sync_latency_histogram |
| id: 3117694120 # legacy long report_id |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |
| |
| |
| ################################################################################ |
| # ReadDir Latency |
| # |
| # A histogram, aggregated in-process and logged to Cobalt every few minutes, |
| # of the time a vnode spent reading directory entries, in nanoseconds. |
| ################################################################################ |
| - id: 10 |
| metric_name: read_dir_latency |
| metric_type: INT_HISTOGRAM |
| int_buckets: |
| exponential: |
| floor: 0 |
| num_buckets: 10 |
| initial_step: 10000 |
| step_multiplier: 2 |
| reports: |
| ############################################################################ |
| # A fleet-wide histogram report |
| ############################################################################ |
| - report_name: read_dir_latency_histogram |
| id: 1707841577 # legacy long report_id |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |
| |
| |
| ################################################################################ |
| # LookUp Latency |
| # |
| # A histogram, aggregated in-process and logged to Cobalt every few minutes, |
| # of the time a vnode spent looking up a child, in nanoseconds. |
| ################################################################################ |
| - id: 11 |
| metric_name: lookup_latency |
| metric_type: INT_HISTOGRAM |
| int_buckets: |
| exponential: |
| floor: 0 |
| num_buckets: 10 |
| initial_step: 10000 |
| step_multiplier: 2 |
| reports: |
| ############################################################################ |
| # A fleet-wide histogram report |
| ############################################################################ |
| - report_name: lookup_latency_histogram |
| id: 3629837219 # legacy long report_id |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |
| |
| ################################################################################ |
| # Create Latency |
| # |
| # A histogram, aggregated in-process and logged to Cobalt every few minutes, |
| # of the the time spent creating a new vnode, in nanoseconds. |
| ################################################################################ |
| - id: 12 |
| metric_name: create_latency |
| metric_type: INT_HISTOGRAM |
| int_buckets: |
| exponential: |
| floor: 0 |
| num_buckets: 10 |
| initial_step: 10000 |
| step_multiplier: 2 |
| reports: |
| ############################################################################ |
| # A fleet-wide histogram report |
| ############################################################################ |
| - report_name: create_latency_histogram |
| id: 3690266605 # legacy long report_id |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |
| |
| |
| ################################################################################ |
| # UnLink Latency |
| # |
| # A histogram, aggregated in-process and logged to Cobalt every few minutes, |
| # of the the time a vnode spent unlinking, in nanoseconds. |
| ################################################################################ |
| - id: 13 |
| metric_name: unlink_latency |
| metric_type: INT_HISTOGRAM |
| int_buckets: |
| exponential: |
| floor: 0 |
| num_buckets: 10 |
| initial_step: 10000 |
| step_multiplier: 2 |
| reports: |
| ############################################################################ |
| # A fleet-wide histogram report |
| ############################################################################ |
| - report_name: unlink_latency_histogram |
| id: 3128110576 # legacy long report_id |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |
| ################################################################################ |
| # Corruption Event |
| # |
| # A corruption event logs a '1' every time a component detects corruption. This |
| # can be either data or metadata corruption depending on the source. |
| ################################################################################ |
| - id: 14 |
| metric_name: corruption_events |
| # This will always log a single event (1). |
| metric_type: EVENT_COUNT |
| metric_dimensions: |
| - dimension: "source" |
| event_codes: |
| 0: Unknown |
| 1: Fvm |
| 2: BlobFs |
| 3: MinFs |
| - dimension: "corruption_type" |
| event_codes: |
| 0: Unknown |
| 1: Data |
| 2: Metadata |
| reports: |
| ############################################################################ |
| # A fleet-wide summary. |
| ############################################################################ |
| - report_name: corruption_summary |
| id: 1809599655 # legacy long report_id |
| report_type: EVENT_COMPONENT_OCCURRENCE_COUNT |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| |
| - report_name: corruption_per_device |
| id: 1110247575 # legacy long report_id |
| report_type: PER_DEVICE_NUMERIC_STATS |
| window_size: |
| - 1 |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2020/03/20" |