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

Issue 2809453002: Add JobController/Job count to UMA histograms when the count hits limit (Closed)

Created:
3 years, 8 months ago by Zhongyi Shi
Modified:
3 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add JobController/Job count to UMA histograms when the count is a multiple of 100. BUG=704988 Review-Url: https://codereview.chromium.org/2809453002 Cr-Commit-Position: refs/heads/master@{#463682} Committed: https://chromium.googlesource.com/chromium/src/+/620855b6c99bb476fc87b67f9329b8d3724ea031

Patch Set 1 #

Total comments: 3

Patch Set 2 : add to a new histogram #

Patch Set 3 : Change to only log the histograms when the count hits 200, 400, etc #

Patch Set 4 : change a comment #

Total comments: 6

Patch Set 5 : fix comments #

Patch Set 6 : change the boundary to a multiple of 100 #

Total comments: 4

Patch Set 7 : address #21 #

Patch Set 8 : address #23 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -29 lines) Patch
M net/http/http_stream_factory_impl.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M net/http/http_stream_factory_impl.cc View 1 2 3 4 5 4 chunks +40 lines, -22 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 2 chunks +20 lines, -7 lines 0 comments Download

Messages

Total messages: 34 (10 generated)
Zhongyi Shi
3 years, 8 months ago (2017-04-07 22:39:41 UTC) #2
Ryan Hamilton
lgtm One other metric we could consider logging would be the age of JobControllers. Imagine ...
3 years, 8 months ago (2017-04-07 22:51:05 UTC) #3
Zhongyi Shi
https://codereview.chromium.org/2809453002/diff/1/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2809453002/diff/1/net/http/http_stream_factory_impl.cc#newcode380 net/http/http_stream_factory_impl.cc:380: main_job_count); On 2017/04/07 22:51:05, Ryan Hamilton wrote: > it's ...
3 years, 8 months ago (2017-04-07 23:43:03 UTC) #4
Zhongyi Shi
Ryan and Alexei: ptal!
3 years, 8 months ago (2017-04-08 00:42:03 UTC) #6
Ryan Hamilton
lgtm
3 years, 8 months ago (2017-04-08 01:26:07 UTC) #7
xunjieli
sorry, but I am going to push back on this implementation. This adds unnecessary code ...
3 years, 8 months ago (2017-04-10 13:22:54 UTC) #8
Ryan Hamilton
On 2017/04/10 13:22:54, xunjieli wrote: > sorry, but I am going to push back on ...
3 years, 8 months ago (2017-04-10 13:37:22 UTC) #11
xunjieli
On 2017/04/10 13:37:22, Ryan Hamilton wrote: > On 2017/04/10 13:22:54, xunjieli wrote: > > sorry, ...
3 years, 8 months ago (2017-04-10 13:46:08 UTC) #12
Ryan Hamilton
+cbentzel On 2017/04/10 13:46:08, xunjieli wrote: > On 2017/04/10 13:37:22, Ryan Hamilton wrote: > > ...
3 years, 8 months ago (2017-04-10 14:23:40 UTC) #14
xunjieli
On 2017/04/10 14:23:40, Ryan Hamilton wrote: > +cbentzel > > On 2017/04/10 13:46:08, xunjieli wrote: ...
3 years, 8 months ago (2017-04-10 14:28:28 UTC) #15
Ryan Hamilton
On 2017/04/10 14:28:28, xunjieli wrote: > On 2017/04/10 14:23:40, Ryan Hamilton wrote: > > +cbentzel ...
3 years, 8 months ago (2017-04-10 15:17:27 UTC) #16
Zhongyi Shi
On 2017/04/10 14:28:28, xunjieli wrote: > On 2017/04/10 14:23:40, Ryan Hamilton wrote: > > +cbentzel ...
3 years, 8 months ago (2017-04-10 16:33:34 UTC) #17
Zhongyi Shi
Helen, change to the alternative approach discussed, ptal.
3 years, 8 months ago (2017-04-10 22:38:10 UTC) #18
xunjieli
Looks great. Thanks for doing this. A few comments below. https://codereview.chromium.org/2809453002/diff/60001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2809453002/diff/60001/net/http/http_stream_factory_impl.cc#newcode367 ...
3 years, 8 months ago (2017-04-10 23:13:21 UTC) #19
Zhongyi Shi
Thanks Helen, ptal https://codereview.chromium.org/2809453002/diff/60001/net/http/http_stream_factory_impl.cc File net/http/http_stream_factory_impl.cc (right): https://codereview.chromium.org/2809453002/diff/60001/net/http/http_stream_factory_impl.cc#newcode367 net/http/http_stream_factory_impl.cc:367: return; On 2017/04/10 23:13:21, xunjieli wrote: ...
3 years, 8 months ago (2017-04-10 23:30:13 UTC) #20
xunjieli
lgtm https://codereview.chromium.org/2809453002/diff/100001/net/http/http_stream_factory_impl.h File net/http/http_stream_factory_impl.h (right): https://codereview.chromium.org/2809453002/diff/100001/net/http/http_stream_factory_impl.h#newcode175 net/http/http_stream_factory_impl.h:175: // the count hits the limit: 100, 200, ...
3 years, 8 months ago (2017-04-10 23:49:14 UTC) #21
Zhongyi Shi
asvitkine@: ptal! xunijeli@: thanks for review.
3 years, 8 months ago (2017-04-10 23:53:55 UTC) #22
xunjieli
https://codereview.chromium.org/2809453002/diff/100001/net/http/http_stream_factory_impl.h File net/http/http_stream_factory_impl.h (right): https://codereview.chromium.org/2809453002/diff/100001/net/http/http_stream_factory_impl.h#newcode175 net/http/http_stream_factory_impl.h:175: // the count hits the limit: 100, 200, 400, ...
3 years, 8 months ago (2017-04-11 00:14:22 UTC) #23
Zhongyi Shi
https://codereview.chromium.org/2809453002/diff/100001/net/http/http_stream_factory_impl.h File net/http/http_stream_factory_impl.h (right): https://codereview.chromium.org/2809453002/diff/100001/net/http/http_stream_factory_impl.h#newcode175 net/http/http_stream_factory_impl.h:175: // the count hits the limit: 100, 200, 400, ...
3 years, 8 months ago (2017-04-11 00:21:22 UTC) #24
xunjieli
On 2017/04/11 00:21:22, Zhongyi Shi wrote: > https://codereview.chromium.org/2809453002/diff/100001/net/http/http_stream_factory_impl.h > File net/http/http_stream_factory_impl.h (right): > > https://codereview.chromium.org/2809453002/diff/100001/net/http/http_stream_factory_impl.h#newcode175 ...
3 years, 8 months ago (2017-04-11 00:23:10 UTC) #25
Alexei Svitkine (slow)
lgtm
3 years, 8 months ago (2017-04-11 14:52:02 UTC) #27
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/2809453002/140001
3 years, 8 months ago (2017-04-11 16:49:09 UTC) #30
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/chromium/src/+/620855b6c99bb476fc87b67f9329b8d3724ea031
3 years, 8 months ago (2017-04-11 17:58:38 UTC) #33
Ryan Hamilton
3 years, 8 months ago (2017-04-12 04:04:47 UTC) #34
Message was sent while issue was closed.
On 2017/04/11 17:58:38, commit-bot: I haz the power wrote:
> Committed patchset #8 (id:140001) as
>
https://chromium.googlesource.com/chromium/src/+/620855b6c99bb476fc87b67f9329...

Thanks Helen and Cherie for getting this landed. I can't wait to see what the
metrics show!

Powered by Google App Engine
This is Rietveld 408576698