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

Issue 2888653003: increase bucket size and break down video by http/https (Closed)

Created:
3 years, 7 months ago by ajo1
Modified:
3 years, 7 months ago
CC:
chromium-reviews, tbansal+watch-data-reduction-proxy_chromium.org, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

increase bucket size and break down video by http/https Effected existing histograms: Net.HttpContentLength.Http Net.HttpContentLength.Https Net.HttpContentLength.Video Net.HttpContentLength.Http.Video Net.HttpContentLength.Https.Video New Histograms: Net.HttpContentLength.Http.Direct Net.HttpContentLength.Http.ViaDRP Net.HttpContentLength.Http.BypassedDRP Net.HttpContentLength.Http.Other Net.HttpContentLength.Https.Direct Net.HttpContentLength.Https.ViaDRP Net.HttpContentLength.Https.BypassedDRP Net.HttpContentLength.Https.Other Net.HttpContentLength.Http.Direct.Video Net.HttpContentLength.Http.ViaDRP.Video Net.HttpContentLength.Http.BypassedDRP.Video Net.HttpContentLength.Http.Other.Video Net.HttpContentLength.Https.Direct.Video Net.HttpContentLength.Https.ViaDRP.Video Net.HttpContentLength.Https.BypassedDRP.Video Net.HttpContentLength.Https.Other.Video BUG=689659 Review-Url: https://codereview.chromium.org/2888653003 Cr-Commit-Position: refs/heads/master@{#474922} Committed: https://chromium.googlesource.com/chromium/src/+/301b00f0c3b91119545da8f1762dcba0f665697e

Patch Set 1 #

Patch Set 2 : Add video UMA #

Patch Set 3 : fix IIFE #

Patch Set 4 : update UMA #

Patch Set 5 : cleanup #

Patch Set 6 : Revision to tests #

Total comments: 4

Patch Set 7 : formatting #

Total comments: 19

Patch Set 8 : formatting #

Patch Set 9 : more formatting #

Patch Set 10 : Rebase for trybots #

Total comments: 16

Patch Set 11 : review comments #

Patch Set 12 : update histograms.xml #

Patch Set 13 : Final formatting fixes #

Total comments: 14

Patch Set 14 : review comments #

Total comments: 15

Patch Set 15 : address some missed comments #

Patch Set 16 : address comments #

Patch Set 17 : Rebase #

Total comments: 2

Patch Set 18 : Added suffix labels #

Total comments: 2

Patch Set 19 : consistent Proxy capitalization #

Patch Set 20 : Address windows build breakage #

Patch Set 21 : Better approach to initializing the suffix. #

Patch Set 22 : Address trybot failure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -38 lines) Patch
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 5 chunks +64 lines, -22 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 4 chunks +81 lines, -13 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +42 lines, -3 lines 0 comments Download

Messages

