Commit Graph

238 Commits

Author SHA1 Message Date
Andrew Swan
64a8d967b0 Bug 1358620 Add telemetry for non-MPC extensions r=bsmedberg
MozReview-Commit-ID: 5LwLr4wXmHq
2017-04-24 11:30:51 -07:00
James Willcox
65ddfa9077 Bug 1358155 - Bump core ping version and docs r=frank
MozReview-Commit-ID: 1h417verpc2
2017-04-20 09:43:51 -05:00
Robert Helmer
eda64762b2 Bug 1357460 - add isWebExtension to Telemetry Environment collection docs r=bsmedberg
MozReview-Commit-ID: 36QAFhKlKfh
2017-04-18 10:00:02 -07:00
Thom Chiovoloni
f49f25daac Bug 1346175 - Record AsyncResource.serverTime in sync telemetry events. r=bsmedberg,markh
MozReview-Commit-ID: DG43B9zEHaO
2017-04-04 13:51:16 -04:00
Dão Gottwald
dd68c80c87 Bug 1356210 - Clean up TelemetryStopwatch.start calls for FX_TAB_CLOSE_TIME_ANIM_MS and FX_TAB_CLOSE_TIME_NO_ANIM_MS probes. r=Dexter,mconley
MozReview-Commit-ID: IvOerEtYY6T
2017-04-19 17:25:34 +02:00
Chris H-C
a2a550854b bug 1353295 - Remove addonHistograms from Telemetry r=Dexter
addonHistograms isn't being used and has started getting in the way.
So it goes.

Leave the "Addon Histograms" section in about:telemetry for 60 days.
Remove it in bug 1355882

MozReview-Commit-ID: 4lm7ONirofl
2017-04-06 15:31:58 -04:00
Alessio Placitelli
70c97fb2f2 Bug 1354482 - Turn on sending the "shutdown" ping using the pingsender from the second Firefox session. r=chutten,gfritzsche
MozReview-Commit-ID: IEYfziF86mF
2017-04-10 12:51:45 +02:00
Alessio Placitelli
a030b43029 Bug 1349629 - Create in-tree docs for the telemetry experiment annotation API. r=chutten
MozReview-Commit-ID: ACNuqpklCp6
2017-04-12 18:04:16 +02:00
Carsten "Tomcat" Book
6d5a053fe2 Backed out changeset cfe47bace342 (bug 1353295) for assertion failures 2017-04-13 09:39:17 +02:00
Wes Kocher
8313b4a2ea Backed out changeset 0c7702e42f33 (bug 1354482) for windows xpcshell failures a=backout 2017-04-12 10:04:06 -07:00
Chris H-C
79504a7b9d bug 1353295 - Remove addonHistograms from Telemetry r=Dexter
addonHistograms isn't being used and has started getting in the way.
So it goes.

Leave the "Addon Histograms" section in about:telemetry for 60 days.
Remove it in bug 1355882

MozReview-Commit-ID: 4lm7ONirofl
2017-04-06 15:31:58 -04:00
Alessio Placitelli
5cac0296b4 Bug 1354482 - Turn on sending the "shutdown" ping using the pingsender from the second Firefox session. r=chutten,gfritzsche
MozReview-Commit-ID: IEYfziF86mF
2017-04-10 12:51:45 +02:00
Alessio Placitelli
fcc1e2b7b8 Bug 1352496 - Enable sending other child processes crash pings from the CrashManager. r=bsmedberg,ted
MozReview-Commit-ID: bG5iphe9Bc
2017-04-03 14:43:47 +02:00
Sebastian Hengst
69276fe58f merge mozilla-central to autoland. r=merge a=merge 2017-04-07 22:16:26 +02:00
Wes Kocher
5ae8393d54 Merge m-c to inbound a=merge 2017-04-06 15:30:43 -07:00
Chris H-C
1b37b5e4b6 bug 1339019 - Caution against recording Telemetry in hot paths. r=gfritzsche
Histograms, Scalars, and Events are cheap but not free. Expect performance
impacts if you use them in tight loops or hot paths.

MozReview-Commit-ID: 2nrdHXrbN9i
2017-04-06 14:07:02 -04:00
Georg Fritzsche
f98cf14ac2 Bug 1276201 - Migrate most recent updates from wiki page into in-tree histogram docs. r=chutten
- Make mxr links into dxr links.
- Fix link naming.
- Add artifact build warning.
2017-04-06 22:10:01 +07:00
nechen
a0ffdd2954 Bug 1329157 - Safely collect caller app information. r=frank,sebastian data-r?bsmedberg
MozReview-Commit-ID: 7oXYArRyWKY
2017-03-14 12:06:08 +08:00
Chris H-C
b079c34722 bug 1339026 - Affirm that Data Collection Review is required for Scalars and Events, too. r=gfritzsche
Previously we only called it out for Histograms.

Oh, and while we're here, also for Custom Pings.

MozReview-Commit-ID: Jh7wxRjQcuQ
2017-04-05 15:52:04 -04:00
Alisha
7fd23886d5 Bug 1346200 - Remove B2G code branches from Telemetry JS modules. r=chutten 2017-03-31 17:55:00 -04:00
Georg Fritzsche
d3f8bee9cf Bug 1349324 - Use hourly precision for sessionStartDate & subsessionStartDate. r=dexter 2017-04-05 00:38:10 +07:00
Alessio Placitelli
3f5b2c4054 Bug 1345108 - Reduce resolution for timestamp in crashreporter's crash pings. r=ted
MozReview-Commit-ID: 5BA51mWlkqW
2017-04-03 17:38:29 +02:00
Alessio Placitelli
d0dc520ab5 Bug 1336360 - Use the PingSender for sending pings when the browser shuts down. r=chutten,gsvelto
MozReview-Commit-ID: 6bNQs87UQ9m
2017-02-23 14:58:02 +01:00
Gabriele Svelto
ad6e2212ea Bug 1345153 - When the pingsender fails to send a ping, persist it to disk so that it can be sent later via regular telemetry; r=chutten,ted
Currently we hand over a crash ping to the pingsender via a pipe; if the
pingsender fails to send the ping we rely on the CrashManager assembling and
sending one instead. Since the crashmanager is not aware of whether the ping
was sent or not this causes duplication on the server side. To solve this
problem we save the ping to disk instead, read it from the pingsender and
delete the file only if the ping was sent. In this scenario the CrashManager
will know that a ping was already sent and will not send a new one.

This patch removes all the code used to deal with pipes between the telemetry,
crashreporter and pingsender code and also tries to cut down the amount of
platform-specific code we have in this machinery.

MozReview-Commit-ID: ASm2jnDagCK
2017-03-27 12:38:39 +02:00
Alessio Placitelli
164ad11c3e Bug 1333128 - Make the pingsender compress the outgoing ping with gzip. r=chutten,gsvelto
This also adds a 'Date' header and a custom version header for the pingsender.
It additionally makes sure that the Windows implementation fails when HTTP error
codes are returned from the server.

MozReview-Commit-ID: 4IekLyI2AnQ
2017-03-23 15:02:35 +01:00
Federico Padua
d28d150c61 Bug 1337022 - Fix the regex in the Telemetry event parser. r=Dexter
This patch fixes the regex defined by IDENTIFIER_PATTERN in
toolkit/components/telemetry/parse_events.py to be less strict and fixes the
relative documentation.
To be precise, before this fix, the regex did not allow the category "ui" (which is described
in the documentation at the webpage
https://gecko.readthedocs.io/en/latest/toolkit/components/telemetry/telemetry/collection/events.html)
to be matched so the documentation was wrong.
The reason for that was that the regex required at least one extra character or
number to be in the string, so for example "uig" would have matched.
With this fix the category "ui" is allowed and matched by the new regex and the documentaion
(https://gecko.readthedocs.io/en/latest/toolkit/components/telemetry/telemetry/collection/events.html#limits)
is updated to reflect the change.

MozReview-Commit-ID: ID2aKOM1v7
2017-03-17 11:59:17 +01:00
Mike Conley
bb70ffc839 Bug 1340842 - Add argument to TelemetryStopwatch that allows us to suppress warnings when finishing previously canceled stopwatches. r=Dexter
MozReview-Commit-ID: Ck340qvxdZp
2017-03-17 11:21:40 -04:00
Alessio Placitelli
22d6ad54e5 Bug 1348748 - Implement telemetry experiment annotations to TelemetryEnvironment.jsm. r=gfritzsche
MozReview-Commit-ID: KCb8MrWh4Rt
2017-03-20 10:54:46 +01:00
Carsten "Tomcat" Book
5582db457e Backed out changeset 6a68273665f6 (bug 1340842) for test failures in browser_bookmark_all_tabs.js 2017-03-22 16:40:47 +01:00
Carsten "Tomcat" Book
e3f67c6118 Merge mozilla-central to autoland 2017-03-22 16:11:34 +01:00
Mike Conley
3357f1f435 Bug 1340842 - Add argument to TelemetryStopwatch that allows us to suppress warnings when finishing previously canceled stopwatches. r=Dexter
MozReview-Commit-ID: Ck340qvxdZp
2017-03-17 11:21:40 -04:00
Gabriele Svelto
30d88a559a Bug 1322611 - After a crash compute the SHA256 hash of a minidump and attach it to the crash ping; r=Ted, nchen
This patch changes the crashreporter client code as well as the crash service
code to compute a SHA256 hash of a crash' minidump file and add it to the
crash ping. The crash service code computes the hash on the fly before handing
over the crash to the crash manager; the crash manager will then add it to the
crash ping. The crashreporter client on the other hand sends the hash via the
ping it generates but it also adds it to the event file so that the crash
manager can pick it up and send it along with its own crash ping. On Fennec
the crashreporter activity takes care of computing the hash.

SHA256 hash computation uses nsICryptoHash in the crash service, the
java.security.MessageDigest class in Fennec, the bundled NSS library in the
crashreporter when running on Windows and Mac and the system-provided NSS
library under Linux. The latter is required because the crashreporter client
uses the system curl library which is linked to NSS and which would thus clash
with the bundled one if used together.

This patch introduces two new methods for the nsICrashService interface:
|getMinidumpForID()| and |getExtraFileForID()|, these reliably retrieve the
.dmp and .extra files associated with a crash and ensure the files exist
before returning. These new methods are used in the CrashService for
processing and will become the only way to reliably retrieve those files
from a crash ID.

MozReview-Commit-ID: 8BKvqj6URcO
2017-02-16 07:36:57 +01:00
djmdev
5e74028e3a Bug 1346714 - Consolidated session change throttling intervals. r=gfritzsche
Used MIN_SUBSESSION_LENGTH_MS in both places.
2017-03-15 21:09:15 +05:30
nechen
cca24cfa64 Bug 1036764 - Add telemetry for flash. r=bsmedberg,snorp data-r?bsmedberg
MozReview-Commit-ID: 1tsNZlEmx6s
2017-03-14 14:12:26 +08:00
Kate Uistiuzhanina
0460a89753 Bug 1252066 - Make UIMeasurements explicitly Android-only; r=gfritzsche
MozReview-Commit-ID: DIWOsNsaM4A
2017-03-08 22:40:19 +03:00
Carsten "Tomcat" Book
708777dd78 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
Chris H-C
80d9deaf2e bug 1338627 - Add crashTime to crash pings data-review=bsmedberg r=gsvelto
crashDate having only per-day resolution was making client delay analysis
rather inaccurate.

crashTime is an ISO8601 string with per-hour resolution which should smooth
things over on the analysis side.

If per-hour is still too coarse, the use of an ISO string allows us to adapt
later to increasing the resolution, if it passes data review. The underlying
crash timestamp has per-second resolution.

MozReview-Commit-ID: 2hwJHSi8Xje
2017-02-16 13:13:38 -05:00
Georg Fritzsche
0a51742afe Bug 1313326 - Part 6 - Update event documentation. r=dexter 2017-03-06 16:12:56 +01:00
Sebastian Hengst
c02f1998bb Backed out changeset e2395b3b1e16 (bug 1313326) 2017-03-01 19:47:00 +01:00
Georg Fritzsche
33985c381b Bug 1313326 - Part 6: Update event documentation. r=dexter 2017-02-28 13:39:06 +01:00
Mike Conley
b1aa5bb8f0 Bug 1312883 - Document the nativeStack property on the threadHangStats object. r=gfritzsche
MozReview-Commit-ID: HWGCVnBuhYi
2017-02-16 13:49:12 -05:00
Sebastian Hengst
779a8a89cc Backed out changeset 5c3ba01ac170 (bug 1312883) 2017-02-24 14:25:10 +01:00
Mike Conley
0b3f5db733 Bug 1312883 - Document the nativeStack property on the threadHangStats object. r=gfritzsche
MozReview-Commit-ID: HWGCVnBuhYi
2017-02-16 13:49:12 -05:00
Alessio Placitelli
9cf522342c Backed out changeset 3bb2c974b5dc due to Browser Console spamming (bug 1334469) 2017-02-23 18:23:50 +01:00
Sam Foster
b45903ded2 Bug 1341793 - Fix 'recieve' typo in doccs. r=jdm
MozReview-Commit-ID: 6sC3ILhC297
2017-02-22 13:06:47 -08:00
Carsten "Tomcat" Book
7db36cdbb8 merge mozilla-inbound to mozilla-central a=merge 2017-02-22 14:33:38 +01:00
Alessio Placitelli
50767397f0 Bug 1334469 - Make sure Keyed Histogram APIs don't allow empty keys. r=gfritzsche
iff --git a/toolkit/components/telemetry/docs/collection/histograms.rst b/toolkit/components/telemetry/docs/collection/histograms.rst

MozReview-Commit-ID: EkiP42ZVpqz
2017-02-21 06:03:00 +01:00
Alessio Placitelli
8375aafd5c Bug 1329099 - Document CSS Use Counters mechanism. r=froydnj,gfritzsche
MozReview-Commit-ID: GpaqYZP76Oc
2017-02-15 18:54:44 +01:00
Marco Castelluccio
04e83173db Bug 1341023 - Take module name encoding into account for late writes and hangs. r=Dexter 2017-02-21 22:44:42 +00:00
Marco Castelluccio
2f3e68079b Bug 1330833 - Add the new "modules" (DLLs) ping type. r=Dexter,mstange,jorendorff, data-review=bsmedberg 2017-02-18 14:17:30 +00:00