Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 1444133002: Add UMA histograms for data usage tab model (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed tbansal comments Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « chrome/browser/android/data_usage/tab_data_use_entry_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index b76f7b8d8e9058c0513800cd55351827c2ae75ac..0993d4521af78c0161406f2af340cd9ac8a7d47f 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6423,6 +6423,81 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="DataUse.TabModel.ExpiredActiveTabEntryRemovalDuration"
+ units="seconds">
+ <owner>bengr@chromium.org</owner>
+ <owner>rajendrant@chromium.org</owner>
+ <summary>
+ The duration in seconds an expired tab entry still actively tracking data
+ usage for a Chrome tab is removed from tab model since its latest data usage
+ tracking session.
jwd 2015/11/17 20:55:22 Does a tracking session have a start and end? if s
jwd 2015/11/17 20:55:22 I would separate the description of what's being l
Raj 2015/11/17 23:43:03 Done.
Raj 2015/11/17 23:43:03 Done.
+
+ Tab model maintains the tab entries each pertaining to tracking sessions of
jwd 2015/11/17 20:55:22 nit: "tab model" isn't a proper noun right? If not
jwd 2015/11/17 20:55:22 nit: "entries, each" I think.
Raj 2015/11/17 23:43:03 Done.
Raj 2015/11/17 23:43:03 Done.
+ a single Chrome tab. These entries are considered expired after some
+ duration and can be removed from tab model after that. The sample is taken
+ when an expired tab entry still tracking data usage is removed from the tab
+ model.
+ </summary>
+</histogram>
+
+<histogram name="DataUse.TabModel.ExpiredInactiveTabEntryRemovalDuration"
+ units="seconds">
+ <owner>bengr@chromium.org</owner>
+ <owner>rajendrant@chromium.org</owner>
+ <summary>
+ The duration in seconds an expired tab entry not actively tracking data
+ usage for a Chrome tab is removed from tab model since its latest data usage
+ tracking session.
+
+ Tab model maintains the tab entries each pertaining to tracking sessions of
+ a single Chrome tab. These entries are considered expired after some
+ duration and can be removed from tab model after that. The sample is taken
+ when an expired inactive tab entry is removed from the tab model.
+ </summary>
+</histogram>
+
+<histogram name="DataUse.TabModel.OldInactiveSessionRemovalDuration"
+ units="seconds">
+ <owner>bengr@chromium.org</owner>
+ <owner>rajendrant@chromium.org</owner>
+ <summary>
+ The amount of time in seconds between the time of deletion of an old
+ inactive data usage tracking session and the time its tracking ended.
+
+ Tab model maintains a limited number of tracking sessions per Chrome tab.
+ When this limit is reached oldest inactive tracking sessions are removed.
+ The sample is taken when an old inactive tracking session of a tab is
+ removed from the tab model.
+ </summary>
+</histogram>
+
+<histogram name="DataUse.TabModel.TrackingSessionLifetime" units="seconds">
+ <owner>bengr@chromium.org</owner>
+ <owner>rajendrant@chromium.org</owner>
+ <summary>
+ The lifetime of a data usage tracking session of a Chrome tab in seconds,
+ maintained by tab model. This is the duration between the time tracking
+ started due to an entry event and ended with an exit event. The sample is
+ taken when the data usage tracking session ends.
+ </summary>
+</histogram>
+
+<histogram name="DataUse.TabModel.UnexpiredTabEntryRemovalDuration"
+ units="seconds">
+ <owner>bengr@chromium.org</owner>
+ <owner>rajendrant@chromium.org</owner>
+ <summary>
+ The duration in seconds an unexpired tab entry is removed from tab model and
+ its latest data usage tracking session.
+
+ Tab model maintains a limited number of entries each pertaining to tracking
+ sessions of a single Chrome tab. When this limit is reached even after
+ removing expired tab entries, then oldest unexpired tab entries are removed.
+ The sample is taken when an unexpired tab entry is removed from the tab
+ model.
+ </summary>
+</histogram>
+
<histogram name="DataUse.TrafficSize.System" units="bytes">
<owner>amohammadkhan@chromium.org</owner>
<owner>bengr@chromium.org</owner>
« no previous file with comments | « chrome/browser/android/data_usage/tab_data_use_entry_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698