[Cobalt 1.1] Make sure all metrics have replacement status documented
for internal metrics and connectivity_location
Change-Id: I474886440a1db2c259e6d15b28d92714050a2f27
Reviewed-on: https://fuchsia-review.googlesource.com/c/cobalt-registry/+/474156
Privacy-Approval: Zach Bush <zmbush@google.com>
Reviewed-by: Jared Weinstein <jaredweinstein@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Fuchsia-Auto-Submit: Zach Bush <zmbush@google.com>
diff --git a/cobalt_internal/metrics/metrics.yaml b/cobalt_internal/metrics/metrics.yaml
index ad6d2df..2e71925 100644
--- a/cobalt_internal/metrics/metrics.yaml
+++ b/cobalt_internal/metrics/metrics.yaml
@@ -15,7 +15,7 @@
# body size will be logged with status |Succeeded|.
#####################################################################
- id: 3
- # replacement_metric_id: This metric is manually migrated with metric 12
+ no_replacement_metric: This metric is manually migrated with metric 12
metric_name: "per_device_bytes_uploaded"
metric_type: EVENT_COUNT
metric_dimensions:
@@ -72,8 +72,9 @@
# a component string with value <customer_name>/<project_name>.
#####################################################################
- id: 4
- # replacement_metric_id: TODO(fxbug.dev/64989): This metric will be manually migrated to
- # use metric_dimensions instead of component strings.
+ no_replacement_metric: >
+ TODO(fxbug.dev/64989): This metric will be manually migrated
+ to use metric_dimensions instead of component strings.
metric_name: "per_project_bytes_stored"
metric_type: MEMORY_USAGE
metric_dimensions:
@@ -109,8 +110,9 @@
- id: 5
metric_name: "per_project_logger_calls_made"
metric_type: EVENT_COUNT
- # replacement_metric_id: TODO(fxbug.dev/64989): This metric will be manually migrated to
- # use metric_dimensions instead of component strings.
+ no_replacement_metric: >
+ TODO(fxbug.dev/64989): This metric will be manually migrated
+ to use metric_dimensions instead of component strings.
metric_dimensions:
- dimension: logger_method
event_codes: &cobalt_logger_method_list
@@ -159,7 +161,7 @@
- id: 6
metric_name: "inaccurate_clock_events_cached"
metric_type: EVENT_COUNT
- # replacement_metric_id: TODO(fxbug.dev/64989) Update logging sites to log to metric 106
+ no_replacement_metric: TODO(fxbug.dev/64989) Update logging sites to log to metric 106
reports:
- report_name: inaccurate_clock_events_cached_count
id: 1576071636 # legacy long report_id
@@ -210,7 +212,7 @@
- id: 7
metric_name: "inaccurate_clock_events_dropped"
metric_type: EVENT_COUNT
- # replacement_metric_id: TODO(fxbug.dev/64989) Update logging sites to log to metric 107
+ no_replacement_metric: TODO(fxbug.dev/64989) Update logging sites to log to metric 107
reports:
- report_name: inaccurate_clock_events_dropped_count
id: 4212632604 # legacy long report_id
@@ -263,8 +265,9 @@
# <customer_name>/<project_name>.
#####################################################################
- id: 8
- # replacement_metric_id: TODO(fxbug.dev/64989): This metric will be manually migrated to
- # use metric_dimensions instead of component strings.
+ no_replacement_metric: >
+ TODO(fxbug.dev/64989): This metric will be manually migrated to
+ use metric_dimensions instead of component strings.
metric_name: "per_project_bytes_uploaded"
metric_type: EVENT_COUNT
metric_dimensions:
diff --git a/fuchsia/connectivity_location/metrics.yaml b/fuchsia/connectivity_location/metrics.yaml
index 2209141..0234caf 100644
--- a/fuchsia/connectivity_location/metrics.yaml
+++ b/fuchsia/connectivity_location/metrics.yaml
@@ -72,6 +72,7 @@
# On average, this should be reported less than once per day.
#####################################################################
- id: 2
+ replacement_metric_id: 102
metric_name: emergency_get_current_latency
metric_type: ELAPSED_TIME
reports: