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

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

Issue 1491793002: Add histograms for ExternalDataUseObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 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
« no previous file with comments | « chrome/browser/android/data_usage/external_data_use_observer_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 8fe39f0b3550788196e37763a02d4417bc480c69..111f0e19f14113628bbc3135111555aa73b4af40 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6467,6 +6467,22 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="DataUsage.ReportSubmission.Bytes" units="bytes">
+ <owner>bengr@chromium.org</owner>
+ <owner>tbansal@chromium.org</owner>
+ <summary>
+ Count of bytes in the data use reports that were intended to be submitted to
+ the platform external data use observer.
+ </summary>
+</histogram>
+
+<histogram name="DataUsage.ReportSubmissionResult"
+ enum="DataUsageReportSubmissionResult">
+ <owner>bengr@chromium.org</owner>
+ <owner>tbansal@chromium.org</owner>
+ <summary>Result of data usage report submission.</summary>
+</histogram>
+
<histogram name="DataUse.MessageSize" units="bytes">
<owner>amohammadkhan@chromium.org</owner>
<owner>bengr@chromium.org</owner>
@@ -58477,6 +58493,13 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="10" label="Diabled directly from the First Run Experience"/>
</enum>
+<enum name="DataUsageReportSubmissionResult" type="int">
+ <int value="0" label="Successful"/>
+ <int value="1" label="Failed"/>
+ <int value="2" label="Timed out"/>
+ <int value="3" label="Lost"/>
+</enum>
+
<enum name="DataUseServices" type="int">
<int value="0" label="Not Tagged"/>
<int value="1" label="Suggestions"/>
@@ -80234,6 +80257,22 @@ 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="DataUsageReportSubmissionBytes" separator=".">
+ <suffix name="Failed"
+ label="Platform external data use observer reported the submission as
+ failed"/>
+ <suffix name="Lost"
+ label="Lost before it could be submitted to platform external data use
+ observer"/>
+ <suffix name="Successful"
+ label="Platform external data use observer reported the submission as
+ successful"/>
+ <suffix name="TimedOut"
+ label="Submission of the report to the platform external data use
+ observer timed out"/>
+ <affected-histogram name="DataUsage.ReportSubmission.Bytes"/>
+</histogram_suffixes>
+
<histogram_suffixes name="DataUse.Dimensions" separator=".">
<suffix name="Upstream.Background.NotCellular"/>
<suffix name="Upstream.Background.Cellular"/>
« no previous file with comments | « chrome/browser/android/data_usage/external_data_use_observer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698