Closed
Bug 751349
Opened 14 years ago
Closed 14 years ago
fix thinko in addon telemetry sending
Categories
(Toolkit :: Telemetry, defect)
Toolkit
Telemetry
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: froydnj, Assigned: froydnj)
Details
Attachments
(1 file)
|
3.88 KB,
patch
|
taras.mozilla
:
review+
|
Details | Diff | Splinter Review |
Patch coming in a moment.
| Assignee | ||
Comment 1•14 years ago
|
||
At first I thought this was just a merge thinko: this.convertHistogram should be this.packHistogram. But Telemetry.addonHistogramSnapshots has the structure:
{
'addon_name' : { 'histogram1' : <data>, 'histogram2' : <data> },
'other_addon' : { 'histogram1' : <data> ... },
...
}
and so we were treating the dict of histograms as a hash...and that wasn't going to end well.
Fixed thusly. Added a test, too, so that we won't screw this up in the future.
Attachment #620562 -
Flags: review?(taras.mozilla)
Comment 2•14 years ago
|
||
Comment on attachment 620562 [details] [diff] [review]
patch
I was worried this might be something that matters
Attachment #620562 -
Flags: review?(taras.mozilla) → review+
Comment 3•14 years ago
|
||
What's the effect of this bug on the data we've collected heretofore? Was it a regression -- that is, was the data valid before some date and made invalid by some change?
(I got some telemetry data in bug 744041; if it's invalid, I certainly don't want to waste time analyzing it.)
| Assignee | ||
Comment 4•14 years ago
|
||
(In reply to Taras Glek (:taras) from comment #2)
> I was worried this might be something that matters
:) Well, since we haven't done much with addon histograms...
(In reply to Justin Lebar [:jlebar] from comment #3)
> What's the effect of this bug on the data we've collected heretofore? Was
> it a regression -- that is, was the data valid before some date and made
> invalid by some change?
This change doesn't have any effect on the data you collected in bug 744041. This bug was for addons that are creating their own histograms and then attempting to submit just that histogram data. AFAIK, no addons are using the histogram functionality yet.
| Assignee | ||
Comment 5•14 years ago
|
||
Assignee: nobody → nfroyd
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla15
(In reply to Nathan Froyd (:froydnj) from comment #5)
> https://hg.mozilla.org/integration/mozilla-inbound/rev/5ea56995db76
This was merged to mozilla-central in: https://hg.mozilla.org/mozilla-central/rev/5ea56995db76 but referenced in bug 751316 due to the patch mentioning the wrong bug.
It's 2 digits out, not 1 and it's not a transliteration error, or a copy-paste error. I hereby deduce that you used a numpad to enter the bug number :-)
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 7•14 years ago
|
||
(In reply to Daniel Cater from comment #6)
> This was merged to mozilla-central in:
> https://hg.mozilla.org/mozilla-central/rev/5ea56995db76 but referenced in
> bug 751316 due to the patch mentioning the wrong bug.
>
> It's 2 digits out, not 1 and it's not a transliteration error, or a
> copy-paste error. I hereby deduce that you used a numpad to enter the bug
> number :-)
Wow, that's *really* wrong, isn't it? I don't know what happened. But I can tell you your deduction is wrong; my keyboard doesn't even have a numpad. :)
You need to log in
before you can comment on or make changes to this bug.
Description
•