Skip to content

Commit

Permalink
histograms: Add Platform.UnaggregatedUsageTime
Browse files Browse the repository at this point in the history
This Chrome OS-specific metric will be recorded by
https://crrev.com/c/2615988

BUG=b:176848038
TEST=Push metrics_daemon changes, verify metric appears \
     in chrome://histograms

Change-Id: I29b832ab39b6bcf2d1fd8f413c5f6af658380474
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2615503
Commit-Queue: Miriam Zimmerman <mutexlox@chromium.org>
Reviewed-by: Caitlin Fischer <caitlinfischer@google.com>
Reviewed-by: Ian Barkley-Yeung <iby@chromium.org>
Cr-Commit-Position: refs/heads/master@{#841529}
  • Loading branch information
mutexlox authored and Chromium LUCI CQ committed Jan 8, 2021
1 parent 1c1fde8 commit fb8aad1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tools/metrics/histograms/histograms_xml/platform/histograms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1236,6 +1236,21 @@ reviews. Googlers can read more about this at go/gwsq-gerrit.
<summary>Records occurrences of legacy U2F commands sent to cr50.</summary>
</histogram>

<histogram name="Platform.UnaggregatedUsageTime" units="seconds"
expires_after="2022-01-08">
<owner>mutexlox@chromium.org</owner>
<owner>iby@chromium.org</owner>
<owner>cros-telemetry@google.com</owner>
<summary>
Use time (device ON and not asleep) in a particular period (approximately
every five minutes). To compute usage time in a given period (e.g. a day),
sum up all reported values of this metric for that period (day). As with
other UMA metrics on CrOS, this will be uploaded roughly every half-hour.
This will eventually supercede Platform.DailyUseTime, which has significant
limitations (e.g. it may not report on the right day).
</summary>
</histogram>

<histogram name="Platform.UncleanShutdownsDaily" units="count per day"
expires_after="never">
<!-- expires-never: Used to assess Chrome OS platform stability. -->
Expand Down

0 comments on commit fb8aad1

Please sign in to comment.