blob: 142d5df5f4b90e9b15945290f80ef3eaf4f5241c [file] [log] [blame]
# Copyright 2020 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.
#####################################################################
# event_occurred
#
# This is a fictional metric used for the development of Cobalt.
#####################################################################
metric_definitions:
- id: 1
no_replacement_metric: "No need to migrate fictional metric"
metric_name: event_occurred
metric_type: EVENT_OCCURRED
metric_dimensions:
- dimension: developer
max_event_code: 10
reports:
- report_name: event_occurred_counts
id: 1
report_type: SIMPLE_OCCURRENCE_COUNT
local_privacy_noise_level: NONE
system_profile_field: [PRODUCT_NAME]
- report_name: event_occurred_counts_with_privacy
id: 2
report_type: SIMPLE_OCCURRENCE_COUNT
local_privacy_noise_level: SMALL
system_profile_field: [PRODUCT_NAME]
meta_data:
max_release_stage: DEBUG
expiration_date: "2021/08/01"
- id: 2
metric_name: error_occurred2
metric_type: OCCURRENCE
metric_semantics: [USAGE_COUNTING]
metric_dimensions:
- dimension: status
event_codes:
0: OK
1: InvalidArgument
2: FailedPrecondition
9: Unknown
max_event_code: 9
reports:
- report_name: error_counts_no_added_privacy
id: 1
report_type: FLEETWIDE_OCCURRENCE_COUNTS
privacy_level: NO_ADDED_PRIVACY
system_profile_field: [OS, ARCH, BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL, REALM]
- report_name: error_counts_low_privacy
id: 2
report_type: FLEETWIDE_OCCURRENCE_COUNTS
privacy_level: LOW_PRIVACY
system_profile_field: [OS, ARCH, BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL, REALM]
max_value: 20
meta_data:
max_release_stage: DEBUG
expiration_date: "2021/02/27"