Commit Graph

286 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
3dfe1c867a merge mozilla-central to autoland 2017-07-27 11:38:15 +02:00
Alessio Placitelli
e28100a98c Bug 1120372 - Introduce the "update" ping. r=bsmedberg,gfritzsche,mhowell
This ping will be sent as soon as an update is ready to be applied, after
it's downloaded. This is currently enabled but protected behind the
'toolkit.telemetry.updatePing.enabled' preference.

MozReview-Commit-ID: 4TuM0e5MzBl
2017-07-12 12:12:18 +02:00
Kate Ustiuzhanina
6158b13314 Bug 1318297 - Add docs. r=liuche 2017-07-24 13:10:25 +01:00
Kate Ustiuzhanina
3af03ea956 Bug 1318297 - Support initial implementation for Health ping. r=gfritzsche
Health ping is supposed to be a small ping for monitoring failures.
Current implementation tracks discarded for size and
send failures.
2017-07-25 16:19:31 +01:00
Alessio Placitelli
0a2700b5f6 Bug 1381490 - Enable sending the shutdown ping with the pingsender on the first session. r=gfritzsche
This will land behind a preference, initially turned off, with the possibility to easily enable it.

MozReview-Commit-ID: InND8Pv35I1
2017-07-26 05:55:00 +02:00
Carsten "Tomcat" Book
5089ce5b5c Backed out changeset 2ceb8a5a3e40 (bug 1318297) for xpcshell failures in test_TelemetryHealthPing.js 2017-07-24 16:16:40 +02:00
Carsten "Tomcat" Book
c880317102 Backed out changeset 882a43e7e21a (bug 1318297) 2017-07-24 16:16:22 +02:00
Kate Ustiuzhanina
44ffb53b2b Bug 1318297 - Add docs for Health ping. r=liuche 2017-07-24 13:10:25 +01:00
Kate Ustiuzhanina
17ad6746e6 Bug 1318297 - Support initial implementation for Health ping. r=gfritzsche
Health ping is supposed to be a small ping for monitoring failures.
Current implementation tracks discarded for size and
send failures.
2017-07-13 13:39:09 +01:00
Andrew Swan
8438182e63 Bug 1358907 Part 3 Avoid reading XPI database at startup r=Dexter,kmag
Switch telemetry and experiments from AddonManager.getAddonsByTypes()
to AddonManager.getActiveAddons() which gives us less detailed information
in the environment during startup but also means we don't need to load the
extensions database until startup is complete.

MozReview-Commit-ID: 4SxdPHSPovB
2017-05-18 13:08:58 -07:00
Alessio Placitelli
1624f75c6c Bug 1378345 - Fix a typo in experiments.rst. r=chutten
MozReview-Commit-ID: Aqsr1gc1Yvh
2017-07-05 15:04:10 +02:00
Wes Kocher
e3b0ffb8d2 Backed out 3 changesets (bug 1358907) for devtools failures in leakcheck a=backout
Backed out changeset 529eccc2bc69 (bug 1358907)
Backed out changeset 5368cc2c4f38 (bug 1358907)
Backed out changeset d112bc46842f (bug 1358907)

MozReview-Commit-ID: D2oHpM7GgrW
2017-07-03 14:43:57 -07:00
Andrew Swan
71ec676492 Bug 1358907 Part 3 Avoid reading XPI database at startup r=Dexter
Switch telemetry and experiments from AddonManager.getAddonsByTypes()
to AddonManager.getActiveAddons() which gives us less detailed information
in the environment during startup but also means we don't need to load the
extensions database until startup is complete.

MozReview-Commit-ID: 4SxdPHSPovB
2017-05-18 13:08:58 -07:00
Georg Fritzsche
5b44df997a Bug 1376599 - Allow annotating experiments with a type. r=Dexter 2017-06-28 17:18:00 -04:00
Carsten "Tomcat" Book
911b7bbf48 merge mozilla-inbound to mozilla-central a=merge 2017-06-26 13:25:51 +02:00
David Anderson
af80b26651 Add Telemetry environment and failure tracking for Advanced Layers. (bug 1365879 part 23, r=milan, data_r=bsmedberg) 2017-06-23 14:23:13 -07:00
Mark Hammond
1e1b8f5032 Bug 1373093 - Add operating system information to the desktop Sync ping. r=tcsc
MozReview-Commit-ID: 9ypnosSawxu
2017-06-21 12:28:25 +10:00
Carsten "Tomcat" Book
c52aec4b9c Backed out changeset 35129e4e204b (bug 1365879) 2017-06-23 12:15:28 +02:00
David Anderson
57f2e6fe00 Add Telemetry environment and failure tracking for Advanced Layers. (bug 1365879 part 23, r=milan, data_r=bsmedberg) 2017-06-22 21:12:20 -07:00
Alessio Placitelli
394e909ce0 Bug 1367029 - Defer gathering isDefaultBrowser until session restore completes. r=gfritzsche
Gathering this data point takes up to 100ms on reference hardware and might impact
startup performance.

