[system_metrics] New metric: active_minutes
Bug: 45365
Change-Id: Ifa5ac85bf3216bc7cd45e698750f8670540b79ca
diff --git a/fuchsia/fuchsia_system_metrics/metrics.yaml b/fuchsia/fuchsia_system_metrics/metrics.yaml
index d3e3c78..528bda4 100644
--- a/fuchsia/fuchsia_system_metrics/metrics.yaml
+++ b/fuchsia/fuchsia_system_metrics/metrics.yaml
@@ -288,3 +288,22 @@
meta_data:
max_release_stage: GA
expiration_date: "2020/12/17"
+
+################################################################################
+# Active Minutes
+#
+# Every 15 minutes we log the number of minutes that the device was "active"
+# during the previous 15 minutes period.
+################################################################################
+- id: 9
+ metric_name: active_minutes
+ metric_type: EVENT_COUNT
+ metric_dimensions:
+ reports:
+ - report_name: active_minutes_stats
+ id: 1
+ report_type: NUMERIC_AGGREGATION
+ system_profile_field: [PRODUCT_NAME, CHANNEL, SYSTEM_VERSION]
+ meta_data:
+ max_release_stage: GA
+ expiration_date: "2021/02/04"