Commit graph

266 commits

Author SHA1 Message Date
Nevin Chen
95338eca6d Bug 1334113 - Update the document to reflect 'searches' field in core ping. r=bsmedberg,jchen,sebastian
MozReview-Commit-ID: 2p68ixYOiVH

--HG--
extra : rebase_source : 241cb9ec665da3ba314ab5483f29e78d447fa8cd
2017-04-20 15:00:06 +08:00
Mathieu Leplatre
7d9c066f35 Bug 1254099 - Add Telemetry to settings update r=bsmedberg,glasserc,mgoodwin,rhelmer
MozReview-Commit-ID: 8vAuTImx7IH

--HG--
extra : rebase_source : 15995e30bd1fdb697eb2374a0c28c68e0828e1e6
2017-03-22 11:27:17 +01:00
Gabriele Svelto
e3b7a2cb05 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

--HG--
extra : rebase_source : 9729399a1e1c45cf1646498379d68684985134ce
2017-06-05 14:50:44 +02:00
Gabriele Svelto
43c10532d4 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

--HG--
extra : rebase_source : 8d03f7e166b5762a5ce7cab13c2101302b4f1d2f
2017-06-01 11:16:11 +02:00
Alex Gaynor
72607ee000 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

--HG--
extra : rebase_source : 3890c6ebff512c94ee51539048cbb9ebd9aef360
2017-05-12 17:05:53 -04:00
Alex Gaynor
d27dc0ba0b 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

--HG--
extra : rebase_source : cd5a853c46a5cd334504b339bef8df30a3cabe51
2017-05-12 17:04:42 -04:00
Sebastian Hengst
fd03aa5bc8 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
9b2d60a711 Backed out changeset 852ffb5b89bf (bug 1358223) 2017-05-31 21:33:33 +02:00
Alex Gaynor
2d122f876c 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

--HG--
extra : rebase_source : 5574cae461d0bcab8ac058c032e76436318e5b0e
2017-05-12 17:05:53 -04:00
Alex Gaynor
39f34ea898 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

--HG--
extra : rebase_source : 1a26ffc5b9f80e6df4c37c23f506e907ba44053a
2017-05-12 17:04:42 -04:00
tiago
1d90b5d303 Bug 1367849 - Put 'processType' under 'payload' in Crash Ping Docs. r=chutten
MozReview-Commit-ID: 4D4AIouuyP2

--HG--
extra : rebase_source : c735733bfdb59ac0538189f536e30017ba308182
2017-05-26 22:16:50 -03:00
Edouard Oger
99947c9c38 Bug 1353307 - Add main process start time to sync ping. r=gfritzsche,markh
MozReview-Commit-ID: DbSZUmO0tuf

--HG--
extra : rebase_source : e13afbd5829b86b7bee5c82a7a1ff09263e9dc3f
2017-05-16 17:43:49 -04:00
Gerald Squelart
88991ce560 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

--HG--
extra : rebase_source : b3fa7ffca2b3ed928b1bcd17b4396a8b307bc38e
2017-05-23 15:41:34 +12:00
Chris H-C
0f37025fc8 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
590b8f81b4 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
11d4740f39 Bug 1363345 - Don't use the pingsender when the OS is shutting down. r=bsmedberg,gfritzsche,data-review=bsmedberg
MozReview-Commit-ID: 9d8paU8M1T7

--HG--
extra : rebase_source : 82d6eca15be79b41eea5e72b93b49c7efc7d5366
2017-05-12 12:23:07 +02:00
Sebastian Hengst
63a7ff4ecb 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
da404d8f61 Bug 1363345 - Don't use the pingsender when the OS is shutting down. r=bsmedberg,gfritzsche,data-review=bsmedberg
MozReview-Commit-ID: 9d8paU8M1T7