MozReview-Commit-ID: 32sd5uUF08N
2017-06-14 11:57:14 +02:00
Nevin Chen
d7a9df602b Bug 1334113 - Update the document to reflect 'searches' field in core ping. r=bsmedberg,jchen,sebastian
MozReview-Commit-ID: 2p68ixYOiVH
2017-04-20 15:00:06 +08:00
Mathieu Leplatre
889c29d556 Bug 1254099 - Add Telemetry to settings update r=bsmedberg,glasserc,mgoodwin,rhelmer
MozReview-Commit-ID: 8vAuTImx7IH
2017-03-22 11:27:17 +01:00
Gabriele Svelto
cd8bdfbe22 Bug 1370215 - Add the AsyncShutdownTimeout and ShutdownProgress annotations to the crash ping sent via the crashreporter client; r=ted
This also removes the TelemetrySessionId field from the whitelist because that
field is already manually stripped and moved into the ping's root node.
Putting it in the whitelist is redundant.

MozReview-Commit-ID: B3WAyCSHoyR
2017-06-05 14:50:44 +02:00
Gabriele Svelto
60a2e3b8e7 Bug 1353168 - Add a crash annotation to distinguish between web, file and extension content processes; r=bsmedberg
This adds the RemoteType annotation to a content crash report so that we can
distinguish between content processes that crashed while running remote, local
or extension code. The annotation is passed along the others to Socorro by the
crashreporter and is also whitelisted for inclusion in the crash ping.

MozReview-Commit-ID: 4avo0IWfMGf
2017-06-01 11:16:11 +02:00
Alex Gaynor
08169695a6 Bug 1358223 - Part 2 - In telemetry send the effective sandbox level instead of the raw value r=Dexter
This gives us the most actionable piece of information from the perspective of correlating between how the sandbox is configured and behavior we see.

MozReview-Commit-ID: EWWQrDHns1R
2017-05-12 17:05:53 -04:00
Alex Gaynor
b91281815d Bug 1358223 - Part 1 - On Windows and macOS hardcode the minimum content sandbox level at 1. r=bobowen,haik,jimm
If the "security.sandbox.content.level" preference is set to a value less than
1, all consumers will automatically treat it as if it were level 1. On Linux and
Nightly builds, setting the sandbox level to 0 is still allowed, for now.

MozReview-Commit-ID: 9QNTCkdbTfm
2017-05-12 17:04:42 -04:00
Sebastian Hengst
a36162b98a Backed out changeset 4e283b54baa6 (bug 1358223) for build bustage on Android at dom/ipc/ContentChild.cpp:21. r=backout 2017-05-31 21:34:13 +02:00
Sebastian Hengst
7d7f2a48bd Backed out changeset 852ffb5b89bf (bug 1358223) 2017-05-31 21:33:33 +02:00
Alex Gaynor
2263ed4ad1 Bug 1358223 - Part 2 - In telemetry send the effective sandbox level instead of the raw value r=Dexter
This gives us the most actionable piece of information from the perspective of correlating between how the sandbox is configured and behavior we see.

MozReview-Commit-ID: EWWQrDHns1R
2017-05-12 17:05:53 -04:00
Alex Gaynor
36c7469b36 Bug 1358223 - Part 1 - On Windows and macOS hardcode the minimum content sandbox level at 1. r=bobowen,haik,jimm
If the "security.sandbox.content.level" preference is set to a value less than
1, all consumers will automatically treat it as if it were level 1. On Linux and
Nightly builds, setting the sandbox level to 0 is still allowed, for now.

MozReview-Commit-ID: 9QNTCkdbTfm
2017-05-12 17:04:42 -04:00
tiago
bbe197a04d Bug 1367849 - Put 'processType' under 'payload' in Crash Ping Docs. r=chutten
MozReview-Commit-ID: 4D4AIouuyP2
2017-05-26 22:16:50 -03:00
Edouard Oger
d6c25bb39a Bug 1353307 - Add main process start time to sync ping. r=gfritzsche,markh
MozReview-Commit-ID: DbSZUmO0tuf
2017-05-16 17:43:49 -04:00
Gerald Squelart
6aac8cf7e1 Bug 1366943 - histograms.rst fix: 'enumerated' relies on 'n_values' instead of 'n_buckets' - r=gfritzsche
Also clarified that values start at `0`, and that `n_values` counts
everything >= n_values.

