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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2583703002: Record the tab state during data use (Closed)
Patch Set: Created 4 years 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index c32738ed925dc06bb79ce45ead7f9600071d7a4c..54ec1e0a08da17b99a10385d1d306b24ccb8e59f 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -9362,6 +9362,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="DataUse.AppTabState" units="bytes">
+ <owner>rajendrant@chromium.org</owner>
+ <owner>bengr@chromium.org</owner>
+ <summary>
+ Records the data use of Chrome user traffic by the foregound vs. background
+ state of the app and tab.
+ </summary>
+</histogram>
+
<histogram name="DataUse.BackgroundToDataRecievedPerByte" units="ms">
<owner>rajendrant@chromium.org</owner>
<owner>bengr@chromium.org</owner>
@@ -109155,6 +109164,16 @@ value.
<affected-histogram name="DataUsage.ReportSubmission.Bytes"/>
</histogram_suffixes>
+<histogram_suffixes name="DataUse.AppTabState.Dimensions" separator=".">
+ <suffix name="Upstream.AppBackground"/>
+ <suffix name="Upstream.AppForeground.TabBackground"/>
+ <suffix name="Upstream.AppForeground.TabForeground"/>
+ <suffix name="Downstream.AppBackground"/>
+ <suffix name="Downstream.AppForeground.TabBackground"/>
+ <suffix name="Downstream.AppForeground.TabForeground"/>
+ <affected-histogram name="DataUse.AppTabState"/>
RyanSturm 2016/12/16 16:26:11 I think it would be better to use an already exist
Raj 2016/12/16 19:59:11 All existing histograms measure datause broken by
RyanSturm 2016/12/19 19:31:49 It is only expensive in the sense that histograms.
+</histogram_suffixes>
+
<histogram_suffixes name="DataUse.Bytes" separator=".">
<suffix name="Delegate" label="As reported by the network delegate."/>
<suffix name="OS"

Powered by Google App Engine
This is Rietveld 408576698