| # 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: |
| |
| ############################################################################### |
| # fuchsia networking |
| # |
| ############################################################################### |
| |
| ############################################################################### |
| # socket_count_max |
| # |
| # Every minute we log the maximum number of open sockets observed on the system |
| # during the previous minute-long period. |
| ############################################################################### |
| - id: 1 |
| replacement_metric_id: 15 |
| metric_name: socket_count_max |
| metric_type: EVENT_COUNT |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: socket_count_max |
| id: 1 |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: &scm_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| - report_name: socket_count_per_device_max |
| id: 2 |
| report_type: PER_DEVICE_HISTOGRAM |
| aggregation_type: MAX |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| window_size: |
| - 1 |
| int_buckets: &scpdm_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| - id: 15 |
| metric_name: socket_count_max_migrated |
| metric_type: INTEGER |
| metric_units_other: "sockets" |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: socket_count_max |
| id: 1 |
| report_type: FLEETWIDE_HISTOGRAMS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *scm_buckets |
| - report_name: socket_count_per_device_max |
| 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 |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *scpdm_buckets |
| |
| ############################################################################### |
| # sockets_created |
| # |
| # Every minute we log the number of sockets created in the last minute. |
| ############################################################################### |
| - id: 2 |
| replacement_metric_id: 16 |
| metric_name: sockets_created |
| metric_type: EVENT_COUNT |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: sockets_created |
| id: 1 |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: &screated_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| - report_name: sockets_created_per_device_max |
| id: 2 |
| report_type: PER_DEVICE_HISTOGRAM |
| aggregation_type: MAX |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| window_size: |
| - 1 |
| int_buckets: &screatedpdm_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| |
| - id: 16 |
| metric_name: sockets_created_migrated |
| metric_type: INTEGER |
| metric_units_other: "sockets" |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: sockets_created |
| id: 1 |
| report_type: FLEETWIDE_HISTOGRAMS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *screated_buckets |
| - report_name: sockets_created_per_device_max |
| 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 |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *screatedpdm_buckets |
| |
| - id: 28 |
| metric_name: sockets_created_new |
| metric_type: OCCURRENCE |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/04/26" |
| reports: |
| - report_name: sockets_created |
| id: 1 |
| report_type: FLEETWIDE_OCCURRENCE_COUNTS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *screated_buckets |
| - report_name: sockets_created_per_device_max |
| id: 2 |
| report_type: UNIQUE_DEVICE_HISTOGRAMS |
| system_profile_selection: SELECT_LAST |
| local_aggregation_period: WINDOW_1_DAY |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *screatedpdm_buckets |
| |
| ################################################################################ |
| # sockets_destroyed |
| # |
| # Every minute we log the number of sockets destroyed in the last minute. |
| ################################################################################ |
| - id: 3 |
| replacement_metric_id: 17 |
| metric_name: sockets_destroyed |
| metric_type: EVENT_COUNT |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: sockets_destroyed |
| id: 1 |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: &sd_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| - report_name: sockets_destroyed_per_device_max |
| id: 2 |
| report_type: PER_DEVICE_HISTOGRAM |
| aggregation_type: MAX |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| window_size: |
| - 1 |
| int_buckets: &sdpdm_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| |
| - id: 17 |
| metric_name: sockets_destroyed_migrated |
| metric_type: INTEGER |
| metric_units_other: "sockets" |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: sockets_destroyed |
| id: 1 |
| report_type: FLEETWIDE_HISTOGRAMS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *sd_buckets |
| - report_name: sockets_destroyed_per_device_max |
| 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 |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *sdpdm_buckets |
| |
| - id: 29 |
| metric_name: sockets_destroyed_new |
| metric_type: OCCURRENCE |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/04/26" |
| reports: |
| - report_name: sockets_destroyed |
| id: 1 |
| report_type: FLEETWIDE_OCCURRENCE_COUNTS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *sd_buckets |
| - report_name: sockets_destroyed_per_device_max |
| id: 2 |
| report_type: UNIQUE_DEVICE_HISTOGRAMS |
| system_profile_selection: SELECT_LAST |
| local_aggregation_period: WINDOW_1_DAY |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *sdpdm_buckets |
| |
| ################################################################################ |
| # packets_sent |
| # |
| # Every minute we log the number of packets sent in the last minute. |
| ################################################################################ |
| - id: 4 |
| replacement_metric_id: 18 |
| metric_name: packets_sent |
| metric_type: EVENT_COUNT |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: packets_sent |
| id: 1 |
| report_type: PER_DEVICE_HISTOGRAM |
| aggregation_type: MAX |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| window_size: |
| - 1 |
| int_buckets: &ps_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 16 |
| initial_step: 10 |
| step_multiplier: 2 |
| |
| - id: 18 |
| metric_name: packets_sent_migrated |
| metric_type: INTEGER |
| metric_units_other: "packets" |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: packets_sent |
| id: 1 |
| 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 |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *ps_buckets |
| |
| - id: 30 |
| metric_name: packets_sent_new |
| metric_type: OCCURRENCE |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/04/26" |
| reports: |
| - report_name: packets_sent |
| id: 1 |
| report_type: UNIQUE_DEVICE_HISTOGRAMS |
| system_profile_selection: SELECT_LAST |
| local_aggregation_period: WINDOW_1_DAY |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *ps_buckets |
| |
| ################################################################################ |
| # packets_received |
| # |
| # Every minute we log the number of packets received in the last period. |
| ################################################################################ |
| - id: 5 |
| replacement_metric_id: 19 |
| metric_name: packets_received |
| metric_type: EVENT_COUNT |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: packets_received |
| id: 1 |
| report_type: PER_DEVICE_HISTOGRAM |
| aggregation_type: MAX |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| window_size: |
| - 1 |
| int_buckets: &pr_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 16 |
| initial_step: 10 |
| step_multiplier: 2 |
| |
| - id: 19 |
| metric_name: packets_received_migrated |
| metric_type: INTEGER |
| metric_units_other: "packets" |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: packets_received |
| id: 1 |
| 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 |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *pr_buckets |
| |
| - id: 31 |
| metric_name: packets_received_new |
| metric_type: OCCURRENCE |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/04/26" |
| reports: |
| - report_name: packets_received |
| id: 1 |
| report_type: UNIQUE_DEVICE_HISTOGRAMS |
| system_profile_selection: SELECT_LAST |
| local_aggregation_period: WINDOW_1_DAY |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *pr_buckets |
| |
| ################################################################################ |
| # bytes_sent |
| # |
| # Every minute we log the number of bytes sent in the last period. |
| ################################################################################ |
| - id: 6 |
| replacement_metric_id: 20 |
| metric_name: bytes_sent |
| metric_type: EVENT_COUNT |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: bytes_sent |
| id: 1 |
| report_type: PER_DEVICE_HISTOGRAM |
| aggregation_type: MAX |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| window_size: |
| - 1 |
| int_buckets: &bs_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 16 |
| initial_step: 100 |
| step_multiplier: 10 |
| |
| - id: 20 |
| metric_name: bytes_sent_migrated |
| metric_type: INTEGER |
| metric_units: BYTES |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: bytes_sent |
| id: 1 |
| 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 |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *bs_buckets |
| |
| - id: 32 |
| metric_name: bytes_sent_new |
| metric_type: OCCURRENCE |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/04/26" |
| reports: |
| - report_name: bytes_sent |
| id: 1 |
| report_type: UNIQUE_DEVICE_HISTOGRAMS |
| system_profile_selection: SELECT_LAST |
| local_aggregation_period: WINDOW_1_DAY |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *bs_buckets |
| |
| ################################################################################ |
| # bytes_received |
| # |
| # Every minute we log the number of bytes received in the last period. |
| ################################################################################ |
| - id: 7 |
| replacement_metric_id: 21 |
| metric_name: bytes_received |
| metric_type: EVENT_COUNT |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: bytes_received |
| id: 1 |
| report_type: PER_DEVICE_HISTOGRAM |
| aggregation_type: MAX |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| window_size: |
| - 1 |
| int_buckets: &br_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 16 |
| initial_step: 10 |
| step_multiplier: 2 |
| |
| - id: 21 |
| metric_name: bytes_received_migrated |
| metric_type: INTEGER |
| metric_units: BYTES |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: bytes_received |
| id: 1 |
| 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 |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *br_buckets |
| |
| - id: 33 |
| metric_name: bytes_received_new |
| metric_type: OCCURRENCE |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/04/26" |
| reports: |
| - report_name: bytes_received |
| id: 1 |
| report_type: UNIQUE_DEVICE_HISTOGRAMS |
| system_profile_selection: SELECT_LAST |
| local_aggregation_period: WINDOW_1_DAY |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *br_buckets |
| |
| ################################################################################ |
| # tcp_connections_established_total |
| # |
| # Every minute we log the number of TCP connections established at the end of |
| # the last period. |
| # |
| # Such a metric, when viewed over time, would help us understand the number of |
| # TCP connections that are building up in the system. A build-up can occur |
| # due to many long-lived sessions and/or TCP connections waiting to be |
| # purged by the stack. Such a wait occurs on passive close, waiting for |
| # application to initiate a close and on active close, waiting for certain |
| # timeouts to trigger. |
| # |
| # This is different from the socket_count metric above as the socket close |
| # and destruction triggered by the application is independent of the time TCP |
| # connections actually linger in the stack. |
| ################################################################################ |
| - id: 8 |
| replacement_metric_id: 22 |
| metric_name: tcp_connections_established_total |
| metric_type: EVENT_COUNT |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: tcp_connections_established_total |
| id: 1 |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: &tcet_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| - report_name: tcp_connections_established_total_per_device_max |
| id: 2 |
| report_type: PER_DEVICE_HISTOGRAM |
| aggregation_type: MAX |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| window_size: |
| - 1 |
| int_buckets: &tcetpdm_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| |
| - id: 22 |
| metric_name: tcp_connections_established_total_migrated |
| metric_type: INTEGER |
| metric_units_other: "tcp connections" |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: tcp_connections_established_total |
| id: 1 |
| report_type: FLEETWIDE_HISTOGRAMS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tcet_buckets |
| - report_name: tcp_connections_established_total_per_device_max |
| 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 |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tcetpdm_buckets |
| |
| ################################################################################ |
| # tcp_connections_closed |
| # |
| # Every minute we log the number of established TCP connections that got closed |
| # because of passive or active TCP close by applications in the last minute. |
| ################################################################################ |
| - id: 9 |
| replacement_metric_id: 23 |
| metric_name: tcp_connections_closed |
| metric_type: EVENT_COUNT |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: tcp_connections_closed |
| id: 1 |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: &tcc_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| - report_name: tcp_connections_closed_per_device_max |
| id: 2 |
| report_type: PER_DEVICE_HISTOGRAM |
| aggregation_type: MAX |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| window_size: |
| - 1 |
| int_buckets: &tccpdm_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| |
| - id: 23 |
| metric_name: tcp_connections_closed_migrated |
| metric_type: INTEGER |
| metric_units_other: "tcp connections" |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: tcp_connections_closed |
| id: 1 |
| report_type: FLEETWIDE_HISTOGRAMS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tcc_buckets |
| - report_name: tcp_connections_closed_per_device_max |
| 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 |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tccpdm_buckets |
| |
| - id: 34 |
| metric_name: tcp_connections_closed_new |
| metric_type: OCCURRENCE |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/04/26" |
| reports: |
| - report_name: tcp_connections_closed |
| id: 1 |
| report_type: FLEETWIDE_OCCURRENCE_COUNTS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tcc_buckets |
| - report_name: tcp_connections_closed_per_device_max |
| id: 2 |
| report_type: UNIQUE_DEVICE_HISTOGRAMS |
| system_profile_selection: SELECT_LAST |
| local_aggregation_period: WINDOW_1_DAY |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tccpdm_buckets |
| |
| ################################################################################ |
| # tcp_connections_reset |
| # |
| # Every minute we log the number of established TCP connections that got aborted |
| # whenever a TCP RST was sent/received by the stack in the last period. |
| ################################################################################ |
| - id: 10 |
| replacement_metric_id: 24 |
| metric_name: tcp_connections_reset |
| metric_type: EVENT_COUNT |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: tcp_connections_reset |
| id: 1 |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: &tcr_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| - report_name: tcp_connections_reset_per_device_max |
| id: 2 |
| report_type: PER_DEVICE_HISTOGRAM |
| aggregation_type: MAX |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| window_size: |
| - 1 |
| int_buckets: &tcrpdm_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| |
| - id: 24 |
| metric_name: tcp_connections_reset_migrated |
| metric_type: INTEGER |
| metric_units_other: "tcp connections" |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: tcp_connections_reset |
| id: 1 |
| report_type: FLEETWIDE_HISTOGRAMS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tcr_buckets |
| - report_name: tcp_connections_reset_per_device_max |
| 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 |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tcrpdm_buckets |
| |
| - id: 35 |
| metric_name: tcp_connections_reset_new |
| metric_type: OCCURRENCE |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/04/26" |
| reports: |
| - report_name: tcp_connections_reset |
| id: 1 |
| report_type: FLEETWIDE_OCCURRENCE_COUNTS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tcr_buckets |
| - report_name: tcp_connections_reset_per_device_max |
| id: 2 |
| report_type: UNIQUE_DEVICE_HISTOGRAMS |
| system_profile_selection: SELECT_LAST |
| local_aggregation_period: WINDOW_1_DAY |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tcrpdm_buckets |
| |
| ################################################################################ |
| # tcp_connections_timed_out |
| # |
| # Every minute we log the number of established TCP connections that got closed |
| # because of TCP keepalive timeout expiry in the last period. |
| ################################################################################ |
| - id: 11 |
| replacement_metric_id: 25 |
| metric_name: tcp_connections_timed_out |
| metric_type: EVENT_COUNT |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: tcp_connections_timed_out |
| id: 1 |
| report_type: INT_RANGE_HISTOGRAM |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: &tcto_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| - report_name: tcp_connections_timedout_per_device_max |
| id: 2 |
| report_type: PER_DEVICE_HISTOGRAM |
| aggregation_type: MAX |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| window_size: |
| - 1 |
| int_buckets: &tctopdm_buckets |
| exponential: |
| floor: 0 |
| num_buckets: 8 |
| initial_step: 25 |
| step_multiplier: 2 |
| |
| - id: 25 |
| metric_name: tcp_connections_timed_out_migrated |
| metric_type: INTEGER |
| metric_units_other: "tcp connections" |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| reports: |
| - report_name: tcp_connections_timed_out |
| id: 1 |
| report_type: FLEETWIDE_HISTOGRAMS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tcto_buckets |
| - report_name: tcp_connections_timed_out_per_device_max |
| 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 |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tctopdm_buckets |
| |
| - id: 36 |
| metric_name: tcp_connections_timed_out_new |
| metric_type: OCCURRENCE |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/04/26" |
| reports: |
| - report_name: tcp_connections_timed_out |
| id: 1 |
| report_type: FLEETWIDE_OCCURRENCE_COUNTS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tcto_buckets |
| - report_name: tcp_connections_timed_out_per_device_max |
| id: 2 |
| report_type: UNIQUE_DEVICE_HISTOGRAMS |
| system_profile_selection: SELECT_LAST |
| local_aggregation_period: WINDOW_1_DAY |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| int_buckets: *tctopdm_buckets |
| |
| ############################################################################### |
| # dhcp_v6_configuration |
| # |
| # Every minute, we log the DHCPv6 configurations we've observed in the last |
| # minute. |
| ############################################################################### |
| - id: 12 |
| replacement_metric_id: 26 |
| metric_name: dhcp_v6_configuration |
| metric_type: EVENT_OCCURRED |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| metric_dimensions: &dv6c_dimensions |
| - dimension: configuration_from_ndpra |
| event_codes: |
| 0: no_configuration |
| 1: managed_address |
| 2: other_configurations |
| max_event_code: 7 |
| reports: |
| - report_name: dhcp_v6_configuration |
| id: 1 |
| report_type: UNIQUE_N_DAY_ACTIVES |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| local_privacy_noise_level: NONE |
| window_size: |
| - 1 |
| - report_name: dhcp_v6_configuration_7_day_actives |
| id: 2 |
| report_type: UNIQUE_N_DAY_ACTIVES |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| local_privacy_noise_level: NONE |
| window_size: |
| - 7 |
| |
| - id: 26 |
| metric_name: dhcp_v6_configuration_migrated |
| metric_type: OCCURRENCE |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| metric_dimensions: *dv6c_dimensions |
| reports: |
| - report_name: dhcp_v6_configuration |
| id: 1 |
| report_type: UNIQUE_DEVICE_COUNTS |
| system_profile_selection: SELECT_LAST |
| local_aggregation_period: WINDOW_1_DAY |
| local_aggregation_procedure: AT_LEAST_ONCE |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| - report_name: dhcp_v6_configuration_7_day_actives |
| id: 2 |
| report_type: UNIQUE_DEVICE_COUNTS |
| system_profile_selection: SELECT_LAST |
| local_aggregation_period: WINDOW_7_DAYS |
| local_aggregation_procedure: AT_LEAST_ONCE |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| |
| # id 13 was used and should not be reused. |
| |
| ############################################################################### |
| # available_dynamic_ipv6_address_config |
| # |
| # Every hour, logs whether IPv6 addresses are available via DHCPv6 and SLAAC. |
| ############################################################################### |
| - id: 14 |
| replacement_metric_id: 27 |
| metric_name: available_dynamic_ipv6_address_config |
| metric_type: EVENT_COUNT |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| metric_dimensions: &adi6ac_dimensions |
| - dimension: dynamic_ipv6_address_source |
| event_codes: |
| 0: no_global_slaac_or_dhcpv6_managed_address |
| 1: global_slaac_only |
| 2: dhcpv6_managed_address_only |
| 3: global_slaac_and_dhcpv6_managed_address |
| max_event_code: 4 |
| - dimension: interface_id |
| # This dimension is used so we can seperate dynamic_ipv6_address_source |
| # codes from different interfaces on the same device. |
| # |
| # Cobalt requires that event codes be predefined. In most cases, the |
| # netstack will not have more than 3 devices added. We use 15 to be |
| # conservative (0 is not actually used). |
| event_codes: |
| 0: interface0 |
| 1: interface1 |
| 2: interface2 |
| 3: interface3 |
| 4: interface4 |
| 5: interface5 |
| 6: interface6 |
| 7: interface7 |
| 8: interface8 |
| 9: interface9 |
| 10: interface10 |
| 11: interface11 |
| 12: interface12 |
| 13: interface13 |
| 14: interface14 |
| 15: interface15 |
| max_event_code: 16 |
| reports: |
| - report_name: available_dynamic_ipv6_address_config |
| id: 1 |
| report_type: PER_DEVICE_NUMERIC_STATS |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| local_privacy_noise_level: NONE |
| aggregation_type: MAX |
| window_size: |
| - 1 |
| - report_name: available_dynamic_ipv6_address_config_7_day_actives |
| id: 2 |
| report_type: PER_DEVICE_NUMERIC_STATS |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| local_privacy_noise_level: NONE |
| aggregation_type: MAX |
| window_size: |
| - 7 |
| |
| - id: 27 |
| metric_name: available_dynamic_ipv6_address_config_migrated |
| metric_type: INTEGER |
| metric_units_other: "available ipv6 address configs" |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/01/19" |
| metric_dimensions: *adi6ac_dimensions |
| reports: |
| - report_name: available_dynamic_ipv6_address_config |
| id: 1 |
| report_type: UNIQUE_DEVICE_NUMERIC_STATS |
| local_aggregation_period: WINDOW_1_DAY |
| local_aggregation_procedure: MAX_PROCEDURE |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| - report_name: available_dynamic_ipv6_address_config_7_day_actives |
| id: 2 |
| report_type: UNIQUE_DEVICE_NUMERIC_STATS |
| local_aggregation_period: WINDOW_7_DAYS |
| local_aggregation_procedure: MAX_PROCEDURE |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| |
| - id: 37 |
| metric_name: available_dynamic_ipv6_address_config_new |
| metric_type: OCCURRENCE |
| metric_semantics: [USAGE_COUNTING, NETWORK_COMMUNICATION] |
| meta_data: |
| max_release_stage: GA |
| expiration_date: "2022/04/26" |
| metric_dimensions: |
| - dimension: dynamic_ipv6_address_source |
| event_codes: |
| 0: no_global_slaac_or_dhcpv6_managed_address |
| 1: global_slaac_only |
| 2: dhcpv6_managed_address_only |
| 3: global_slaac_and_dhcpv6_managed_address |
| reports: |
| - report_name: available_dynamic_ipv6_address_config |
| id: 1 |
| report_type: UNIQUE_DEVICE_NUMERIC_STATS |
| local_aggregation_period: WINDOW_1_DAY |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |
| - report_name: available_dynamic_ipv6_address_config_7_day_actives |
| id: 2 |
| report_type: UNIQUE_DEVICE_NUMERIC_STATS |
| local_aggregation_period: WINDOW_7_DAYS |
| privacy_level: NO_ADDED_PRIVACY |
| system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL] |