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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1279543002: Support needed to measure user and service traffic in Chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@NewHistogram
Patch Set: Addressed comments and rebased. Created 5 years, 3 months 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 | « components/suggestions/suggestions_service.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 84b5e81b435e0c877e410bb7877281c38100d771..41851d7d36871b4e7922a765dea9ff16d82ee683 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -5935,6 +5935,30 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="DataUse.MessageSize" units="bytes">
+ <owner>amohammadkhan@chromium.org</owner>
+ <owner>bengr@chromium.org</owner>
+ <summary>
+ The request and reponse size of the messages exchanged by a service. It is
+ logged when the URLReqeust of a service is completed. The service name is
+ added as a suffix to this histogram name.
+ </summary>
+</histogram>
+
+<histogram name="DataUse.MessageSize.AllServices" enum="DataUseServices">
+ <owner>amohammadkhan@chromium.org</owner>
+ <owner>bengr@chromium.org</owner>
+ <summary>
+ The request and reponse size of the messages exchanged by all the services.
+ Whenever a URLRequest of a service is completed, the number of exchanged
+ bytes is logged in this histogram. The buckets in this histogram are
+ services, so it makes it possible to compare the use of different services
+ in different conditions. Different conditions are added as suffixes to this
+ histogram. If the OS is not Android all the requests are considered
+ foreground.
+ </summary>
+</histogram>
+
<histogram name="DataUse.Sync.Download.Bytes" enum="SyncModelTypes">
<owner>amohammadkhan@chromium.org</owner>
<owner>bengr@chromium.org</owner>
@@ -5983,6 +6007,26 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="DataUse.TrafficSize.System" units="bytes">
+ <owner>amohammadkhan@chromium.org</owner>
+ <owner>bengr@chromium.org</owner>
+ <summary>
+ The total data use of Chrome's services. There is no ResourceRequestInfo
+ attached to these requests. If the OS is not Android all the requests are
+ considered foreground.
+ </summary>
+</histogram>
+
+<histogram name="DataUse.TrafficSize.User" units="bytes">
+ <owner>amohammadkhan@chromium.org</owner>
+ <owner>bengr@chromium.org</owner>
+ <summary>
+ The total amount of data use of Chrome for user traffic. This traffic has
+ content::ResourceRequestInfo attached to its request. If the OS is not
+ Android all the requests are considered foreground.
+ </summary>
+</histogram>
+
<histogram name="DefaultBrowser.InteractionResult"
enum="MakeChromeDefaultResult">
<owner>gab@chromium.org</owner>
@@ -55624,6 +55668,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
label="Arrived at settings menu by another path: entered on, exited on"/>
</enum>
+<enum name="DataUseServices" type="int">
+ <int value="0" label="Not Tagged"/>
+ <int value="1" label="Suggestions Service"/>
+</enum>
+
<enum name="DecodedImageType" type="int">
<int value="0" label="kImageUnknown"/>
<int value="1" label="kImageJPEG"/>
@@ -75255,6 +75304,26 @@ To add a new entry, add it with any value and run test to compute valid value.
name="DataReductionProxy.RequestCompletionErrorCodes.MainFrame"/>
</histogram_suffixes>
+<histogram_suffixes name="DataUse.Dimensions" separator=".">
+ <suffix name="Upstream.Background.NotCellular"/>
+ <suffix name="Upstream.Background.Cellular"/>
+ <suffix name="Upstream.Foreground.NotCellular"/>
+ <suffix name="Upstream.Foreground.Cellular"/>
+ <suffix name="Downstream.Background.NotCellular"/>
+ <suffix name="Downstream.Background.Cellular"/>
+ <suffix name="Downstream.Foreground.NotCellular"/>
+ <suffix name="Downstream.Foreground.Cellular"/>
+ <affected-histogram name="DataUse.MessageSize.AllServices"/>
+ <affected-histogram name="DataUse.TrafficSize.System"/>
+ <affected-histogram name="DataUse.TrafficSize.User"/>
+</histogram_suffixes>
+
+<histogram_suffixes name="DataUse.Service.Types" separator=".">
+ <suffix name="NotTagged"/>
+ <suffix name="Suggestions"/>
+ <affected-histogram name="DataUse.MessageSize"/>
+</histogram_suffixes>
+
<histogram_suffixes name="DefaultAppsExperiment">
<suffix name="NoDefaultApps" label="User's without default apps installed"/>
<suffix name="WithDefaultApps" label="User's with default apps installed"/>
« no previous file with comments | « components/suggestions/suggestions_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698