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

Issue 2424503002: Only include PageLoad.AbortTiming histograms for histograms with data. (Closed)

Created:
4 years, 2 months ago by Bryan McQuade
Modified:
4 years, 2 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only include PageLoad.AbortTiming histograms for histograms with data. We currently have root PageLoad.AbortTiming histograms in histograms.xml, along with custom suffixes. We only log values for the suffixes, however, which means the root histograms show up in the UMA dash with 'No data' next to them. This change expands the histograms to only include histograms we actually log for, to prevent 'No data' rows from showing in the UMA dashboard. This is similar to https://codereview.chromium.org/2355093002 which did the same transformation for PageLoad.Clients histograms. BUG=656119

Patch Set 1 #

Patch Set 2 : cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+235 lines, -46 lines) Patch
M tools/metrics/histograms/histograms.xml View 1 4 chunks +235 lines, -46 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Bryan McQuade
PTAL, thanks!
4 years, 2 months ago (2016-10-14 20:25:44 UTC) #7
Charlie Harrison
LGTM
4 years, 2 months ago (2016-10-14 22:44:38 UTC) #12
Ilya Sherman
Hmm, could I encourage you to instead implement some mechanism to indicate that the base ...
4 years, 2 months ago (2016-10-14 23:41:23 UTC) #13
Bryan McQuade
On 2016/10/14 at 23:41:23, isherman wrote: > Hmm, could I encourage you to instead implement ...
4 years, 2 months ago (2016-10-15 03:05:26 UTC) #14
Ilya Sherman
On 2016/10/15 03:05:26, Bryan McQuade wrote: > On 2016/10/14 at 23:41:23, isherman wrote: > > ...
4 years, 2 months ago (2016-10-17 23:46:24 UTC) #15
Bryan McQuade
On 2016/10/17 at 23:46:24, isherman wrote: > On 2016/10/15 03:05:26, Bryan McQuade wrote: > > ...
4 years, 2 months ago (2016-10-18 09:58:16 UTC) #16
Bryan McQuade
4 years, 2 months ago (2016-10-18 14:51:23 UTC) #17
On 2016/10/18 at 09:58:16, Bryan McQuade wrote:
> On 2016/10/17 at 23:46:24, isherman wrote:
> > On 2016/10/15 03:05:26, Bryan McQuade wrote:
> > > On 2016/10/14 at 23:41:23, isherman wrote:
> > > > Hmm, could I encourage you to instead implement some mechanism to
indicate
> > > that the base histogram is unused?  It's a shame to duplicate a bunch of
text in
> > > the histograms.xml file just to work around this minor issue.
> > > 
> > > Totally agree - I'd really like to have a mechanism to indicate the base
> > > histogram is unused. Do you have a sense for how much work that would
entail? If
> > > it's straightforward I'm happy to do it. If it's more involved I think I'd
> > > prefer to land this and file a bug, then circle back and revert this
change once
> > > support has been added.
> > > 
> > > Feel free to start an email thread to discuss what adding support for this
might
> > > look like, thanks!
> > 
> > I think it should be as easy as updating [1] to allow an empty suffix marked
as obsolete.  In fact, this might already be possible -- I don't know whether
anyone has ever tried it =)
> > 
> > [1]
https://cs.chromium.org/chromium/src/tools/metrics/histograms/extract_histogr...
> 
> Excellent, thank you! I'll put together a patch to add support for this and
send it your way.

For others who may be interested, the proposed change to add support for 'base
histograms' is here: https://codereview.chromium.org/2426473006

Powered by Google App Engine
This is Rietveld 408576698