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

Side by Side Diff: tools/metrics/rappor/rappor.xml

Issue 933103002: Revert of Add pretty printing for rappor.xml (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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:
View unified diff | Download patch
« no previous file with comments | « tools/metrics/rappor/pretty_print_test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- 1 <!--
2 Copyright 2015 The Chromium Authors. All rights reserved. 2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <rappor-configuration>
8 <!-- 7 <!--
9 This file is used to generate a comprehensive list of Chrome rappor metrics 8 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 9 along with a detailed description for each histogram. See the design doc at
11 http://www.chromium.org/developers/design-documents/rappor 10 http://www.chromium.org/developers/design-documents/rappor
12 for a description of rappor metrics. 11 for a description of rappor metrics.
12
13 TODO(holte): Add validation and pretty printing scripts.
13 --> 14 -->
14 15
15 <rappor-parameter-types> 16 <rappor-configuration>
17
16 <!-- 18 <!--
17 Parameters that rappor metrics can be collected with. This list should be 19 Parameters that rappor metrics can be collected with. This list should be
18 kept in sync with parameter type definitions in 20 kept in sync with parameter type definitions in
19 components/rappor/rappor_service.cc. 21 components/rappor/rappor_service.cc.
20 --> 22 -->
21 23
22 <rappor-parameters name="COARSE_RAPPOR_TYPE"> 24 <rappor-parameter-types>
23 <summary>
24 Stricter parameters for metrics collected from a broader population.
25 </summary>
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"/>
29 </rappor-parameters>
30 25
31 <rappor-parameters name="ETLD_PLUS_ONE"> 26 <rappor-parameters name="ETLD_PLUS_ONE">
32 <summary> 27 <summary>
33 Parameters suitable for collecting the domain and registry of a URL from 28 Parameters suitable for collecting the domain and registry of a URL from
34 UMA opt-in users. 29 UMA opt-in users.
35 </summary> 30 </summary>
36 <parameters num-cohorts="128" bytes="16" hash-functions="2" fake-prob="0.5" 31 <parameters num-cohorts="128"
37 fake-one-prob="0.5" one-coin-prob="0.75" zero-coin-prob="0.25" 32 bytes="16"
38 reporting-level="FINE"/> 33 hash-functions="2"
34 fake-prob=".5"
35 fake-one-prob=".5"
36 one-coin-prob=".75"
37 zero-coin-prob=".25"
38 reporting-level="FINE">
39 </parameters>
40 </rappor-parameters>
41
42 <rappor-parameters name="COARSE_RAPPOR_TYPE">
43 <summary>
44 Stricter parameters for metrics collected from a broader population.
45 </summary>
46 <parameters num-cohorts="128"
47 bytes="1"
48 hash-functions="2"
49 fake-prob=".5"
50 fake-one-prob=".5"
51 one-coin-prob=".75"
52 zero-coin-prob=".25"
53 reporting-level="COARSE">
39 </rappor-parameters> 54 </rappor-parameters>
40 55
41 </rappor-parameter-types> 56 </rappor-parameter-types>
42 57
58 <!-- Rappor metric definitions -->
59
43 <rappor-metrics> 60 <rappor-metrics>
44 <!-- Rappor metric definitions --> 61
62 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE">
63 <owner>rdevlin.cronin@chromium.org</owner>
64 <summary>
65 The eTLD+1 of a URL that might be doing ad injection.
66 </summary>
67 </rappor-metric>
45 68
46 <rappor-metric name="ContentSettings.MixedScript.DisplayedShield" 69 <rappor-metric name="ContentSettings.MixedScript.DisplayedShield"
47 type="ETLD_PLUS_ONE"> 70 type="ETLD_PLUS_ONE">
48 <owner>lgarron@chromium.org</owner> 71 <owner>lgarron@chromium.org</owner>
49 <summary> 72 <summary>
50 The eTLD+1 of a URL that displayed a mixed script shield. Note: this does 73 The eTLD+1 of a URL that displayed a mixed script shield. Note: this does
51 *not* include pages with mixed scripts where the user has already clicked 74 *not* include pages with mixed scripts where the user has already clicked
52 through the shield. 75 through the shield.
53 </summary> 76 </summary>
54 </rappor-metric> 77 </rappor-metric>
55 78
56 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE">
57 <owner>rdevlin.cronin@chromium.org</owner>
58 <summary>
59 The eTLD+1 of a URL that might be doing ad injection.
60 </summary>
61 </rappor-metric>
62
63 <rappor-metric name="Plugins.FlashOriginUrl" type="ETLD_PLUS_ONE">
64 <owner>wfh@chromium.org</owner>
65 <summary>
66 The domain and registry of the top level URL of a page which attempts to
67 launch a Flash NPAPI or PPAPI plugin, if the client has Flash installed
68 and enabled. Recorded when the plugin frame appears for each Flash object
69 found on the page, even if the plugin is click-to-play.
70 </summary>
71 </rappor-metric>
72
73 <rappor-metric name="Plugins.FlashUrl" type="ETLD_PLUS_ONE">
74 <owner>wfh@chromium.org</owner>
75 <summary>
76 The domain and registry of the URL from where Flash SWF or SPL content is
77 being loaded from, while attempting to launch a Flash (NPAPI or PPAPI)
78 plugin that is installed and enabled. Recorded when the plugin frame
79 appears for each Flash object found in the page, even if the plugin is
80 click-to-play.
81 </summary>
82 </rappor-metric>
83
84 <rappor-metric name="Plugins.SilverlightOriginUrl" type="ETLD_PLUS_ONE">
85 <owner>wfh@chromium.org</owner>
86 <summary>
87 The domain and registry of the top level URL of a page which attempts to
88 launch a Silverlight NPAPI plugin, if the client has Silverlight installed
89 and enabled. Recorded when the plugin frame appears for each Silverlight
90 object found on the page, even if the plugin is click-to-play.
91 </summary>
92 </rappor-metric>
93
94 <rappor-metric name="Search.DefaultSearchProvider" type="ETLD_PLUS_ONE"> 79 <rappor-metric name="Search.DefaultSearchProvider" type="ETLD_PLUS_ONE">
95 <owner>holte@chromium.org</owner> 80 <owner>holte@chromium.org</owner>
96 <summary> 81 <summary>
97 The domain and registry of the URL for the default search engine. 82 The domain and registry of the URL for the default search engine.
98 Recorded when a profile is opened or after a profile reset. 83 Recorded when a profile is opened or after a profile reset.
99 </summary> 84 </summary>
100 </rappor-metric> 85 </rappor-metric>
101 86
102 <rappor-metric name="Settings.FirstStartupPage" type="ETLD_PLUS_ONE"> 87 <rappor-metric name="Settings.FirstStartupPage" type="ETLD_PLUS_ONE">
103 <owner>holte@chromium.org</owner> 88 <owner>holte@chromium.org</owner>
(...skipping 13 matching lines...) Expand all
117 </rappor-metric> 102 </rappor-metric>
118 103
119 <rappor-metric name="Settings.NewTabPage" type="ETLD_PLUS_ONE"> 104 <rappor-metric name="Settings.NewTabPage" type="ETLD_PLUS_ONE">
120 <owner>holte@chromium.org</owner> 105 <owner>holte@chromium.org</owner>
121 <summary> 106 <summary>
122 The domain and registry of the URL chrome://newtab is rewritten to. 107 The domain and registry of the URL chrome://newtab is rewritten to.
123 Recorded when a profile is loaded, if the URL is valid. 108 Recorded when a profile is loaded, if the URL is valid.
124 </summary> 109 </summary>
125 </rappor-metric> 110 </rappor-metric>
126 111
127 <rappor-metric name="interstitial.harmful.domain" type="COARSE_RAPPOR_TYPE"> 112 <rappor-metric name="Plugins.SilverlightOriginUrl" type="ETLD_PLUS_ONE">
128 <owner>nparker@chromium.org</owner> 113 <owner>wfh@chromium.org</owner>
129 <summary> 114 <summary>
130 The domain+registry of a URL that triggered a safe-browsing UWS 115 The domain and registry of the top level URL of a page which attempts to
131 interstitial. 116 launch a Silverlight NPAPI plugin, if the client has Silverlight installed
117 and enabled. Recorded when the plugin frame appears for each Silverlight
118 object found on the page, even if the plugin is click-to-play.
132 </summary> 119 </summary>
133 </rappor-metric> 120 </rappor-metric>
134 121
122 <rappor-metric name="Plugins.FlashUrl" type="ETLD_PLUS_ONE">
123 <owner>wfh@chromium.org</owner>
124 <summary>
125 The domain and registry of the URL from where Flash SWF or SPL content is
126 being loaded from, while attempting to launch a Flash (NPAPI or PPAPI)
127 plugin that is installed and enabled. Recorded when the plugin frame
128 appears for each Flash object found in the page, even if the plugin is
129 click-to-play.
130 </summary>
131 </rappor-metric>
132
133 <rappor-metric name="Plugins.FlashOriginUrl" type="ETLD_PLUS_ONE">
134 <owner>wfh@chromium.org</owner>
135 <summary>
136 The domain and registry of the top level URL of a page which attempts to
137 launch a Flash NPAPI or PPAPI plugin, if the client has Flash installed
138 and enabled. Recorded when the plugin frame appears for each Flash object
139 found on the page, even if the plugin is click-to-play.
140 </summary>
141 </rappor-metric>
142
135 <rappor-metric name="interstitial.malware.domain" type="COARSE_RAPPOR_TYPE"> 143 <rappor-metric name="interstitial.malware.domain" type="COARSE_RAPPOR_TYPE">
136 <owner>nparker@chromium.org</owner> 144 <owner>nparker@chromium.org</owner>
137 <summary> 145 <summary>
138 The domain+registry of a URL that triggered a safe-browsing malware 146 The domain+registry of a URL that triggered a safe-browsing malware
139 interstitial. 147 interstitial.
140 </summary> 148 </summary>
141 </rappor-metric> 149 </rappor-metric>
142 150
143 <rappor-metric name="interstitial.phishing.domain" type="COARSE_RAPPOR_TYPE"> 151 <rappor-metric name="interstitial.phishing.domain" type="COARSE_RAPPOR_TYPE">
144 <owner>nparker@chromium.org</owner> 152 <owner>nparker@chromium.org</owner>
145 <summary> 153 <summary>
146 The domain+registry of a URL that triggered a safe-browsing phishing 154 The domain+registry of a URL that triggered a safe-browsing phishing
147 interstitial. 155 interstitial.
148 </summary> 156 </summary>
149 </rappor-metric> 157 </rappor-metric>
150 158
159 <rappor-metric name="interstitial.harmful.domain" type="COARSE_RAPPOR_TYPE">
160 <owner>nparker@chromium.org</owner>
161 <summary>
162 The domain+registry of a URL that triggered a safe-browsing UWS
163 interstitial.
164 </summary>
165 </rappor-metric>
166
151 <rappor-metric name="interstitial.ssl.domain" type="COARSE_RAPPOR_TYPE"> 167 <rappor-metric name="interstitial.ssl.domain" type="COARSE_RAPPOR_TYPE">
152 <owner>nparker@chromium.org</owner> 168 <owner>nparker@chromium.org</owner>
153 <summary> 169 <summary>
154 The domain+registry of a URL that triggered an SSL interstitial. Domains 170 The domain+registry of a URL that triggered an SSL interstitial.
155 for bad-clock warnings are not reported. 171 Domains for bad-clock warnings are not reported.
156 </summary> 172 </summary>
157 </rappor-metric> 173 </rappor-metric>
158 174
159 </rappor-metrics> 175 </rappor-metrics>
160 176
161 </rappor-configuration> 177 </rappor-configuration>
OLDNEW
« no previous file with comments | « tools/metrics/rappor/pretty_print_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698