Total messages: 70 (45 generated)
RyanSturm
comments are from a few patches ago, but I believe they still apply. https://codereview.chromium.org/2888653003/diff/100001/tools/metrics/histograms/histograms.xml File ...
3 years, 7 months ago (2017-05-24 22:04:10 UTC) #18
bengr
https://codereview.chromium.org/2888653003/diff/180001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2888653003/diff/180001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode63 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:63: std::string prefix = "Net.HttpContentLength"; Consider using const char* https://codereview.chromium.org/2888653003/diff/180001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode64 ...
3 years, 7 months ago (2017-05-24 22:17:20 UTC) #20
RyanSturm
https://codereview.chromium.org/2888653003/diff/180001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2888653003/diff/180001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode52 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:52: 128 << 20, // Maximum sample size in bytes. ...
3 years, 7 months ago (2017-05-24 22:39:07 UTC) #21
ajo1
https://codereview.chromium.org/2888653003/diff/100001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2888653003/diff/100001/tools/metrics/histograms/histograms.xml#oldcode89356 tools/metrics/histograms/histograms.xml:89356: <histogram_suffixes name="NetHttpContentLengthType" separator="."> On 2017/05/24 22:04:09, RyanSturm wrote: > ...
3 years, 7 months ago (2017-05-24 22:40:54 UTC) #23
RyanSturm
I think I don't have any more nits after this :) https://codereview.chromium.org/2888653003/diff/240001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): ...
3 years, 7 months ago (2017-05-24 23:15:38 UTC) #25
ajo1
https://codereview.chromium.org/2888653003/diff/240001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2888653003/diff/240001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode47 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:47: // Records the occurrence of |sample| in |name| histogram. ...
3 years, 7 months ago (2017-05-25 18:19:09 UTC) #28
Matt Welsh
Overall this l00ks g00d t0 me, but we also need UMA for Net.HttpOriginalContentLength broken down ...
3 years, 7 months ago (2017-05-25 19:20:29 UTC) #32
RyanSturm
On 2017/05/25 18:19:09, ajo1 wrote: > https://codereview.chromium.org/2888653003/diff/240001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc > File > components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc > (right): > > ...
3 years, 7 months ago (2017-05-25 20:20:37 UTC) #35
ajo1
Yes, uploaded On Thu, May 25, 2017 at 1:20 PM, <ryansturm@chromium.org> wrote: > On 2017/05/25 ...
3 years, 7 months ago (2017-05-25 20:42:46 UTC) #36
RyanSturm
https://codereview.chromium.org/2888653003/diff/240001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2888653003/diff/240001/tools/metrics/histograms/histograms.xml#newcode89401 tools/metrics/histograms/histograms.xml:89401: + <obsolete> On 2017/05/25 18:19:09, ajo1 wrote: > On ...
3 years, 7 months ago (2017-05-25 21:05:41 UTC) #37
ajo1
https://codereview.chromium.org/2888653003/diff/180001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2888653003/diff/180001/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode52 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:52: 128 << 20, // Maximum sample size in bytes. ...
3 years, 7 months ago (2017-05-25 22:10:37 UTC) #38
Ilya Sherman
https://codereview.chromium.org/2888653003/diff/240001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2888653003/diff/240001/tools/metrics/histograms/histograms.xml#newcode89401 tools/metrics/histograms/histograms.xml:89401: + <obsolete> On 2017/05/25 21:05:41, RyanSturm wrote: > On ...
3 years, 7 months ago (2017-05-25 22:12:32 UTC) #39
Ilya Sherman
https://codereview.chromium.org/2888653003/diff/100002/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2888653003/diff/100002/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode54 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:54: 200, // Bucket count. On 2017/05/25 22:12:31, Ilya Sherman ...
3 years, 7 months ago (2017-05-25 22:14:16 UTC) #40
bengr
lgtm
3 years, 7 months ago (2017-05-25 23:36:44 UTC) #41
ajo1
https://codereview.chromium.org/2888653003/diff/100002/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc (right): https://codereview.chromium.org/2888653003/diff/100002/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc#newcode56 components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc:56: histogram_pointer->Add(sample); On 2017/05/25 22:12:31, Ilya Sherman wrote: > Please ...
3 years, 7 months ago (2017-05-25 23:42:19 UTC) #42
RyanSturm
lgtm
3 years, 7 months ago (2017-05-25 23:47:05 UTC) #43
Ilya Sherman
Metrics LGTM % a comment: https://codereview.chromium.org/2888653003/diff/310001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2888653003/diff/310001/tools/metrics/histograms/histograms.xml#newcode89521 tools/metrics/histograms/histograms.xml:89521: + <suffix name="ViaDRP"/> Please ...
3 years, 7 months ago (2017-05-25 23:52:37 UTC) #46
ajo1
https://codereview.chromium.org/2888653003/diff/310001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2888653003/diff/310001/tools/metrics/histograms/histograms.xml#newcode89521 tools/metrics/histograms/histograms.xml:89521: + <suffix name="ViaDRP"/> On 2017/05/25 23:52:37, Ilya Sherman wrote: ...
3 years, 7 months ago (2017-05-26 00:02:25 UTC) #48
Ilya Sherman
(Still LGTM) https://codereview.chromium.org/2888653003/diff/330001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2888653003/diff/330001/tools/metrics/histograms/histograms.xml#newcode89890 tools/metrics/histograms/histograms.xml:89890: + label="Bytes of traffic that bypassed the ...
3 years, 7 months ago (2017-05-26 00:02:28 UTC) #49
ajo1
https://codereview.chromium.org/2888653003/diff/330001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2888653003/diff/330001/tools/metrics/histograms/histograms.xml#newcode89890 tools/metrics/histograms/histograms.xml:89890: + label="Bytes of traffic that bypassed the Data Reduction ...
3 years, 7 months ago (2017-05-26 00:07:21 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2888653003/350001
3 years, 7 months ago (2017-05-26 00:15:38 UTC) #56
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2888653003/370001
3 years, 7 months ago (2017-05-26 00:27:13 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2888653003/390001
3 years, 7 months ago (2017-05-26 00:32:01 UTC) #64
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2888653003/410001
3 years, 7 months ago (2017-05-26 00:43:08 UTC) #67
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 05:25:35 UTC) #70
Message was sent while issue was closed.
Committed patchset #22 (id:410001) as
https://chromium.googlesource.com/chromium/src/+/301b00f0c3b91119545da8f1762d...

Powered by Google App Engine
This is Rietveld 408576698