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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2209963002: Record some foreign fetch registration metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 4 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 | « content/browser/service_worker/service_worker_register_job.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 83db601a945dd7665564f5fd87d09cd197867ac2..f103d537d0b984b0066acc28129d63d28511e9a4 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -52477,6 +52477,25 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="ServiceWorker.ForeignFetch.OriginCount">
+ <owner>mek@chromium.org</owner>
+ <summary>
+ The number of origins a particular service worker with foreign fetch
+ registrations will intercept fetches from. A value of zero indicates that
+ the foreign fetch service worker intercepts requests from any origin.
+ Recorded at the end of a successful install event, if the service worker
+ registered for foreign fetch.
Mark P 2016/08/16 22:27:14 Can you add something to this effect to the end of
Marijn Kruisselbrink 2016/08/17 19:21:33 Done
+ </summary>
+</histogram>
+
+<histogram name="ServiceWorker.ForeignFetch.ScopeCount">
+ <owner>mek@chromium.org</owner>
+ <summary>
+ The number of foreign fetch scopes a particular service worker registered
+ for. Recorded at the end of every successful install event.
Mark P 2016/08/16 22:27:14 Will this always be 0 for workers with no foreign
Marijn Kruisselbrink 2016/08/17 19:21:33 Done
+ </summary>
+</histogram>
+
<histogram name="ServiceWorker.ForeignFetchEvent.Fallback.Time" units="ms">
<owner>mek@chromium.org</owner>
<summary>
« no previous file with comments | « content/browser/service_worker/service_worker_register_job.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698