<!--
Copyright 2021 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<!--
This file is used to generate a comprehensive list of hps (go/cros-hps) histograms
along with a detailed description for each histogram.
For best practices on writing histogram descriptions, see
https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/metrics/histograms/README.md
Please follow the instructions in the OWNERS file in this directory to find a
reviewer. If no OWNERS file exists, please consider signing up at
go/reviewing-metrics (Googlers only), as all subdirectories are expected to
have an OWNERS file. As a last resort you can send the CL to
[email protected].
-->
<histogram-configuration>
<histograms>
<histogram name="ChromeOS.HPS.Image.Invalidity" units="per1000"
expires_after="2023-05-31">
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Measures the fraction of invalid images per thousand images, in ten minute
blocks. This will be recorded only when an HPS feature is enabled and at
least 30 images are inferenced.
</summary>
</histogram>
<histogram name="ChromeOS.HPS.QuickDim.Enabled" enum="BooleanEnabled"
expires_after="2024-03-24">
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Records when users change the kQuickDim setting on the privacy page.
</summary>
</histogram>
<histogram name="ChromeOS.HPS.SnoopingProtection.Enabled" enum="BooleanEnabled"
expires_after="2023-05-31">
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Records when users change the kSnoopingProtectionEnabled setting on the
privacy page.
</summary>
</histogram>
<histogram name="ChromeOS.HPS.SnoopingProtection.FlakeyDetection"
enum="BooleanPresent" expires_after="2023-05-31">
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Records when a potentially-flakey negative signal appears for snooping
protection. We may also log flakey positive signals in future.
</summary>
</histogram>
<histogram name="ChromeOS.HPS.SnoopingProtection.{Result}.Duration" units="ms"
expires_after="2023-05-31">
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Measures the time of the SnoopingProction at the {Result} state. Recorded
when the snooping status changes.
</summary>
<token key="Result">
<variant name="Negative"/>
<variant name="Positive"/>
</token>
</histogram>
<histogram
name="ChromeOS.HPS.SnoopingProtectionNotificationSuppression.Enabled"
enum="BooleanEnabled" expires_after="2023-05-31">
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Records the new setting of kSnoopingProtectionNotificationSuppressionEnabled
when users change it on the privacy page.
</summary>
</histogram>
<histogram name="ChromeOS.HPS.TurnOn.Result" enum="HpsTurnOnResult"
expires_after="2024-04-28">
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Reports the result of each attempt to turn the hps device on.
</summary>
</histogram>
<histogram name="ChromeOS.HPS.TurnOn.{Result}.Duration" units="ms"
expires_after="2023-05-31">
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>
Measures the time it took to turn on the device, when the result was
{Result}.
</summary>
<token key="Result">
<variant name="Failed"/>
<variant name="Success"/>
</token>
</histogram>
<histogram name="ChromeOS.HPS.Update.{Stage}.Duration" units="ms"
expires_after="2023-05-31">
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<owner>[email protected]</owner>
<summary>Measures the time it took to send an {Stage} update.</summary>
<token key="Stage">
<variant name="Mcu"/>
<variant name="Spi"/>
</token>
</histogram>
</histograms>
</histogram-configuration>