Closed
Bug 1275570
Opened 9 years ago
Closed 9 years ago
Add Telemetry probe to see how often users enter print preview, and how many simplify the view
Categories
(Toolkit :: Printing, defect)
Toolkit
Printing
Tracking
()
RESOLVED
FIXED
mozilla50
| Tracking | Status | |
|---|---|---|
| firefox50 | --- | fixed |
People
(Reporter: mconley, Assigned: thaua)
References
Details
Attachments
(1 file, 1 obsolete file)
|
3.93 KB,
patch
|
mconley
:
review+
|
Details | Diff | Splinter Review |
Sounds like a good thing to collect: should be a temporary (6-12 month) collection unless somebody is signed up for permanent dashboarding/monitoring, which seems unlikely in this case. I'll want to do a data-review on the final Histograms.json (or other collection mechanism) when that's ready.
Flags: needinfo?(benjamin)
| Reporter | ||
Comment 1•9 years ago
|
||
Bug 962433 adds a mode to print preview that allows the user to "simplify" the printed document markup using the Reader Mode backend.
carnold asked whether or not we could gather data on how often it will be used in the wild, so that's what this bug is all about.
| Reporter | ||
Comment 2•9 years ago
|
||
bsmedberg - any problems gathering this data?
Flags: needinfo?(benjamin)
| Reporter | ||
Comment 3•9 years ago
|
||
mlongaray reports that thaua can take this bug and has a working patch.
Assignee: nobody → thaua
| Assignee | ||
Comment 4•9 years ago
|
||
This patch adds telemetry probe to keep track of how many users enter on print preview, and how many simplify the view.
Attachment #8760763 -
Flags: feedback?(mconley)
| Reporter | ||
Comment 5•9 years ago
|
||
Comment on attachment 8760763 [details] [diff] [review]
WIP1: Add telemetry probe
Review of attachment 8760763 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/components/printing/content/printUtils.js
@@ +533,5 @@
> URL: this._listener.getSourceBrowser().currentURI.spec,
> windowID: this._listener.getSourceBrowser().outerWindowID,
> });
> +
> + // Here we log telemetry data for when the user clicks on simplify page
Not strictly true - we're logging when the user is entering simplification mode. We're not counting clicks on the node at all (which would also count exits from simplify mode).
::: toolkit/components/telemetry/Histograms.json
@@ +5870,5 @@
> "n_buckets": 50,
> "description": "(Bug 1207089) Time in ms between displaying a popup notification and dismissing it without an action the first time, keyed by ID"
> },
> + "PRINT_PREVIEW_OPENED_COUNT": {
> + "alert_emails": ["carnold@mozilla.org"],
I guess we'd better make sure carnold knows we're hooking him up here. :)
@@ +5874,5 @@
> + "alert_emails": ["carnold@mozilla.org"],
> + "bug_numbers": [1275570],
> + "expires_in_version": "56",
> + "kind": "count",
> + "releaseChannelCollection": "opt-out",
We're going to need to be sure that bsmedberg or some other data collection peer is okay with this. Personally, I think we can probably make some decent decisions based on our beta population, and opt-ins from Release.
@@ +5883,5 @@
> + "bug_numbers": [1275570],
> + "expires_in_version": "56",
> + "kind": "count",
> + "releaseChannelCollection": "opt-out",
> + "description": "(Bug 1275570) Telemetry probe to see how often users click on simplify page checkbox when using print preview UI"
See above - this isn't about clicks, but about how often the user enters simplify mode.
Attachment #8760763 -
Flags: feedback?(mconley) → feedback+
| Reporter | ||
Comment 6•9 years ago
|
||
Also, forgot to say, thanks for the patch! Looking good!
| Assignee | ||
Comment 7•9 years ago
|
||
(In reply to Mike Conley (:mconley) - (needinfo me!) from comment #5)
> Comment on attachment 8760763 [details] [diff] [review]
> WIP1: Add telemetry probe
>
> Review of attachment 8760763 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: toolkit/components/printing/content/printUtils.js
> @@ +533,5 @@
> > URL: this._listener.getSourceBrowser().currentURI.spec,
> > windowID: this._listener.getSourceBrowser().outerWindowID,
> > });
> > +
> > + // Here we log telemetry data for when the user clicks on simplify page
>
> Not strictly true - we're logging when the user is entering simplification
> mode. We're not counting clicks on the node at all (which would also count
> exits from simplify mode).
>
Yes, you're right. I mistakenly used the word "click" in both cases. We should use "enter" instead.
> ::: toolkit/components/telemetry/Histograms.json
> @@ +5870,5 @@
> > "n_buckets": 50,
> > "description": "(Bug 1207089) Time in ms between displaying a popup notification and dismissing it without an action the first time, keyed by ID"
> > },
> > + "PRINT_PREVIEW_OPENED_COUNT": {
> > + "alert_emails": ["carnold@mozilla.org"],
>
> I guess we'd better make sure carnold knows we're hooking him up here. :)
>
> @@ +5874,5 @@
> > + "alert_emails": ["carnold@mozilla.org"],
> > + "bug_numbers": [1275570],
> > + "expires_in_version": "56",
> > + "kind": "count",
> > + "releaseChannelCollection": "opt-out",
>
> We're going to need to be sure that bsmedberg or some other data collection
> peer is okay with this. Personally, I think we can probably make some decent
> decisions based on our beta population, and opt-ins from Release.
>
> @@ +5883,5 @@
> > + "bug_numbers": [1275570],
> > + "expires_in_version": "56",
> > + "kind": "count",
> > + "releaseChannelCollection": "opt-out",
> > + "description": "(Bug 1275570) Telemetry probe to see how often users click on simplify page checkbox when using print preview UI"
>
> See above - this isn't about clicks, but about how often the user enters
> simplify mode.
I asked for more info from Christopher and Benjamin.
Flags: needinfo?(carnold)
Flags: needinfo?(benjamin)
Comment 8•9 years ago
|
||
Comment on attachment 8760763 [details] [diff] [review]
WIP1: Add telemetry probe
As a nit, I think the description can be improved: "(Bug N)" is unneeded now that we have the bug_numbers field. "Telemetry probe" is also unnecessary. But most importantly I encourage people to write the description in terms of what they are actually recording: "A counter incremented every time the browser enters print preview."
data-review=me
I highly recommend keeping this opt-out, as long as you are going to take the extra time to analyze this on the release population. Features like printing and print preview are likely very skewed between beta and release because beta is a more technical population.
Flags: needinfo?(benjamin)
Attachment #8760763 -
Flags: feedback+
| Assignee | ||
Comment 9•9 years ago
|
||
This patch adds telemetry probe to keep track of how many users enter print preview and/or simplified mode.
Attachment #8760763 -
Attachment is obsolete: true
Attachment #8761359 -
Flags: review?(mconley)
Attachment #8761359 -
Flags: review?(benjamin)
Attachment #8761359 -
Flags: feedback?(carnold)
| Reporter | ||
Comment 10•9 years ago
|
||
Comment on attachment 8761359 [details] [diff] [review]
WIP2: Nits fixed
Review of attachment 8761359 [details] [diff] [review]:
-----------------------------------------------------------------
This looks fine - but based on bsmedberg's comment, we should go with the original plan of doing opt-out collection on release.
Also, bsmedberg gave his data-review+, so no need to re-request, I don't think.
Attachment #8761359 -
Flags: review?(mconley)
Attachment #8761359 -
Flags: review?(benjamin)
Attachment #8761359 -
Flags: review-
Attachment #8761359 -
Flags: feedback?(carnold)
| Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8761359 [details] [diff] [review]
WIP2: Nits fixed
>+ "PRINT_PREVIEW_OPENED_COUNT": {
>+ "alert_emails": ["carnold@mozilla.org"],
>+ "bug_numbers": [1275570],
>+ "expires_in_version": "56",
>+ "kind": "count",
>+ "releaseChannelCollection": "opt-out",
>+ "description": "A counter incremented every time the browser enters print preview."
>+ },
>+ "PRINT_PREVIEW_SIMPLIFY_PAGE_OPENED_COUNT": {
>+ "alert_emails": ["carnold@mozilla.org"],
>+ "bug_numbers": [1275570],
>+ "expires_in_version": "56",
>+ "kind": "count",
>+ "releaseChannelCollection": "opt-out",
I think I didn't understand, should we use opt-in instead?
>+ "description": "A counter incremented every time the browser enters simplified mode on print preview."
>+ },
Flags: needinfo?(mconley)
| Reporter | ||
Comment 13•9 years ago
|
||
Comment on attachment 8761359 [details] [diff] [review]
WIP2: Nits fixed
Review of attachment 8761359 [details] [diff] [review]:
-----------------------------------------------------------------
(In reply to Thauã Silveira from comment #12)
> Comment on attachment 8761359 [details] [diff] [review]
> WIP2: Nits fixed
>
> >+ "PRINT_PREVIEW_OPENED_COUNT": {
> >+ "alert_emails": ["carnold@mozilla.org"],
> >+ "bug_numbers": [1275570],
> >+ "expires_in_version": "56",
> >+ "kind": "count",
> >+ "releaseChannelCollection": "opt-out",
> >+ "description": "A counter incremented every time the browser enters print preview."
> >+ },
> >+ "PRINT_PREVIEW_SIMPLIFY_PAGE_OPENED_COUNT": {
> >+ "alert_emails": ["carnold@mozilla.org"],
> >+ "bug_numbers": [1275570],
> >+ "expires_in_version": "56",
> >+ "kind": "count",
> >+ "releaseChannelCollection": "opt-out",
>
> I think I didn't understand, should we use opt-in instead?
>
> >+ "description": "A counter incremented every time the browser enters simplified mode on print preview."
> >+ },
I'm sorry - I misread your patch! Yes, this looks like it's doing the right thing.
Attachment #8761359 -
Flags: review- → review+
| Reporter | ||
Comment 14•9 years ago
|
||
So r=me, data-review=bsmedberg.
Flags: needinfo?(mconley)
Keywords: checkin-needed
Comment 15•9 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/fx-team/rev/696e8df2724e
"Add Telemetry probe to see how often users enter print preview, and how many simplify the view". r=mconley
Keywords: checkin-needed
Comment 16•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•