Closed Bug 703005 Opened 14 years ago Closed 13 years ago

exponential scaling in histograms is not useful

Categories

(Mozilla Metrics :: Frontend Reports, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Backlogged - BZ

People

(Reporter: taras.mozilla, Unassigned)

References

Details

(Whiteboard: [Telemetry:P1])

I can't see the small bars whenever there is a single bar that dwarfs everything else, eg MOZ_STORAGE_ASYNC_REQUESTS Also x-axis is unreadable in CYCLE_COLLECTOR probe
Assignee: nobody → paulo.pires
Maria is much more familiar with this, if it's a frontend issue is in UDJC
Assignee: paulo.pires → maria.roldan
Summary: expoential scaling in histograms is not useful → exponential scaling in histograms is not useful
Whiteboard: [Telemetry:P1]
Maria - Any thoughts?
Assignee: maria.roldan → pedro.alves
Assignee: pedro.alves → pedro.pinheiro
> Also x-axis is unreadable in CYCLE_COLLECTOR probe This should be fixed. There's some invalid submissions in fx7 / fx8, but that should be done As for the others, I'm not sure how often it happen. If it's something that only happens for some of the histograms, can we use the new export feature?
Assignee: pedro.pinheiro → pedro.alves
> If it's something that only happens for some of the histograms, can we use the new export feature? If raw JSON is more readable than the telemetry front-end, for any histogram, I think that's a bug. Do you disagree?
It's still a WIP, but now: - if you click on a bar of the histogram the yAxis resize to the value of that bar - click on another bar and it resizes to the value of the new bar - click on the same bar and the yAxis returns to the default size.
And just for the record, I 100% Agree with justin, it's definetly a bug
(In reply to Paulo Pires from comment #6) > It's still a WIP, but now: > - if you click on a bar of the histogram the yAxis resize to the value of > that bar > - click on another bar and it resizes to the value of the new bar > - click on the same bar and the yAxis returns to the default size. This works really well for me! It would be nice if there were some indicator of which bar I needed to click on to restore the display, or if there were some other way to restore the display without finding the right bar.
That's the WIP part ;)
Still not good enough. MOZ_STORARY_ASYNC_REQUESTS_MS has data i can't mouse over(bars too small) cycle_collector_need_gc doesn't even show the second bar. I think we should be able to set minimum height for datapoints. We should also be able to detect when large bars are dominating and ensure that tall bars are never >50% higher than every other bar.
Bug 711984 is on file for making the hover targets larger.
(In reply to Taras Glek (:taras) from comment #10) > I think we should be able to set minimum height for datapoints. We should > also be able to detect when large bars are dominating and ensure that tall > bars are never >50% higher than every other bar. obvious way to do this is to change the Y-axis scale
When the histogram is rendered it checks for the value of the second biggest bar, if that value is inferior to 2% it resizes the yAxis to the value of the second biggest bar. The toggle when clicking on the bars is maintained, but the default yAxis now corresponds to the value of the second biggest bar if is inferior to 2% (no point on showing a big 100% bar and the other too small). Also the bar clicked has now a red border to highlight it from the others.
Just a few notes: - when the yAxis is resized, the bars that are greater than the new yAxis max have a red triangle that indicates that the bar is bigger, we will change this aspect. - the tooltip of the bar is attached to the top of the bar, so when the bars are bigger than the top yAxis value the tooltips appear outside the histogram, we will change this also.
This broke A11Y_INSTANTIATED
This was breaking because on A11Y_INSTANTIATED we have a 100% bar for 1 and two null bars for 0 and 2, so the yAxis size was changing to 0. It's fixed now, showing a 100% yAxis size.
The way this works atm, when we detect an outlier bar and re-scale to the next-highest bar, that bar is not highlighted. So there's no apparent way to undo the auto-rescale. We should treat auto-rescale exactly the same as if the user had clicked on the bar we're re-scaling to.
For example, watching ZIPARCHIVE_CRC we have a big bar on 1 and two small bars on 0 and 2, so the y-axis is resized to the second largest bar, which is 0, but you can still click on the 2 bar (or others, if that's the case) that it will resize to the clicked bar, but not to 100%. The histogram won't resize to 100% because if it did, the second largest bar (and smaller ones) would get too small to click, and you would only see a big 100% with one or more too small non clickable bars.
> and you would only see a big 100% with one or more too small non clickable bars. We have a bug on increasing the clickable area for bars. That would fix this issue, right?
Yes, but for now I think it's best this way or you'll get a non clickable histogram
Agreed. We can revisit this in a separate bug once we increase the clickable area.
With the normalization fixed there isn't always a 100% bar so I removed the condition that didn't let to resize the yAxis when clicking on a 100% bar. In some cases there is a greater than 90% bar and all the others are small, so the yAxis size is set to the second biggest bar like before, but now you can click on the greather than 90% bar to resize the yAxis to it. In all other cases the yAxis is set to the biggest bar.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
updating whiteboard
Whiteboard: [Telemetry:P1] → Telemetry P1 migrated to JIRA
updating status and assignee
Assignee: pedro.alves → nobody
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
New JIRA migration identifier - 55 BZ issues being considered in current planning for Q3
Target Milestone: Unreviewed → Targeted - JIRA
Target Milestone: Targeted - JIRA → Backlogged - BZ
reopened by accident Paulo Pires made changes - 2012-01-20 09:50 AM Time Spent 2 days, 2 hours [ 64800 ] 2 days, 4 hours [ 72000 ] Worklog Id 10408 [ 10408 ]
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Whiteboard: Telemetry P1 migrated to JIRA → Telemetry P1
Whiteboard: Telemetry P1 → [Telemetry:P1]
You need to log in before you can comment on or make changes to this bug.