[recovery] Delete unused metric definitions for the recovery project
The following metrics are unused and can be deleted:
* recovery_event
* ota_download_status
* ota_download_duration
Bug: 448972154
Change-Id: Ia7b6b41a0472212b6ad8340d5c72a1f15b398319
Reviewed-on: https://fuchsia-review.googlesource.com/c/cobalt-registry/+/1417098
Reviewed-by: Mike Comfoltey <comfoltey@google.com>
Reviewed-by: Alex Pankhurst <pankhurst@google.com>
Commit-Queue: Sarah Hammond <sarahhammond@google.com>
Privacy-Approval: Alex Pankhurst <pankhurst@google.com>
diff --git a/fuchsia/recovery/metrics.yaml b/fuchsia/recovery/metrics.yaml
index 70ec266..032468c 100644
--- a/fuchsia/recovery/metrics.yaml
+++ b/fuchsia/recovery/metrics.yaml
@@ -12,95 +12,4 @@
# Next Metric ID: 4
################################################################################
-################################################################################
-# ota_download_duration
-#
-# A histogram and logged to Cobalt for every ota, of the time taken for the ota
-# download to complete, in seconds.
-################################################################################
-- id: 1
- metric_name: ota_download_duration
- metric_type: INTEGER
- metric_semantics: [METRIC_SEMANTICS_UNSPECIFIED]
- metric_units: SECONDS
- reports:
- - report_name: histogram
- id: 1
- report_type: FLEETWIDE_HISTOGRAMS
- system_profile_selection: REPORT_ALL
- privacy_mechanism: DE_IDENTIFICATION
- int_buckets:
- linear:
- floor: 0
- num_buckets: 100
- step_size: 15 # 15 seconds
- system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
- meta_data:
- max_release_stage: GA
- expiration_date: "2023/05/10"
-
-################################################################################
-# ota_download_status
-#
-# Pass or Fail
-################################################################################
-- id: 2
- metric_name: ota_download_status
- metric_type: OCCURRENCE
- metric_semantics: [METRIC_SEMANTICS_UNSPECIFIED]
- metric_dimensions:
- - dimension: result
- event_codes:
- 0: Unknown
- 1: Success
- 2: Failure
- reports:
- #####################################################################
- # ota_download_counts
- #
- # This is a report used for the ota performed by the recovery.
- # For each day, we count the total number of occurrences over the
- # fleet of each error type.
- #####################################################################
- - report_name: ota_counts
- id: 1
- report_type: FLEETWIDE_OCCURRENCE_COUNTS
- privacy_mechanism: DE_IDENTIFICATION
- system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
- meta_data:
- max_release_stage: GA
- expiration_date: "2023/05/10"
-
-################################################################################
-# recovery_event
-#
-# Individual events that mark the start of each stage.
-################################################################################
-- id: 3
- metric_name: recovery_event
- metric_type: OCCURRENCE
- metric_semantics: [METRIC_SEMANTICS_UNSPECIFIED]
- metric_dimensions:
- - dimension: result
- event_codes:
- 0: Unknown
- 1: WiFi_Connected
- 2: OTA_Started
- 3: OTA_Success
- 4: OTA_Failed
- 5: Storaged_Reprovisioned
- reports:
- ###########################################################################
- # recovery_events
- #
- # This is a report to show the progress of recovery. For each day, we count
- # the total number of occurrences over the fleet of each event code.
- ###########################################################################
- - report_name: recovery_events
- id: 1
- report_type: FLEETWIDE_OCCURRENCE_COUNTS
- privacy_mechanism: DE_IDENTIFICATION
- system_profile_field: [BOARD_NAME, PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
- meta_data:
- max_release_stage: GA
- expiration_date: "2023/05/10"
+deleted_metric_ids: [1, 2, 3]