MozReview-Commit-ID: EQrqAySZmV3
2017-05-23 15:41:34 +12:00
Chris H-C
4e05065abf Bug 1319026 - Remove logging for failed Telemetry send requests. r=gfritzsche
We have the data we need.

MozReview-Commit-ID: 8L24RSiu7Xd
2017-05-19 09:05:00 -04:00
Michael Layzell
b9d964735a Bug 1363883 - Share memory maps between BHR native stacks, dr=bsmedberg, r=froydnj
MozReview-Commit-ID: IQ1fMXUD0ch
2017-05-23 13:41:52 -04:00
Alessio Placitelli
4de8c1c162 Bug 1363345 - Don't use the pingsender when the OS is shutting down. r=bsmedberg,gfritzsche,data-review=bsmedberg
MozReview-Commit-ID: 9d8paU8M1T7
2017-05-12 12:23:07 +02:00
Sebastian Hengst
c36f0caacd Backed out changeset 30179c555174 (bug 1363345) for eslint failing at test_TelemetrySession.js:1421. r=backout 2017-05-22 20:07:13 +02:00
Alessio Placitelli
fd57e647e7 Bug 1363345 - Don't use the pingsender when the OS is shutting down. r=bsmedberg,gfritzsche,data-review=bsmedberg
MozReview-Commit-ID: 9d8paU8M1T7
2017-05-12 12:23:07 +02:00
Alessio Placitelli
5f85363093 Bug 1364478 - Add edge case documentation for the 'new-profile' ping. r=gfritzsche,madalin.cotetiu+500525
MozReview-Commit-ID: 2sJuJuLELf2
2017-05-16 09:37:12 +02:00
Nevin Chen
0825e078d8 Bug 1334110 - Add campaignId in core-ping document. r=bsmedberg,frank,sebastian
MozReview-Commit-ID: BPbw0uc9wr7
2017-04-07 15:25:13 +08:00
Alessio Placitelli
6bc6b11ec3 Bug 1120370 - Implement the new-profile ping. r=bsmedberg,chutten, data-r=bsmedberg
It schedules the ping to be sent on new profiles after 30 minutes
from the Firefox startup. The ping is eventually sent at shutdown
if the scheduled time wasn't reached.
To reliably prevent sending the ping more than once, the "session-state.json"
file is used to keep track of the "sent" state.

The "new-profile" ping is protected behind a pref, disabled by default
in this patch.

MozReview-Commit-ID: 4g4lPRXe9q6
2017-04-27 09:36:01 +02:00
Chris H-C
4d31e851f4 bug 1335343 - Add initial record_in_processes support r=Dexter
The probes needing to record in gpu were determined by listing the probes that
submitted data for those measures on Nightly on April 18.

MozReview-Commit-ID: 85nQA8rCH1p
2017-04-24 16:17:34 -04:00
Wes Kocher
5ea81c79c7 Backed out changeset 69ddf4e384ab (bug 1335343) for lint failures a=backout
MozReview-Commit-ID: Gg0mdbON3gz
2017-05-10 10:29:46 -07:00
Chris H-C
454e1213af bug 1335343 - Add initial record_in_processes support r=Dexter
The probes needing to record in gpu were determined by listing the probes that
submitted data for those measures on Nightly on April 18.

MozReview-Commit-ID: 85nQA8rCH1p
2017-04-24 16:17:34 -04:00
Franziskus Kiefer
2e39fbd6ca Bug 1359335 - collect telemetry on aes-ni support, r=gfritzsche
MozReview-Commit-ID: 23YbAcCls1H
2017-03-31 19:03:03 +02:00
Georg Fritzsche
8ad2116989 Bug 1339195 - Clearly document event extra fields requiring string keys and values. r=Dexter 2017-05-09 14:49:46 +07:00
Chris H-C
d64c15b167 bug 1319026 - Put an arbitrary upper-limit on TelemetryLog r=gfritzsche
To protect against pathalogically-bad cases of log abuse, limit TelemetryLog
to the first 1000 entries.

MozReview-Commit-ID: yoTFVS1VdQ
2017-04-26 13:35:00 -04:00
Chris H-C
4b2149dbff bug 1319026 - Log failed Telemetry send requests. r=gfritzsche
Roughly one in three telemetry sends fail according to telemetry.mozilla.org.
Unfortunately, we have little idea about why.

This patch logs the failure paths in an effort to identify the worst offenders.

This is a temporary measure not meant to survive for long.
The data it gathers will be used to write appropriate longer-term error probes.

MozReview-Commit-ID: 9IMrLNH2AD
2017-04-06 15:10:15 -04:00
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