--HG--
extra : rebase_source : e17782aa51391dcb9e8598dafbc294c758d30f0c
2017-05-12 12:23:07 +02:00
Alessio Placitelli
a600a9b1d4 Bug 1364478 - Add edge case documentation for the 'new-profile' ping. r=gfritzsche,madalin.cotetiu+500525
MozReview-Commit-ID: 2sJuJuLELf2

--HG--
extra : rebase_source : bf8232d39c6c3aa759cf7df89fdc1aad8948262a
2017-05-16 09:37:12 +02:00
Nevin Chen
efb455b72d Bug 1334110 - Add campaignId in core-ping document. r=bsmedberg,frank,sebastian
MozReview-Commit-ID: BPbw0uc9wr7

--HG--
extra : rebase_source : cf7d803dc758e036628c4b33d827a08d1c45eff5
2017-04-07 15:25:13 +08:00
Alessio Placitelli
5495d41e27 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

--HG--
extra : rebase_source : d32e93ac63a2f0c23a3d0690eca4a1e83f57c3e3
2017-04-27 09:36:01 +02:00
Chris H-C
aa6cfa4b65 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

--HG--
extra : rebase_source : 8ed93a90955c665f048d215769c4ef286f45bf0e
2017-04-24 16:17:34 -04:00
Wes Kocher
a763252e27 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
7ad5497959 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

--HG--
extra : rebase_source : 58fd8cd7af623e1b6de9831af2cf66e6880dba7c
2017-04-24 16:17:34 -04:00
Franziskus Kiefer
647c94e8af Bug 1359335 - collect telemetry on aes-ni support, r=gfritzsche
MozReview-Commit-ID: 23YbAcCls1H

--HG--
extra : rebase_source : e70869f3cb88052cb756649e4581f6690363acfe
2017-03-31 19:03:03 +02:00
Georg Fritzsche
9b7924d846 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
9441f885dd 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

--HG--
extra : rebase_source : 04fae88fe619bb635b20f84549698348481825ea
2017-04-26 13:35:00 -04:00
Chris H-C
cc69375ea9 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

--HG--
extra : rebase_source : 2a3d12398e939965cc4bfebd3392dc7340691185
2017-04-06 15:10:15 -04:00
Andrew Swan
76ffbaccea Bug 1358620 Add telemetry for non-MPC extensions r=bsmedberg
MozReview-Commit-ID: 5LwLr4wXmHq

--HG--
extra : rebase_source : bf7cd4e1cc6a54b9251630d079816f8d362806a4
2017-04-24 11:30:51 -07:00
James Willcox
bbde9021e6 Bug 1358155 - Bump core ping version and docs r=frank
MozReview-Commit-ID: 1h417verpc2

--HG--
extra : rebase_source : 293cbbf4c01c5535579ab5d3862a01ef4de50234
2017-04-20 09:43:51 -05:00
Robert Helmer
76bfe5880a Bug 1357460 - add isWebExtension to Telemetry Environment collection docs r=bsmedberg
MozReview-Commit-ID: 36QAFhKlKfh

--HG--
extra : rebase_source : 51c0096067a75f4ec364d30e29a27483311ce7c5
2017-04-18 10:00:02 -07:00
Thom Chiovoloni
0bb64306d4 Bug 1346175 - Record AsyncResource.serverTime in sync telemetry events. r=bsmedberg,markh
MozReview-Commit-ID: DG43B9zEHaO

--HG--
extra : rebase_source : 9b16fe1dff50574036fb2e10224d8056fe415ecd
2017-04-04 13:51:16 -04:00
Dão Gottwald
018f2a4a4e 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

--HG--
extra : rebase_source : 33650428b3e416c9fd78ccbcfca6f9e82d2824ef
2017-04-19 17:25:34 +02:00
Chris H-C
10f2153e6e 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

--HG--
extra : rebase_source : 39be18e5e31f930087111971e0b3d41c46fdc801
2017-04-06 15:31:58 -04:00
Alessio Placitelli
8777bef350 Bug 1354482 - Turn on sending the "shutdown" ping using the pingsender from the second Firefox session. r=chutten,gfritzsche
MozReview-Commit-ID: IEYfziF86mF

