Closed
Bug 1121966
Opened 10 years ago
Closed 8 years ago
Change DISPLAY_SCALING_<OS> histograms to a single DISPLAY_SCALING
Categories
(Toolkit :: Telemetry, defect)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: gfritzsche, Assigned: flyingrub)
References
Details
Attachments
(1 file)
Currently we have DISPLAY_SCALING_OSX, DISPLAY_SCALING_MSWIN, DISPLAY_SCALING_LINUX.
We should just use DISPLAY_SCALING and do a proper per-OS breakdown as usual.
Comment hidden (mozreview-request) |
This patch builds fine but when running it I can't find the new histogram in about:telemetry...
:Dolske are you still using this histogram ?
Flags: needinfo?(dolske)
Reporter | ||
Comment 4•8 years ago
|
||
It has been a while since this bug was filed.
This is useful, as OS breakdowns can be done server-side in better ways.
However, the users/owners of these histograms should decide if we can just replace them.
Reporter | ||
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8848479 [details]
Bug 1121966 - Change DISPLAY_SCALING_<OS> histograms to a single
https://reviewboard.mozilla.org/r/121376/#review123866
If these histograms are not used anymore, we should just remove them.
If they are still moved and its ok to change them into one histogram, then we can improve this a bit.
::: toolkit/components/telemetry/histogram-whitelists.json:208
(Diff revision 1)
> "DEVTOOLS_WEBIDE_REMOTE_CONNECTION_RESULT",
> "DEVTOOLS_WEBIDE_SIMULATOR_CONNECTION_RESULT",
> "DEVTOOLS_WEBIDE_TIME_ACTIVE_SECONDS",
> "DEVTOOLS_WEBIDE_USB_CONNECTION_RESULT",
> "DEVTOOLS_WEBIDE_WIFI_CONNECTION_RESULT",
> - "DISPLAY_SCALING_LINUX",
> + "DISPLAY_SCALING",
We should not add anything to the whitelist here.
Instead we should set proper attributes for the histogram.
Comment 6•8 years ago
|
||
The data is still useful, and I have no objection to removing the OS-specific probes.
Flags: needinfo?(dolske)
Comment hidden (mozreview-request) |
(In reply to Georg Fritzsche [:gfritzsche] [away March 24 - April 2] from comment #5)
> We should not add anything to the whitelist here.
> Instead we should set proper attributes for the histogram.
I pushed those changes :).
Attachment #8848479 -
Flags: review?(gfritzsche)
Reporter | ||
Updated•8 years ago
|
Attachment #8848479 -
Flags: review?(chutten)
Reporter | ||
Comment 9•8 years ago
|
||
Chris, can you take a look?
Comment 10•8 years ago
|
||
mozreview-review |
Comment on attachment 8848479 [details]
Bug 1121966 - Change DISPLAY_SCALING_<OS> histograms to a single
https://reviewboard.mozilla.org/r/121376/#review134860
Does it pass lint?
::: browser/components/nsBrowserGlue.js:875
(Diff revision 2)
> - case "linux":
> - SCALING_PROBE_NAME = "DISPLAY_SCALING_LINUX";
> - break;
> - }
> - if (SCALING_PROBE_NAME) {
> let scaling = aWindow.devicePixelRatio * 100;
Isn't the indentation off here?
Attachment #8848479 -
Flags: review?(chutten) → review-
Comment hidden (mozreview-request) |
Assignee | ||
Comment 12•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8848479 [details]
Bug 1121966 - Change DISPLAY_SCALING_<OS> histograms to a single
https://reviewboard.mozilla.org/r/121376/#review134860
```
0 fly@Minotoor ~/workspace/mozilla-central $ ./mach lint browser/components/nsBrowserGlue.js
✖ 0 problems (0 errors, 0 warnings)
```
But you are right there was an indentation problem there :).
Comment 13•8 years ago
|
||
mozreview-review |
Comment on attachment 8848479 [details]
Bug 1121966 - Change DISPLAY_SCALING_<OS> histograms to a single
https://reviewboard.mozilla.org/r/121376/#review134910
Attachment #8848479 -
Flags: review?(chutten) → review+
Keywords: checkin-needed
Comment 14•8 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5c16d58e5f23
Change DISPLAY_SCALING_<OS> histograms to a single r=chutten
Keywords: checkin-needed
Comment 15•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•