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

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

Issue 1368533004: Add UMA metrics to the site engagement service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@time-on-site
Patch Set: Refactor tests 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 | « chrome/chrome_browser.gypi ('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 9ec692d7f0b42f988c624c9005b5038139735cc2..c3952f6f91b6e96c8a5cf5b301f1daec057e8578 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -42303,6 +42303,101 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Number of retries until the final response was recorded.</summary>
</histogram>
+<histogram name="SiteEngagementService.EngagementScore">
+ <owner>calamity@chromium.org</owner>
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ Distribution of the engagement scores accumulated by a user, recorded at
+ startup per non-incognito profile, and then upon the first
+ engagement-increasing event every hour thereafter.
+ </summary>
+</histogram>
+
+<histogram name="SiteEngagementService.EngagementType"
+ enum="SiteEngagementServiceEngagementType">
+ <owner>calamity@chromium.org</owner>
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ The type of engagement (navigation, user input, etc.) which led to an
+ accumulation in site engagement.
+ </summary>
+</histogram>
+
+<histogram name="SiteEngagementService.MeanEngagement">
+ <owner>calamity@chromium.org</owner>
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ The mean site engagement per origin accumulated by this profile, recorded at
+ startup per non-incognito profile, and then upon the first
+ engagement-increasing event every hour thereafter.
+ </summary>
+</histogram>
+
+<histogram name="SiteEngagementService.MedianEngagement">
+ <owner>calamity@chromium.org</owner>
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ The median site engagement per origin accumulated by this profile, recorded
+ at startup per non-incognito profile, and then upon the first
+ engagement-increasing event every hour thereafter.
+ </summary>
+</histogram>
+
+<histogram name="SiteEngagementService.OriginsEngaged">
+ <owner>calamity@chromium.org</owner>
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ The total number of origins with a non-zero site engagement score for this
+ profile, recorded at startup per non-incognito profile, and then upon the
+ first engagement-increasing event every hour thereafter.
+ </summary>
+</histogram>
+
+<histogram name="SiteEngagementService.OriginsWithMaxDailyEngagement">
+ <owner>calamity@chromium.org</owner>
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ The number of origins which have reached the daily site engagement point
+ cap, recorded at startup per non-incognito profile, and then upon the first
+ engagement-increasing event every hour thereafter. Thus, each bin N contains
+ the number of clients where at least N origins have reached the maximum
+ daily site engagement point cap.
+ </summary>
+</histogram>
+
+<histogram name="SiteEngagementService.OriginsWithMaxEngagement">
+ <owner>calamity@chromium.org</owner>
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ The number of origins which have reached the absolute site engagement point
+ cap, recorded at startup per non-incognito profile, and then upon the first
+ engagement-increasing event every hour thereafter. Thus, each bin N contains
+ the number of clients where at least N origins have reached the maximum
+ absolute site engagement point cap.
+ </summary>
+</histogram>
+
+<histogram name="SiteEngagementService.PercentOriginsWithMaxEngagement">
+ <owner>calamity@chromium.org</owner>
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ The percentage of all origins recorded by the site engagement service which
+ have reached the absolute site engagement point cap, recorded at startup per
+ non-incognito profile, and then upon the first engagement-increasing event
+ every hour thereafter.
+ </summary>
+</histogram>
+
+<histogram name="SiteEngagementService.TotalEngagement">
+ <owner>calamity@chromium.org</owner>
+ <owner>dominickn@chromium.org</owner>
+ <summary>
+ The total site engagement accumulated by this profile, recorded at startup
+ per non-incognito profile, and then upon the first engagement-increasing
+ event every hour thereafter.
+ </summary>
+</histogram>
+
<histogram name="SiteIsolation.AllResponses">
<owner>creis@chromium.org</owner>
<summary>
@@ -70701,6 +70796,12 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="3" label="Fresh index with cache updated since backend start"/>
</enum>
+<enum name="SiteEngagementServiceEngagementType" type="int">
+ <int value="0" label="Navigation"/>
+ <int value="1" label="Keypress"/>
+ <int value="2" label="Mouse"/>
+</enum>
+
<enum name="SiteIsolationMimeType" type="int">
<int value="0" label="HTML"/>
<int value="1" label="XML"/>
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698