Bug 1814798 - pt 2. Add a PHCManager component to control PHC r=glandium,emilio
[gecko.git] / netwerk / metrics.yaml
bloba006c5bfcf20759751c9d339861f8717b9f454f9
1 # This Source Code Form is subject to the terms of the Mozilla Public\r
2 # License, v. 2.0. If a copy of the MPL was not distributed with this\r
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.\r
4 \r
5 # Adding a new metric? We have docs for that!\r
6 # https://firefox-source-docs.mozilla.org/toolkit/components/glean/user/new_definitions_file.html\r
7 \r
8 ---\r
9 $schema: moz://mozilla.org/schemas/glean/metrics/2-0-0\r
10 $tags:\r
11   - 'Core :: Networking'\r
13 networking:\r
14   speculative_connect_outcome:\r
15     type: labeled_counter\r
16     description: >\r
17       Counts the occurrence of each outcome of a speculative connection\r
18     bugs:\r
19       - https://bugzilla.mozilla.org/show_bug.cgi?id=909865\r
20     data_reviews:\r
21       - https://bugzilla.mozilla.org/show_bug.cgi?id=909865\r
22     data_sensitivity:\r
23       - technical\r
24     notification_emails:\r
25       - necko@mozilla.com\r
26       - acreskey@mozilla.com\r
27     expires: never\r
28     labels:\r
29       - successful\r
30       - aborted_socket_limit\r
31       - aborted_socket_fail\r
32       - aborted_https_not_enabled\r
33     telemetry_mirror: NETWORKING_SPECULATIVE_CONNECT_OUTCOME\r
35   cookie_timestamp_fixed_count:\r
36     type: labeled_counter\r
37     description: >\r
38       Counts the number of times a cookie's invalid timestamp was fixed when\r
39       reading it from the DB.\r
40     bugs:\r
41       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126\r
42     data_reviews:\r
43       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5\r
44     data_sensitivity:\r
45       - technical\r
46     notification_emails:\r
47       - necko@mozilla.com\r
48       - vgosu@mozilla.com\r
49     labels:\r
50       - creationTime\r
51       - lastAccessed\r
52     expires: never\r
54   cookie_creation_fixup_diff:\r
55     type: custom_distribution\r
56     unit: second\r
57     description: >\r
58       If we fix up a cookie creation timestamp that is in the future this\r
59       metric records the number of seconds that timestamp was off from NOW.\r
60     bugs:\r
61       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126\r
62     data_reviews:\r
63       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5\r
64     data_sensitivity:\r
65       - technical\r
66     notification_emails:\r
67       - necko@mozilla.com\r
68       - vgosu@mozilla.com\r
69     expires: never\r
70     range_min: 0\r
71     range_max: 315360000000\r
72     bucket_count: 100\r
73     histogram_type: exponential\r
75   cookie_access_fixup_diff:\r
76     type: custom_distribution\r
77     unit: second\r
78     description: >\r
79       If we fix up a cookie lastAccessed timestamp that is in the future this\r
80       metric records the number of seconds that timestamp was off from NOW.\r
81     bugs:\r
82       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126\r
83     data_reviews:\r
84       - https://bugzilla.mozilla.org/show_bug.cgi?id=1828126#c5\r
85     data_sensitivity:\r
86       - technical\r
87     notification_emails:\r
88       - necko@mozilla.com\r
89       - vgosu@mozilla.com\r
90     expires: never\r
91     range_min: 0\r
92     range_max: 315360000000\r
93     bucket_count: 100\r
94     histogram_type: exponential\r
96   dns_lookup_time:\r
97     type: timing_distribution\r
98     time_unit: millisecond\r
99     description: >\r
100       Time for a successful DNS resolution (msec) |\r
101       Migrated from Firefox Telemetry's `DNS_LOOKUP_TIME`.\r
102     bugs:\r
103       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240\r
104     data_reviews:\r
105       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6\r
106     data_sensitivity:\r
107       - technical\r
108     notification_emails:\r
109       - necko@mozilla.com\r
110       - acreskey@mozilla.com\r
111     expires: never\r
112     telemetry_mirror: DNS_LOOKUP_TIME\r
114   dns_renewal_time:\r
115     type: timing_distribution\r
116     time_unit: millisecond\r
117     description: >\r
118       Time for a renewed DNS OS resolution (msec) |\r
119       Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME`.\r
120     bugs:\r
121       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240\r
122     data_reviews:\r
123       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6\r
124     data_sensitivity:\r
125       - technical\r
126     notification_emails:\r
127       - necko@mozilla.com\r
128       - acreskey@mozilla.com\r
129     expires: never\r
130     telemetry_mirror: DNS_RENEWAL_TIME\r
132   dns_renewal_time_for_ttl:\r
133     type: timing_distribution\r
134     time_unit: millisecond\r
135     description: >\r
136       Time for a DNS OS resolution (msec) used to get TTL |\r
137       Migrated from Firefox Telemetry's `DNS_RENEWAL_TIME_FOR_TTL`.\r
138     bugs:\r
139       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240\r
140     data_reviews:\r
141       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6\r
142     data_sensitivity:\r
143       - technical\r
144     notification_emails:\r
145       - necko@mozilla.com\r
146       - acreskey@mozilla.com\r
147     expires: never\r
148     telemetry_mirror: DNS_RENEWAL_TIME_FOR_TTL\r
150   dns_failed_lookup_time:\r
151     type: timing_distribution\r
152     time_unit: millisecond\r
153     description: >\r
154       Time for an unsuccessful DNS OS resolution (msec) |\r
155       Migrated from Firefox Telemetry's `DNS_FAILED_LOOKUP_TIME`.\r
156     bugs:\r
157       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240\r
158     data_reviews:\r
159       - https://bugzilla.mozilla.org/show_bug.cgi?id=1838240#c6\r
160     data_sensitivity:\r
161       - technical\r
162     notification_emails:\r
163       - necko@mozilla.com\r
164       - acreskey@mozilla.com\r
165     expires: never\r
166     telemetry_mirror: DNS_FAILED_LOOKUP_TIME\r
168   http_1_download_throughput:\r
169     type: custom_distribution\r
170     unit: mbps\r
171     range_min: 0\r
172     range_max: 10000\r
173     bucket_count: 100\r
174     histogram_type: exponential\r
175     description: >\r
176      The download throughput for  http/1.0, http/1.1 requests larger than 10MB. Measured in megabits per second, Mbps.\r
177     bugs:\r
178       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798\r
179     data_reviews:\r
180       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2\r
181     data_sensitivity:\r
182       - technical\r
183     notification_emails:\r
184       - necko@mozilla.com\r
185       - acreskey@mozilla.com\r
186     expires: never\r
187     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_1\r
189   http_2_download_throughput:\r
190     type: custom_distribution\r
191     unit: mbps\r
192     range_min: 0\r
193     range_max: 10000\r
194     bucket_count: 100\r
195     histogram_type: exponential\r
196     description: >\r
197      The download throughput for http/2 requests larger than 10MB. Measured in megabits per second, Mbps.\r
198     bugs:\r
199       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798\r
200     data_reviews:\r
201       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2\r
202     data_sensitivity:\r
203       - technical\r
204     notification_emails:\r
205       - necko@mozilla.com\r
206       - acreskey@mozilla.com\r
207     expires: never\r
208     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_2\r
210   http_3_download_throughput:\r
211     type: custom_distribution\r
212     unit: mbps\r
213     range_min: 0\r
214     range_max: 10000\r
215     bucket_count: 100\r
216     histogram_type: exponential\r
217     description: >\r
218      The download throughput for http/3 requests larger than 10MB. Measured in megabits per second, Mbps.\r
219     bugs:\r
220       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798\r
221     data_reviews:\r
222       - https://bugzilla.mozilla.org/show_bug.cgi?id=1846798#c2\r
223     data_sensitivity:\r
224       - technical\r
225     notification_emails:\r
226       - necko@mozilla.com\r
227       - acreskey@mozilla.com\r
228     expires: never\r
229     telemetry_mirror: NETWORKING_DOWNLOAD_THROUGHPUT_HTTP_3\r