Closed Bug 709406 Opened 13 years ago Closed 13 years ago

Change location of slow SQL statements in Telemetry JSON object

Categories

(Toolkit :: Telemetry, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: vladan, Assigned: vladan)

Details

Attachments

(3 files, 5 obsolete files)

(7:33:03 PM) taras: in retrospect Telemetry.histogramSnapshots; should not contain sql stuff
(7:33:09 PM) taras: that should be on toplevel Telemetry object
(7:33:11 PM) taras: :(
(7:33:39 PM) taras: yeah i think we should change that
Note that about:telemetry has an existing bug where an exception is thrown when the extension is upgraded or disabled then enabled, which requires Firefox to be restarted after a new version is installed. Unless I'm missing some info, the fix should be as simple as calling unregisterFactory in the shutdown and uninstall methods..
Removed an unused variable
Attachment #581073 - Attachment is obsolete: true
Attachment #581073 - Flags: review?(mozilla)
Attachment #581295 - Flags: review?(mozilla)
Comment on attachment 581295 [details] [diff] [review]
Move slow SQL in JSON + report it in ping + add regression tests

s/slowSQLData/slowSQL/
Attachment #581295 - Flags: review?(mozilla) → review-
Try run for a14bf290dfda is complete.
Detailed breakdown of the results available here:
    https://tbpl.mozilla.org/?tree=Try&rev=a14bf290dfda
Results (out of 139 total builds):
    exception: 38
    success: 37
    warnings: 4
    failure: 60
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/vdjeric@mozilla.com-a14bf290dfda
Comment on attachment 581076 [details] [diff] [review]
Update about:telemetry extension to work with old and new slow SQL formats

lets hold off on this review until the api settles
Attachment #581076 - Flags: review?(taras.mozilla)
Changed format in which slow SQL statements are reported.

Note that the build failures above are the result of a cancelled build.
Attachment #581295 - Attachment is obsolete: true
Attachment #581442 - Flags: review?(taras.mozilla)
Changed format in which slow SQL statements are reported.

Note that the build failures above are the result of a cancelled build.
Attachment #581442 - Attachment is obsolete: true
Attachment #581442 - Flags: review?(taras.mozilla)
Attachment #581444 - Flags: review?(taras.mozilla)
Updated to work with new API
Attachment #581076 - Attachment is obsolete: true
Attachment #581446 - Flags: review?(taras.mozilla)
Attachment #581444 - Flags: review?(taras.mozilla) → review+
Added name to contributors list per Taras's suggestion. Ready for checkin, got review+ on previous version (with identical code)
Keywords: checkin-needed
Attachment #581452 - Flags: checkin+
Comment on attachment 581446 [details] [diff] [review]
Update about:telemetry extension to work with old and new slow SQL formats, v2

I don't think we should have backward compat for a one-time API blip.
Attachment #581446 - Flags: review?(taras.mozilla) → review-
Removed backwards-compatibility as requested
Attachment #581446 - Attachment is obsolete: true
Attachment #581459 - Flags: review?(taras.mozilla)
Comment on attachment 581459 [details] [diff] [review]
Update about:telemetry extension to work with new slow SQL format, v3

I'll check in addon changes once mozilla-central change lands
Attachment #581459 - Flags: review?(taras.mozilla) → review+
Try run for 89254bd869e1 is complete.
Detailed breakdown of the results available here:
    https://tbpl.mozilla.org/?tree=Try&rev=89254bd869e1
Results (out of 208 total builds):
    success: 182
    warnings: 24
    failure: 2
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/vdjeric@mozilla.com-89254bd869e1
https://hg.mozilla.org/mozilla-central/rev/99dedca7064e

Just noticed I forgot to change the author line :-(
Sorry about that.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Try run for a14bf290dfda is complete.
Detailed breakdown of the results available here:
    https://tbpl.mozilla.org/?tree=Try&rev=a14bf290dfda
Results (out of 139 total builds):
    exception: 38
    success: 37
    warnings: 4
    failure: 60
Builds (or logs if builds failed) available at:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/vdjeric@mozilla.com-a14bf290dfda
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: