| <!-- |
| Copyright 2020 The Chromium Authors. All rights reserved. |
| 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 Quota 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 send CLs to chromium-metrics-reviews@google.com rather than to specific |
| individuals. These CLs will be automatically reassigned to a reviewer within |
| about 5 minutes. This approach helps the metrics team to load-balance incoming |
| reviews. Googlers can read more about this at go/gwsq-gerrit. |
| --> |
| |
| <histogram-configuration> |
| |
| <histograms> |
| |
| <histogram name="Quota.AgeOfDataInDays" units="days" expires_after="2021-05-18"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| How many kilobytes are how old. Similar to |AgeOfOrigin| except a sample is |
| added for each kilobyte of an origin's data. Logged hourly for all origins |
| with stored data. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.AgeOfOriginInDays" units="days" |
| expires_after="2022-03-15"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| How many days it's been since an origin's temporary storage has been |
| accessed. Logged hourly for all origins with stored data. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.AvailableDiskSpace" units="MB" |
| expires_after="2021-12-21"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| Amount of free disk space for the storage directory. Logged at irregular |
| intervals. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.AvailableDiskSpace2" units="MB" |
| expires_after="2021-08-15"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| Amount of free disk space for the storage directory. Logged when collecting |
| usage information. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.DaysBetweenRepeatedOriginEvictions" units="units" |
| expires_after="2021-11-29"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| The number of days since an origin was last chosen to be evicted from the |
| storage, recorded each time the origin is evicted (except for the first |
| eviction). |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.DiskspaceShortage" units="MB" expires_after="2022-01-18"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| Difference between acceptable lower limit of diskspace and actual free |
| diskspace at beginning of an eviction round. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.EvictedBytesPerRound" units="MB" |
| expires_after="2021-12-14"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| Amount of usage used by evicted origins in an eviction round. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.EvictedOriginAccessCount" units="units" |
| expires_after="2021-09-19"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| The number of times the evicted origin was accessed. Logged when the origin |
| is evicted. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.EvictedOriginDaysSinceAccess" units="units" |
| expires_after="2021-09-19"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| The number of days since the evicted origin was last accessed. Logged when |
| the origin is evicted. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.EvictedOriginsPerHour" units="units" |
| expires_after="2021-09-05"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary>Number of evicted origins in an hour.</summary> |
| </histogram> |
| |
| <histogram name="Quota.EvictionRoundsPerHour" units="units" |
| expires_after="2020-10-18"> |
| <owner>jarrydg@chromium.org</owner> |
| <summary>Number of eviction rounds in an hour.</summary> |
| </histogram> |
| |
| <histogram name="Quota.GlobalTemporaryPoolSize" units="MB" |
| expires_after="2022-01-18"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| The size of the global temporary storage pool. Logged at irregular |
| intervals. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.GlobalUsageOfPersistentStorage" units="MB" |
| expires_after="2021-08-29"> |
| <owner>jarrydg@chromium.org</owner> |
| <summary>Global usage of persistent storage.</summary> |
| </histogram> |
| |
| <histogram name="Quota.GlobalUsageOfTemporaryStorage" units="MB" |
| expires_after="2021-10-10"> |
| <owner>jarrydg@chromium.org</owner> |
| <summary>Global usage of temporary storage.</summary> |
| </histogram> |
| |
| <histogram name="Quota.NumberOfEvictedOriginsPerRound" units="units" |
| expires_after="2021-05-18"> |
| <owner>jarrydg@chromium.org</owner> |
| <summary>Number of evicted origins per round.</summary> |
| </histogram> |
| |
| <histogram name="Quota.OSAccomodationDelta" units="MB" expires_after="M85"> |
| <obsolete> |
| Expired in M85. |
| </obsolete> |
| <owner>jarrydg@chromium.org</owner> |
| <summary> |
| If our hardcoded OS accomodation is too large for the volume size, we define |
| the value as a fraction of the total volume size instead. The |
| OSAccomodationDelta is the difference between the hardcoded and computed |
| values. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.PercentDiskAvailable" units="%" |
| expires_after="2021-12-21"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| Percentage of the storage device that is free. Logged at irregular |
| intervals. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.PercentDiskAvailable2" units="%" |
| expires_after="2022-01-18"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| Percentage of the storage device that is free. Logged when collecting usage |
| information. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.PercentUsedByOrigin" units="%" |
| expires_after="2022-01-18"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| Percentage of an origin's quota that is being used by the origin. Logged at |
| irregular intervals. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.PercentUsedForTemporaryStorage2" units="%" |
| expires_after="2021-11-29"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| Percentage of the storage device that is being use for temporary storage. |
| Logged when collecting usage information. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.QuotaForOrigin" units="MB" expires_after="2022-01-18"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| The quota value computed for an origin using temporary storage. Logged at |
| irregular intervals. (In the process of writing new data, storage systems |
| consult the quota system for "usage and quota" to determine if |
| there is sufficient space available for the new data. This value is logged |
| at the time of that consultation. The frequency is dependent on how |
| individual websites use the various storage apis.) |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.SkippedEvictionRoundsPerHour" units="units" |
| expires_after="2018-08-30"> |
| <owner>jarrydg@chromium.org</owner> |
| <summary>Number of skipped eviction rounds in an hour.</summary> |
| </histogram> |
| |
| <histogram name="Quota.SkippedInvalidOriginUsage" enum="InvalidOriginReason" |
| expires_after="2021-08-04"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| While accumulating usage information, ClientUsageTracker is encountering |
| invalid origins. This enum histogram will capture the type of invalid |
| origins that are encountered. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.TimeDeltaOfEvictionRounds" units="units" |
| expires_after="2022-02-26"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| Time between two consecutive eviction rounds. Only recorded if at least one |
| origin has been evicted in each eviction round. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.TimeSpentToAEvictionRound" units="units" |
| expires_after="2018-08-30"> |
| <owner>jarrydg@chromium.org</owner> |
| <summary>Time spent to an eviction round.</summary> |
| </histogram> |
| |
| <histogram name="Quota.TotalDiskSpace" units="MB" expires_after="2021-10-10"> |
| <owner>jarrydg@chromium.org</owner> |
| <summary> |
| Total disk space for the storage directory. Logged at irregular intervals. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.TotalDiskSpaceIsZero" enum="BooleanVolumeZero" |
| expires_after="2022-03-18"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| Whether base::SysInfo::AmountOfTotalDiskSpace() returned zero or a negative |
| number to the quota system. Logged whenever something is pinging the system |
| for quota or device info. |
| </summary> |
| </histogram> |
| |
| <histogram name="Quota.UsageByOrigin" units="MB" expires_after="2021-07-03"> |
| <owner>jarrydg@chromium.org</owner> |
| <owner>chrome-owp-storage@google.com</owner> |
| <summary> |
| Disk space (in MB) currently used by an origin. Logged hourly. |
| </summary> |
| </histogram> |
| |
| </histograms> |
| |
| </histogram-configuration> |