2 Copyright 2015 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
9 This file is used to generate a comprehensive list of Chrome rappor metrics
10 along with a detailed description for each histogram. See the design doc at
11 http://www.chromium.org/developers/design-documents/rappor
12 for a description of rappor metrics.
15 <rappor-parameter-types>
17 Parameters that rappor metrics can be collected with. This list should be
18 kept in sync with parameter type definitions in
19 components/rappor/rappor_service.cc.
22 <rappor-parameters name="COARSE_RAPPOR_TYPE">
24 Stricter parameters for metrics collected from a broader population.
26 <parameters num-cohorts="128" bytes="1" hash-functions="2" fake-prob="0.5"
27 fake-one-prob="0.5" one-coin-prob="0.75" zero-coin-prob="0.25"
28 reporting-level="COARSE"/>
31 <rappor-parameters name="ETLD_PLUS_ONE">
33 Deprecated parameters for collecting the domain and registry of a URL from
36 <parameters num-cohorts="128" bytes="16" hash-functions="2" fake-prob="0.5"
37 fake-one-prob="0.5" one-coin-prob="0.75" zero-coin-prob="0.25"
38 reporting-level="FINE"/>
41 <rappor-parameters name="SAFEBROWSING_RAPPOR_TYPE">
43 Parameters for metrics related to Safe Browsing, collected from all user
44 with safe browsing enabled.
46 <parameters num-cohorts="128" bytes="1" hash-functions="2" fake-prob="0.5"
47 fake-one-prob="0.5" one-coin-prob="0.75" zero-coin-prob="0.25"
48 reporting-level="COARSE"/>
51 <rappor-parameters name="UMA_RAPPOR_TYPE">
53 Parameters suitable for metrics from UMA opt-in users.
55 <parameters num-cohorts="128" bytes="4" hash-functions="2" fake-prob="0.5"
56 fake-one-prob="0.5" one-coin-prob="0.75" zero-coin-prob="0.25"
57 reporting-level="FINE"/>
60 </rappor-parameter-types>
63 <!-- Rappor metric definitions -->
65 <rappor-metric name="AppBanner.NativeApp.Dismissed" type="ETLD_PLUS_ONE">
66 <owner>dfalcantara@chromium.org</owner>
68 The eTLD+1 of a URL that displayed a native app banner, which was explicitly
69 dismissed by the user.
73 <rappor-metric name="AppBanner.NativeApp.Installed" type="ETLD_PLUS_ONE">
74 <owner>dfalcantara@chromium.org</owner>
76 The eTLD+1 of a URL that displayed a native app banner, which resulted in
77 the user installing the promoted application.
81 <rappor-metric name="AppBanner.NativeApp.Shown" type="ETLD_PLUS_ONE">
82 <owner>dfalcantara@chromium.org</owner>
84 The eTLD+1 of a URL that displayed a native app banner.
88 <rappor-metric name="AppBanner.WebApp.Dismissed" type="ETLD_PLUS_ONE">
89 <owner>dfalcantara@chromium.org</owner>
91 The eTLD+1 of a URL that displayed a web app banner, which was explicitly
92 dismissed by the user.
96 <rappor-metric name="AppBanner.WebApp.Installed" type="ETLD_PLUS_ONE">
97 <owner>dfalcantara@chromium.org</owner>
99 The eTLD+1 of a URL that displayed a web app banner, which resulted in the
100 user installing the promoted application.
104 <rappor-metric name="AppBanner.WebApp.Shown" type="ETLD_PLUS_ONE">
105 <owner>dfalcantara@chromium.org</owner>
107 The eTLD+1 of a URL that displayed a web app banner.
111 <rappor-metric name="Autofill.HighNumberOfHeuristicMismatches"
112 type="ETLD_PLUS_ONE">
113 <owner>mathp@chromium.org</owner>
115 The eTLD+1 of a URL for which there was a high number of mismatches for the
116 heuristic prediction of the form field types.
120 <rappor-metric name="Autofill.HighNumberOfServerMismatches"
121 type="ETLD_PLUS_ONE">
122 <owner>mathp@chromium.org</owner>
124 The eTLD+1 of a URL for which there was a high number of mismatches for the
125 server prediction of the form field types.
129 <rappor-metric name="Autofill.QueryResponseHasNoServerDataForForm"
130 type="ETLD_PLUS_ONE">
131 <owner>mathp@chromium.org</owner>
133 The eTLD+1 of a URL for which there was a server query response for which
134 the server had no data at all for at least one form.
138 <rappor-metric name="ContentSettings.MixedScript.DisplayedShield"
139 type="ETLD_PLUS_ONE">
140 <owner>lgarron@chromium.org</owner>
142 The eTLD+1 of a URL that displayed a mixed script shield. Note: this does
143 *not* include pages with mixed scripts where the user has already clicked
148 <rappor-metric name="ContentSettings.MixedScript.RanMixedScript"
149 type="ETLD_PLUS_ONE">
150 <owner>lgarron@chromium.org</owner>
152 The eTLD+1 of a URL that when mixed script actually ran.
156 <rappor-metric name="ContentSettings.MixedScript.UserClickedAllow"
157 type="ETLD_PLUS_ONE">
158 <owner>lgarron@chromium.org</owner>
160 The eTLD+1 of a URL where the user clicked "Load unsafe scripts"
161 on a mixed content shield. (This results in a page refresh. Mixed scripts
162 may not actually run until the users triggers them again after the refresh.)
166 <rappor-metric name="ContentSettings.PermissionActions_Camera.Revoked.Url"
167 type="ETLD_PLUS_ONE">
168 <owner>jialiul@chromium.org</owner>
170 The domain for which a camera permission was revoked.
174 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Denied.Url"
175 type="ETLD_PLUS_ONE">
176 <owner>miguelg@chromium.org</owner>
178 The domain for which a Geolocation permission prompt was Denied.
183 name="ContentSettings.PermissionActions_Geolocation.Dismissed.Url"
184 type="ETLD_PLUS_ONE">
185 <owner>miguelg@chromium.org</owner>
187 The domain for which a Geolocation permission prompt was Dismissed.
191 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Granted.Url"
192 type="ETLD_PLUS_ONE">
193 <owner>miguelg@chromium.org</owner>
195 The domain for which a Geolocation permission prompt was accepted.
199 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Ignored.Url"
200 type="ETLD_PLUS_ONE">
201 <owner>miguelg@chromium.org</owner>
203 The domain for which a Geolocation permission prompt was Ignored.
207 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Revoked.Url"
208 type="ETLD_PLUS_ONE">
209 <owner>jialiul@chromium.org</owner>
211 The domain for which a Geolocation permission was revoked.
215 <rappor-metric name="ContentSettings.PermissionActions_Mic.Revoked.Url"
216 type="ETLD_PLUS_ONE">
217 <owner>jialiul@chromium.org</owner>
219 The domain for which a microphone permission was revoked.
224 name="ContentSettings.PermissionActions_Notifications.Denied.Url"
225 type="ETLD_PLUS_ONE">
226 <owner>miguelg@chromium.org</owner>
228 The domain for which a Notification permission prompt was Denied.
233 name="ContentSettings.PermissionActions_Notifications.Dismissed.Url"
234 type="ETLD_PLUS_ONE">
235 <owner>miguelg@chromium.org</owner>
237 The domain for which a Notification permission prompt was Dismissed.
242 name="ContentSettings.PermissionActions_Notifications.Granted.Url"
243 type="ETLD_PLUS_ONE">
244 <owner>miguelg@chromium.org</owner>
246 The domain for which a Notification permission prompt was accepted.
251 name="ContentSettings.PermissionActions_Notifications.Ignored.Url"
252 type="ETLD_PLUS_ONE">
253 <owner>miguelg@chromium.org</owner>
255 The domain for which a Notification permission prompt was Ignored.
260 name="ContentSettings.PermissionActions_Notifications.Revoked.Url"
261 type="ETLD_PLUS_ONE">
262 <owner>jialiul@chromium.org</owner>
264 The domain for which a Notification permission was revoked.
268 <rappor-metric name="ContentSettings.PermissionRequested.Geolocation.Url"
269 type="ETLD_PLUS_ONE">
270 <owner>miguelg@chromium.org</owner>
272 The domain that issues a Geolocation permission prompt.
276 <rappor-metric name="ContentSettings.PermissionRequested.Notifications.Url"
277 type="ETLD_PLUS_ONE">
278 <owner>miguelg@chromium.org</owner>
280 The domain that issues a Notification permission prompt.
284 <rappor-metric name="DeviceSensors.DeviceMotion" type="ETLD_PLUS_ONE">
285 <owner>timvolodine@chromium.org</owner>
287 The domain and registry of the URL that is using Device Motion API.
291 <rappor-metric name="DeviceSensors.DeviceOrientation" type="ETLD_PLUS_ONE">
292 <owner>timvolodine@chromium.org</owner>
294 The domain and registry of the URL that is using Device Orientation API.
298 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE">
299 <owner>rdevlin.cronin@chromium.org</owner>
301 The eTLD+1 of a URL that might be doing ad injection.
305 <rappor-metric name="Launch.HomeScreen.Shortcut" type="ETLD_PLUS_ONE">
306 <owner>dfalcantara@chromium.org</owner>
308 The eTLD+1 of a URL that was launched from the Android Home screen into a
309 tab. This explicitly does not count relaunches via the Android Recents
314 <rappor-metric name="Launch.HomeScreen.Standalone" type="ETLD_PLUS_ONE">
315 <owner>dfalcantara@chromium.org</owner>
317 The eTLD+1 of a URL that was launched from the Android Home screen into a
318 WebappActivity. This explicitly does not count relaunches via the Android
323 <rappor-metric name="Launch.HomeScreenSource.AddToHomeScreen"
324 type="ETLD_PLUS_ONE">
325 <owner>dominickn@chromium.org</owner>
327 The eTLD+1 of a URL that was launched from the Android Home screen via an
328 intent added from an add to homescreen menu item. This explicitly does not
329 count relaunches via the Android Recents menu.
333 <rappor-metric name="Launch.HomeScreenSource.AppBanner" type="ETLD_PLUS_ONE">
334 <owner>dominickn@chromium.org</owner>
336 The eTLD+1 of a URL that was launched from the Android Home screen via an
337 intent added from an app banner. This explicitly does not count relaunches
338 via the Android Recents menu.
342 <rappor-metric name="Launch.HomeScreenSource.BookmarkNavigatorWidget"
343 type="ETLD_PLUS_ONE">
344 <owner>aurimas@chromium.org</owner>
346 The eTLD+1 of a URL that was launched from the Chrome's bookmark navigator
347 widget. This explicitly does not count relaunches via the Android Recents
352 <rappor-metric name="Launch.HomeScreenSource.BookmarkShortcutWidget"
353 type="ETLD_PLUS_ONE">
354 <owner>aurimas@chromium.org</owner>
356 The eTLD+1 of a URL that was launched from the Chrome's bookmark shortcut
357 widget. This explicitly does not count relaunches via the Android Recents
362 <rappor-metric name="Launch.HomeScreenSource.Unknown" type="ETLD_PLUS_ONE">
363 <owner>dominickn@chromium.org</owner>
365 The eTLD+1 of a URL that was launched from the Android Home screen via an
366 intent added from an unknown source. This explicitly does not count
367 relaunches via the Android Recents menu.
371 <rappor-metric name="Media.OriginUrl.EME" type="ETLD_PLUS_ONE">
372 <owner>xhwang@chromium.org</owner>
374 The domain and registry of the URL that uses Encrypted Media Extensions
379 <rappor-metric name="Media.OriginUrl.EME.Insecure" type="ETLD_PLUS_ONE">
380 <owner>xhwang@chromium.org</owner>
382 The domain and registry of the URL that uses Encrypted Media Extensions
383 (EME) from an insecure origin.
387 <rappor-metric name="Media.OriginUrl.HLS" type="ETLD_PLUS_ONE">
388 <owner>watk@chromium.org</owner>
390 The domain and registry of the URL that loads an HTML5 media player to play
395 <rappor-metric name="Media.OriginUrl.MSE" type="ETLD_PLUS_ONE">
396 <owner>xhwang@chromium.org</owner>
398 The domain and registry of the URL that loads an HTML5 media player using
399 Media Source Extensions (MSE).
403 <rappor-metric name="Media.OriginUrl.SRC" type="ETLD_PLUS_ONE">
404 <owner>xhwang@chromium.org</owner>
406 The domain and registry of the URL that loads an HTML5 media player using
411 <rappor-metric name="Plugins.FlashOriginUrl" type="ETLD_PLUS_ONE">
412 <owner>wfh@chromium.org</owner>
414 The domain and registry of the top level URL of a page which attempts to
415 launch a Flash NPAPI or PPAPI plugin, if the client has Flash installed
416 and enabled. Recorded when the plugin frame appears for each Flash object
417 found on the page, even if the plugin is click-to-play.
421 <rappor-metric name="Plugins.FlashUrl" type="ETLD_PLUS_ONE">
422 <owner>wfh@chromium.org</owner>
424 The domain and registry of the URL from where Flash SWF or SPL content is
425 being loaded from, while attempting to launch a Flash (NPAPI or PPAPI)
426 plugin that is installed and enabled. Recorded when the plugin frame
427 appears for each Flash object found in the page, even if the plugin is
432 <rappor-metric name="Plugins.SilverlightOriginUrl" type="ETLD_PLUS_ONE">
433 <owner>wfh@chromium.org</owner>
435 The domain and registry of the top level URL of a page which attempts to
436 launch a Silverlight NPAPI plugin, if the client has Silverlight installed
437 and enabled. Recorded when the plugin frame appears for each Silverlight
438 object found on the page, even if the plugin is click-to-play.
442 <rappor-metric name="PowerfulFeatureUse.Host.DeviceMotion.Origin.Insecure"
443 type="ETLD_PLUS_ONE">
444 <owner>jww@chromium.org</owner>
446 The host of the URL that uses the device motion API from an insecure origin.
450 <rappor-metric name="PowerfulFeatureUse.Host.DeviceOrientation.Insecure"
451 type="ETLD_PLUS_ONE">
452 <owner>jww@chromium.org</owner>
454 The host of the URL that uses the device orientation API from an insecure
459 <rappor-metric name="PowerfulFeatureUse.Host.Fullscreen.Insecure"
460 type="ETLD_PLUS_ONE">
461 <owner>jww@chromium.org</owner>
463 The host of the URL that uses the fullscreen API from an insecure origin.
467 <rappor-metric name="PowerfulFeatureUse.Host.Geolocation.Insecure"
468 type="ETLD_PLUS_ONE">
469 <owner>jww@chromium.org</owner>
471 The host of the URL that uses the geolocation API from an insecure origin.
475 <rappor-metric name="PowerfulFeatureUse.Host.GetUserMedia.Insecure"
476 type="ETLD_PLUS_ONE">
477 <owner>jww@chromium.org</owner>
479 The host of the URL that uses the getUserMedia API from an insecure origin.
483 <rappor-metric name="PushMessaging.GenericNotificationShown.Origin"
484 type="ETLD_PLUS_ONE">
485 <owner>miguelg@chromium.org</owner>
487 Number of times the generic (forced) notification was shown per origin.
488 This happens if the site uses the push api but does not generate a
489 notification of their own.
493 <rappor-metric name="PushMessaging.MessageReceived.Origin" type="ETLD_PLUS_ONE">
494 <owner>miguelg@chromium.org</owner>
496 Push Messages received per Origin.
500 <rappor-metric name="Search.DefaultSearchProvider" type="ETLD_PLUS_ONE">
501 <owner>holte@chromium.org</owner>
503 The domain and registry of the URL for the default search engine.
504 Recorded when a profile is opened or after a profile reset.
508 <rappor-metric name="ServiceWorker.ControlledPageUrl" type="ETLD_PLUS_ONE">
509 <owner>horo@chromium.org</owner>
511 The domain and registry of the URL of the page which is controlled by a
512 ServiceWorker. Recorded when the page is loaded.
516 <rappor-metric name="Settings.FirstStartupPage" type="ETLD_PLUS_ONE">
517 <owner>holte@chromium.org</owner>
519 The domain and registry of the URL of the first page opened on startup.
520 Recorded when a profile is loaded if preferences specify a fixed set of URLs
525 <rappor-metric name="Settings.HomePage2" type="ETLD_PLUS_ONE">
526 <owner>holte@chromium.org</owner>
528 The eTLD+1 of the prefs::kHomePage setting. Recorded when a profile is
529 loaded if the URL is valid and prefs::kHomePageIsNewTabPage is false.
533 <rappor-metric name="Settings.NewTabPage" type="ETLD_PLUS_ONE">
534 <owner>holte@chromium.org</owner>
536 The domain and registry of the URL chrome://newtab is rewritten to.
537 Recorded when a profile is loaded, if the URL is valid.
541 <rappor-metric name="SoftwareReporter.FoundUwS" type="COARSE_RAPPOR_TYPE">
542 <owner>mad@chromium.org</owner>
544 The IDs of unwanted software found by the software reporter tool.
548 <rappor-metric name="WebComponents.DocumentRegisterElement"
549 type="ETLD_PLUS_ONE">
550 <owner>kojii@chromium.org</owner>
552 The host of a URL that used Document::RegisterElement().
556 <rappor-metric name="WebComponents.ElementCreateShadowRoot"
557 type="ETLD_PLUS_ONE">
558 <owner>kojii@chromium.org</owner>
560 The host of a URL that used Element::CreateShadowRoot().
564 <rappor-metric name="WebComponents.EventPath" type="ETLD_PLUS_ONE">
565 <owner>kojii@chromium.org</owner>
567 The host of a URL that used Event::Path().
571 <rappor-metric name="WebComponents.EventPath.Extensions" type="ETLD_PLUS_ONE">
572 <owner>kojii@chromium.org</owner>
574 The name of an extension that used Event::Path().
578 <rappor-metric name="interstitial.harmful" type="SAFEBROWSING_RAPPOR_TYPE">
579 <owner>nparker@chromium.org</owner>
581 The domain+registry of a URL that triggered a safe-browsing UWS
584 <string-field name="domain">
586 The domain+registry of a URL that triggered a safe-browsing UWS
590 <flags-field name="flags">
591 <flag>Bit 0: DID_PROCEED</flag>
592 <flag>Bit 1: IS_REPEAT_VISIT</flag>
594 Bitfield of the state from a safe-browsing UWS warning interstitial.
599 <rappor-metric name="interstitial.malware" type="SAFEBROWSING_RAPPOR_TYPE">
600 <owner>nparker@chromium.org</owner>
602 The domain+registry of a URL that triggered a safe-browsing malware
605 <string-field name="domain">
607 The domain+registry of a URL that triggered a safe-browsing malware
611 <flags-field name="flags">
612 <flag>Bit 0: DID_PROCEED</flag>
613 <flag>Bit 1: IS_REPEAT_VISIT</flag>
615 Bitfield of the state from a safe-browsing malware warning interstitial.
620 <rappor-metric name="interstitial.phishing" type="SAFEBROWSING_RAPPOR_TYPE">
621 <owner>nparker@chromium.org</owner>
623 The domain+registry of a URL that triggered a safe-browsing phishing
626 <string-field name="domain">
628 The domain+registry of a URL that triggered a safe-browsing phishing
632 <flags-field name="flags">
633 <flag>Bit 0: DID_PROCEED</flag>
634 <flag>Bit 1: IS_REPEAT_VISIT</flag>
636 Bitfield of the state from a safe-browsing phishing warning interstitial.
641 <rappor-metric name="interstitial.ssl.domain" type="COARSE_RAPPOR_TYPE">
642 <owner>nparker@chromium.org</owner>
644 ** DEPRECATED. Replaced by insterstitial.ssl2.domain on 2015-07-07 since
645 the type changed.** The domain+registry of a URL that triggered an SSL
646 interstitial. Domains for bad-clock warnings are not reported.
650 <rappor-metric name="interstitial.ssl2" type="UMA_RAPPOR_TYPE">
651 <owner>nparker@chromium.org</owner>
653 The domain+registry of a URL that triggered an SSL interstitial.
655 <string-field name="domain">
657 The domain+registry of a URL that triggered an SSL interstitial.
660 <flags-field name="flags">
661 <flag>Bit 0: DID_PROCEED</flag>
662 <flag>Bit 1: IS_REPEAT_VISIT</flag>
664 Bitfield of the state from an SSL warning interstitial.
671 </rappor-configuration>