[local_storage] new data_partition_upgrade metric
* this is the F1R version of fxrev.dev/594148 given that F1R did
not have the 1.1 metric defined
* Sampler is sending an Occurrence so the metric type should be
EVENT_COUNT – going with a new metric ID to be safer
* this still requires fshost to change its Inspect field type and
the Sampler config to be changed to the new metric ID
* fix the report name that's redundant with the metric name
Bug: 86635
Change-Id: Ia400d5aecf253f309971a721e1f5ab8544821119
diff --git a/fuchsia/local_storage/metrics.yaml b/fuchsia/local_storage/metrics.yaml
index fe581ab..5cd2381 100644
--- a/fuchsia/local_storage/metrics.yaml
+++ b/fuchsia/local_storage/metrics.yaml
@@ -1478,9 +1478,9 @@
# occurs during boot. Since the overall procedure is intended to be a one-time
# event, this should only trigger once per device.
################################################################################
-- id: 9000
+- id: 9002
metric_name: data_partition_upgrade
- metric_type: EVENT_OCCURRED
+ metric_type: EVENT_COUNT
metric_dimensions:
- dimension: stage
event_codes:
@@ -1492,9 +1492,9 @@
5: Done
max_event_code: 15
reports:
- - report_name: data_partition_upgrade
- id: 9000
- report_type: SIMPLE_OCCURRENCE_COUNT
+ - report_name: counts
+ id: 1
+ report_type: EVENT_COMPONENT_OCCURRENCE_COUNT
system_profile_field: [BOARD_NAME, PRODUCT_NAME, SYSTEM_VERSION, CHANNEL]
local_privacy_noise_level: NONE
meta_data: