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

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

Issue 1824713002: Break down HTTPCache.Result metric by resource type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ecmascript Created 4 years, 9 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 | « net/http/http_cache_transaction.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 b42f34c6a2b2dd16b1070c699d0f2899c5dab4dd..4bd15336b2c43a0294967670e9d2d5b01c6f7b12 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -85178,6 +85178,20 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="BlinkGC.CollectionRate"/>
</histogram_suffixes>
+<histogram_suffixes name="CachedResourceType" separator=".">
+ <suffix name="JavaScript"
+ label="Showing cache patterns only for JavaScript resources."/>
+ <suffix name="CSS" label="Showing cache patterns only for CSS resources."/>
+ <suffix name="MainFrameHTML"
+ label="Showing cache patterns only for main-frame HTML resources."/>
+ <suffix name="NonMainFrameHTML"
+ label="Showing cache patterns only for non-main-frame HTML resources."/>
+ <suffix name="Image"
+ label="Showing cache patterns only for image resources."/>
+ <suffix name="Font" label="Showing cache patterns only for font resources."/>
+ <affected-histogram name="HttpCache.Pattern"/>
+</histogram_suffixes>
+
<histogram_suffixes name="CacheInstance" separator="." ordering="prefix">
<suffix name="App"
label="Collected from the HTML5 Application Cache instance."/>
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698