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="Autofill.HighNumberOfHeuristicMismatches"
94 <owner>mathp@chromium.org</owner>
96 The eTLD+1 of a URL for which there was a high number of mismatches for the
97 heuristic prediction of the form field types.
101 <rappor-metric name="Autofill.HighNumberOfServerMismatches"
102 type="ETLD_PLUS_ONE">
103 <owner>mathp@chromium.org</owner>
105 The eTLD+1 of a URL for which there was a high number of mismatches for the
106 server prediction of the form field types.
110 <rappor-metric name="ContentSettings.MixedScript.DisplayedShield"
111 type="ETLD_PLUS_ONE">
112 <owner>lgarron@chromium.org</owner>
114 The eTLD+1 of a URL that displayed a mixed script shield. Note: this does
115 *not* include pages with mixed scripts where the user has already clicked
120 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Denied.Url"
121 type="ETLD_PLUS_ONE">
122 <owner>miguelg@chromium.org</owner>
124 The domain for which a Geolocation permission prompt was Denied.
129 name="ContentSettings.PermissionActions_Geolocation.Dismissed.Url"
130 type="ETLD_PLUS_ONE">
131 <owner>miguelg@chromium.org</owner>
133 The domain for which a Geolocation permission prompt was Dismissed.
137 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Granted.Url"
138 type="ETLD_PLUS_ONE">
139 <owner>miguelg@chromium.org</owner>
141 The domain for which a Geolocation permission prompt was accepted.
145 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Ignored.Url"
146 type="ETLD_PLUS_ONE">
147 <owner>miguelg@chromium.org</owner>
149 The domain for which a Geolocation permission prompt was Ignored.
154 name="ContentSettings.PermissionActions_Notifications.Denied.Url"
155 type="ETLD_PLUS_ONE">
156 <owner>miguelg@chromium.org</owner>
158 The domain for which a Notification permission prompt was Denied.
163 name="ContentSettings.PermissionActions_Notifications.Dismissed.Url"
164 type="ETLD_PLUS_ONE">
165 <owner>miguelg@chromium.org</owner>
167 The domain for which a Notification permission prompt was Dismissed.
172 name="ContentSettings.PermissionActions_Notifications.Granted.Url"
173 type="ETLD_PLUS_ONE">
174 <owner>miguelg@chromium.org</owner>
176 The domain for which a Notification permission prompt was accepted.
181 name="ContentSettings.PermissionActions_Notifications.Ignored.Url"
182 type="ETLD_PLUS_ONE">
183 <owner>miguelg@chromium.org</owner>
185 The domain for which a Notification permission prompt was Ignored.
189 <rappor-metric name="ContentSettings.PermissionRequested.Geolocation.Url"
190 type="ETLD_PLUS_ONE">
191 <owner>miguelg@chromium.org</owner>
193 The domain that issues a Geolocation permission prompt.
197 <rappor-metric name="ContentSettings.PermissionRequested.Notifications.Url"
198 type="ETLD_PLUS_ONE">
199 <owner>miguelg@chromium.org</owner>
201 The domain that issues a Notification permission prompt.
205 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE">
206 <owner>rdevlin.cronin@chromium.org</owner>
208 The eTLD+1 of a URL that might be doing ad injection.
212 <rappor-metric name="Launch.HomeScreen.Shortcut" type="ETLD_PLUS_ONE">
213 <owner>dfalcantara@chromium.org</owner>
215 The eTLD+1 of a URL that was launched from the Android Home screen into a
216 tab. This explicitly does not count relaunches via the Android Recents
221 <rappor-metric name="Launch.HomeScreen.Standalone" type="ETLD_PLUS_ONE">
222 <owner>dfalcantara@chromium.org</owner>
224 The eTLD+1 of a URL that was launched from the Android Home screen into a
225 WebappActivity. This explicitly does not count relaunches via the Android
230 <rappor-metric name="Plugins.FlashOriginUrl" type="ETLD_PLUS_ONE">
231 <owner>wfh@chromium.org</owner>
233 The domain and registry of the top level URL of a page which attempts to
234 launch a Flash NPAPI or PPAPI plugin, if the client has Flash installed
235 and enabled. Recorded when the plugin frame appears for each Flash object
236 found on the page, even if the plugin is click-to-play.
240 <rappor-metric name="Plugins.FlashUrl" type="ETLD_PLUS_ONE">
241 <owner>wfh@chromium.org</owner>
243 The domain and registry of the URL from where Flash SWF or SPL content is
244 being loaded from, while attempting to launch a Flash (NPAPI or PPAPI)
245 plugin that is installed and enabled. Recorded when the plugin frame
246 appears for each Flash object found in the page, even if the plugin is
251 <rappor-metric name="Plugins.SilverlightOriginUrl" type="ETLD_PLUS_ONE">
252 <owner>wfh@chromium.org</owner>
254 The domain and registry of the top level URL of a page which attempts to
255 launch a Silverlight NPAPI plugin, if the client has Silverlight installed
256 and enabled. Recorded when the plugin frame appears for each Silverlight
257 object found on the page, even if the plugin is click-to-play.
261 <rappor-metric name="PushMessaging.MessageReceived.Origin" type="ETLD_PLUS_ONE">
262 <owner>miguelg@chromium.org</owner>
264 Push Messages received per Origin.
268 <rappor-metric name="Search.DefaultSearchProvider" type="ETLD_PLUS_ONE">
269 <owner>holte@chromium.org</owner>
271 The domain and registry of the URL for the default search engine.
272 Recorded when a profile is opened or after a profile reset.
276 <rappor-metric name="ServiceWorker.ControlledPageUrl" type="ETLD_PLUS_ONE">
277 <owner>horo@chromium.org</owner>
279 The domain and registry of the URL of the page which is controlled by a
280 ServiceWorker. Recorded when the page is loaded.
284 <rappor-metric name="Settings.FirstStartupPage" type="ETLD_PLUS_ONE">
285 <owner>holte@chromium.org</owner>
287 The domain and registry of the URL of the first page opened on startup.
288 Recorded when a profile is loaded if preferences specify a fixed set of URLs
293 <rappor-metric name="Settings.HomePage2" type="ETLD_PLUS_ONE">
294 <owner>holte@chromium.org</owner>
296 The eTLD+1 of the prefs::kHomePage setting. Recorded when a profile is
297 loaded if the URL is valid and prefs::kHomePageIsNewTabPage is false.
301 <rappor-metric name="Settings.NewTabPage" type="ETLD_PLUS_ONE">
302 <owner>holte@chromium.org</owner>
304 The domain and registry of the URL chrome://newtab is rewritten to.
305 Recorded when a profile is loaded, if the URL is valid.
309 <rappor-metric name="interstitial.harmful.domain" type="COARSE_RAPPOR_TYPE">
310 <owner>nparker@chromium.org</owner>
312 The domain+registry of a URL that triggered a safe-browsing UWS
317 <rappor-metric name="interstitial.malware.domain" type="COARSE_RAPPOR_TYPE">
318 <owner>nparker@chromium.org</owner>
320 The domain+registry of a URL that triggered a safe-browsing malware
325 <rappor-metric name="interstitial.phishing.domain" type="COARSE_RAPPOR_TYPE">
326 <owner>nparker@chromium.org</owner>
328 The domain+registry of a URL that triggered a safe-browsing phishing
333 <rappor-metric name="interstitial.ssl.domain" type="COARSE_RAPPOR_TYPE">
334 <owner>nparker@chromium.org</owner>
336 The domain+registry of a URL that triggered an SSL interstitial. Domains
337 for bad-clock warnings are not reported.
343 </rappor-configuration>