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

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

Issue 2161963002: Add some initial histograms about subresource filtering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sbsf_dsf
Patch Set: Rebase. Created 4 years, 5 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/subresource_filter/content/renderer/subresource_filter_agent_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 f5ab9707f52193ec19f2be51dde54d2bbc0b63e6..270f3fb130f8eb5542f1de9d989ef93b6596ea57 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -56037,6 +56037,58 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="SubresourceFilter.DocumentLoad.ActivationState"
+ enum="SubresourceFilterActivationState">
+ <owner>engedy@chromium.org</owner>
+ <summary>
+ Whenever a document load is committed in a main frame or subframe, records
+ whether subresource filtering should be activated for that load.
+ </summary>
+</histogram>
+
+<histogram name="SubresourceFilter.DocumentLoad.NumSubresourceLoads.Disallowed"
+ units="resource loads">
+ <owner>engedy@chromium.org</owner>
+ <summary>
+ Whenever a document load is finished in a main frame or subframe with
+ subresource filtering activated, records the total number of subresource
+ loads that have been disallowed. This only differs from `MatchedRules` when
+ filtering is performed in dry-run mode.
+ </summary>
+</histogram>
+
+<histogram name="SubresourceFilter.DocumentLoad.NumSubresourceLoads.Evaluated"
+ units="resource loads">
+ <owner>engedy@chromium.org</owner>
+ <summary>
+ Whenever a document load is finished in a main frame or subframe with
+ subresource filtering activated, records the total number of subresource
+ loads that have been evaluated.
+ </summary>
+</histogram>
+
+<histogram
+ name="SubresourceFilter.DocumentLoad.NumSubresourceLoads.MatchedRules"
+ units="resource loads">
+ <owner>engedy@chromium.org</owner>
+ <summary>
+ Whenever a document load is finished in a main frame or subframe with
+ subresource filtering activated, records the total number of subresource
+ loads that have matched filtering rules. This only differs from `Disallowed`
+ when filtering is performed in dry-run mode.
+ </summary>
+</histogram>
+
+<histogram name="SubresourceFilter.DocumentLoad.RulesetIsAvailable"
+ enum="BooleanAvailable">
+ <owner>engedy@chromium.org</owner>
+ <summary>
+ Whenever a document load is committed in a main frame or subframe and
+ subresource filtering should be activated, records whether the filtering
+ rules are available.
+ </summary>
+</histogram>
+
<histogram name="Suggestions.FailedRequestErrorCode" enum="NetErrorCodes">
<owner>mathp@chromium.org</owner>
<summary>
@@ -91733,6 +91785,12 @@ To add a new entry, add it with any value and run test to compute valid value.
<int value="2" label="MemoryCached StyleSheetContents was reused"/>
</enum>
+<enum name="SubresourceFilterActivationState" type="int">
+ <int value="0" label="Disabled"/>
+ <int value="1" label="DryRun"/>
+ <int value="2" label="Enabled"/>
+</enum>
+
<enum name="SuggestAppsDialogCloseReason" type="int">
<int value="0" label="Unknown error"/>
<int value="1" label="Item installed"/>
« no previous file with comments | « components/subresource_filter/content/renderer/subresource_filter_agent_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698