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

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 1074263003: Add histograms for a number of hacks in the HTTP header parsing logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fetcher4
Patch Set: Merge Created 5 years, 8 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:
Download patch
« net/http/http_stream_parser.cc ('K') | « net/http/http_stream_parser.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 244c41c92f71bc787d1bf97d0282fc80d3ce61c4..9f605933e2c65b3a280075689c13ebeb0e108ca9 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -18627,6 +18627,15 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Net.HttpHeaderParserEvent" enum="HttpHeaderParserEvent">
+ <owner>mmenke@chromium.org</owner>
+ <summary>
+ Records the frequency of a number of hacky HTTP header parsing rules are
davidben 2015/04/13 19:55:14 Do we care more about frequency or proportion of r
mmenke 2015/04/13 21:12:21 I agree with your dislike of event-based histogram
davidben 2015/04/14 23:41:40 I suppose UseCounter is the same deal. Are separat
mmenke 2015/04/14 23:51:33 I think that each increment of 1 results in anothe
+ invoked. Histogram should be removed after we have enough data to know if
+ we can remove the hacks.
+ </summary>
+</histogram>
+
<histogram name="net.HttpIdentSrcURL" units="requests">
<owner>tsepez@chromium.org</owner>
<summary>
@@ -52496,6 +52505,14 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="15" label="Negotiate Secure Server"/>
</enum>
+<enum name="HttpHeaderParserEvent" type="int">
+ <int value="0" label="PARSER_INVOKED"/>
+ <int value="1" label="HTTP_09_RESPONSE"/>
+ <int value="2" label="ALLOWED_TRUNCATED_HEADERS"/>
+ <int value="3" label="SKIPPED_WS_PREFIX"/>
+ <int value="4" label="SKIPPED_NON_WS_PREFIX"/>
+</enum>
+
<enum name="HttpPipelineStatus" type="int">
<int value="0" label="Success"/>
<int value="1" label="Redirected"/>
« net/http/http_stream_parser.cc ('K') | « net/http/http_stream_parser.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698