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 Parameters suitable 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-parameter-types>
44 <!-- Rappor metric definitions -->
46 <rappor-metric name="AppBanner.NativeApp.Dismissed" type="ETLD_PLUS_ONE">
47 <owner>dfalcantara@chromium.org</owner>
49 The eTLD+1 of a URL that displayed a native app banner, which was explicitly
50 dismissed by the user.
54 <rappor-metric name="AppBanner.NativeApp.Installed" type="ETLD_PLUS_ONE">
55 <owner>dfalcantara@chromium.org</owner>
57 The eTLD+1 of a URL that displayed a native app banner, which resulted in
58 the user installing the promoted application.
62 <rappor-metric name="AppBanner.NativeApp.Shown" type="ETLD_PLUS_ONE">
63 <owner>dfalcantara@chromium.org</owner>
65 The eTLD+1 of a URL that displayed a native app banner.
69 <rappor-metric name="AppBanner.WebApp.Dismissed" type="ETLD_PLUS_ONE">
70 <owner>dfalcantara@chromium.org</owner>
72 The eTLD+1 of a URL that displayed a web app banner, which was explicitly
73 dismissed by the user.
77 <rappor-metric name="AppBanner.WebApp.Installed" type="ETLD_PLUS_ONE">
78 <owner>dfalcantara@chromium.org</owner>
80 The eTLD+1 of a URL that displayed a web app banner, which resulted in the
81 user installing the promoted application.
85 <rappor-metric name="AppBanner.WebApp.Shown" type="ETLD_PLUS_ONE">
86 <owner>dfalcantara@chromium.org</owner>
88 The eTLD+1 of a URL that displayed a web app banner.
92 <rappor-metric name="ContentSettings.MixedScript.DisplayedShield"
94 <owner>lgarron@chromium.org</owner>
96 The eTLD+1 of a URL that displayed a mixed script shield. Note: this does
97 *not* include pages with mixed scripts where the user has already clicked
102 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE">
103 <owner>rdevlin.cronin@chromium.org</owner>
105 The eTLD+1 of a URL that might be doing ad injection.
109 <rappor-metric name="Launch.HomeScreen.Shortcut" type="ETLD_PLUS_ONE">
110 <owner>dfalcantara@chromium.org</owner>
112 The eTLD+1 of a URL that was launched from the Android Home screen into a
113 tab. This explicitly does not count relaunches via the Android Recents
118 <rappor-metric name="Launch.HomeScreen.Standalone" type="ETLD_PLUS_ONE">
119 <owner>dfalcantara@chromium.org</owner>
121 The eTLD+1 of a URL that was launched from the Android Home screen into a
122 WebappActivity. This explicitly does not count relaunches via the Android
127 <rappor-metric name="Plugins.FlashOriginUrl" type="ETLD_PLUS_ONE">
128 <owner>wfh@chromium.org</owner>
130 The domain and registry of the top level URL of a page which attempts to
131 launch a Flash NPAPI or PPAPI plugin, if the client has Flash installed
132 and enabled. Recorded when the plugin frame appears for each Flash object
133 found on the page, even if the plugin is click-to-play.
137 <rappor-metric name="Plugins.FlashUrl" type="ETLD_PLUS_ONE">
138 <owner>wfh@chromium.org</owner>
140 The domain and registry of the URL from where Flash SWF or SPL content is
141 being loaded from, while attempting to launch a Flash (NPAPI or PPAPI)
142 plugin that is installed and enabled. Recorded when the plugin frame
143 appears for each Flash object found in the page, even if the plugin is
148 <rappor-metric name="Plugins.SilverlightOriginUrl" type="ETLD_PLUS_ONE">
149 <owner>wfh@chromium.org</owner>
151 The domain and registry of the top level URL of a page which attempts to
152 launch a Silverlight NPAPI plugin, if the client has Silverlight installed
153 and enabled. Recorded when the plugin frame appears for each Silverlight
154 object found on the page, even if the plugin is click-to-play.
158 <rappor-metric name="Search.DefaultSearchProvider" type="ETLD_PLUS_ONE">
159 <owner>holte@chromium.org</owner>
161 The domain and registry of the URL for the default search engine.
162 Recorded when a profile is opened or after a profile reset.
166 <rappor-metric name="ServiceWorker.ControlledPageUrl" type="ETLD_PLUS_ONE">
167 <owner>horo@chromium.org</owner>
169 The domain and registry of the URL of the page which is controlled by a
170 ServiceWorker. Recorded when the page is loaded.
174 <rappor-metric name="Settings.FirstStartupPage" type="ETLD_PLUS_ONE">
175 <owner>holte@chromium.org</owner>
177 The domain and registry of the URL of the first page opened on startup.
178 Recorded when a profile is loaded if preferences specify a fixed set of URLs
183 <rappor-metric name="Settings.HomePage2" type="ETLD_PLUS_ONE">
184 <owner>holte@chromium.org</owner>
186 The eTLD+1 of the prefs::kHomePage setting. Recorded when a profile is
187 loaded if the URL is valid and prefs::kHomePageIsNewTabPage is false.
191 <rappor-metric name="Settings.NewTabPage" type="ETLD_PLUS_ONE">
192 <owner>holte@chromium.org</owner>
194 The domain and registry of the URL chrome://newtab is rewritten to.
195 Recorded when a profile is loaded, if the URL is valid.
199 <rappor-metric name="interstitial.harmful.domain" type="COARSE_RAPPOR_TYPE">
200 <owner>nparker@chromium.org</owner>
202 The domain+registry of a URL that triggered a safe-browsing UWS
207 <rappor-metric name="interstitial.malware.domain" type="COARSE_RAPPOR_TYPE">
208 <owner>nparker@chromium.org</owner>
210 The domain+registry of a URL that triggered a safe-browsing malware
215 <rappor-metric name="interstitial.phishing.domain" type="COARSE_RAPPOR_TYPE">
216 <owner>nparker@chromium.org</owner>
218 The domain+registry of a URL that triggered a safe-browsing phishing
223 <rappor-metric name="interstitial.ssl.domain" type="COARSE_RAPPOR_TYPE">
224 <owner>nparker@chromium.org</owner>
226 The domain+registry of a URL that triggered an SSL interstitial. Domains
227 for bad-clock warnings are not reported.
233 </rappor-configuration>