--HG--
extra : rebase_source : c2ef1c47799f79289d2bff2a5bc6d4ad26539fc5
2017-04-10 12:51:45 +02:00
Alessio Placitelli
5fd4fee894 Bug 1349629 - Create in-tree docs for the telemetry experiment annotation API. r=chutten
MozReview-Commit-ID: ACNuqpklCp6

--HG--
extra : rebase_source : a3cba47dfd3e34c7462fb8ba23c60a43680888f3
2017-04-12 18:04:16 +02:00
Carsten "Tomcat" Book
4086ebff62 Backed out changeset cfe47bace342 (bug 1353295) for assertion failures 2017-04-13 09:39:17 +02:00
Wes Kocher
ac86494218 Backed out changeset 0c7702e42f33 (bug 1354482) for windows xpcshell failures a=backout
--HG--
extra : rebase_source : dc077d9c74ead2a19f41fda2fe42f6c8c34ac64e
2017-04-12 10:04:06 -07:00
Chris H-C
78efc51373 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

--HG--
extra : rebase_source : 39be18e5e31f930087111971e0b3d41c46fdc801
2017-04-06 15:31:58 -04:00
Alessio Placitelli
0cd6586ff3 Bug 1354482 - Turn on sending the "shutdown" ping using the pingsender from the second Firefox session. r=chutten,gfritzsche
MozReview-Commit-ID: IEYfziF86mF

--HG--
extra : rebase_source : aa1190d5ea52c1e212814ba1a4d4f2b0add55c02
2017-04-10 12:51:45 +02:00
Alessio Placitelli
013042b1a7 Bug 1352496 - Enable sending other child processes crash pings from the CrashManager. r=bsmedberg,ted
MozReview-Commit-ID: bG5iphe9Bc

--HG--
extra : rebase_source : 78867b4924984443debbe0dbb7938784c403fdb0
2017-04-03 14:43:47 +02:00
Sebastian Hengst
548852b3a4 merge mozilla-central to autoland. r=merge a=merge 2017-04-07 22:16:26 +02:00
Wes Kocher
7da1f4c235 Merge m-c to inbound a=merge 2017-04-06 15:30:43 -07:00
Chris H-C
3dcedc23a4 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

--HG--
extra : rebase_source : fa2a7f81ac00218898fc1b6e0c77a3de23ab3f88
2017-04-06 14:07:02 -04:00
Georg Fritzsche
736b841e35 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.

--HG--
extra : rebase_source : 27743f1ac81799ec879d580d09d0a064dc718709
2017-04-06 22:10:01 +07:00
nechen
e470b697ec Bug 1329157 - Safely collect caller app information. r=frank,sebastian data-r?bsmedberg
MozReview-Commit-ID: 7oXYArRyWKY

--HG--
extra : rebase_source : 61697025808692eab1a2f78fda8d552e525ffe8c
2017-03-14 12:06:08 +08:00
Chris H-C
a398794abb 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

--HG--
extra : rebase_source : 1e2015e40ba1733613bf22839c5949c425d8bc46
2017-04-05 15:52:04 -04:00
Alisha
f7de1de382 Bug 1346200 - Remove B2G code branches from Telemetry JS modules. r=chutten
--HG--
extra : rebase_source : 4b254a3a05eaa6b7fc3b6c867c90309a3a9911eb
2017-03-31 17:55:00 -04:00
Georg Fritzsche
8cdc67caf2 Bug 1349324 - Use hourly precision for sessionStartDate & subsessionStartDate. r=dexter 2017-04-05 00:38:10 +07:00
Alessio Placitelli
4e92f9f3b5 Bug 1345108 - Reduce resolution for timestamp in crashreporter's crash pings. r=ted
MozReview-Commit-ID: 5BA51mWlkqW

--HG--
extra : rebase_source : 0f403dfac76f0a14567f8bad27263a5f3e06be82
2017-04-03 17:38:29 +02:00