Commit Graph

55 Commits

Author SHA1 Message Date
Jan-Erik Rediger
8e0e45a170 Bug 1539166 - Trigger periodic prio ping once a day r=chutten
Depends on D26152

Differential Revision: https://phabricator.services.mozilla.com/D26153
2019-04-05 16:17:06 +00:00
Chris H-C
e733eebd62 Bug 1538276 - Implement the "prio" ping. r=janerik
The "prio" ping contains Origin Telemetry and not much else.

It is enabled only on Firefox Nightly for now.

Differential Revision: https://phabricator.services.mozilla.com/D24781
2019-03-27 19:29:48 +00:00
Jan-Erik Rediger
c17d6f0ba8 Bug 1529232 - Implement pre-account ping r=chutten,gfritzsche,markh
It's missing some details and is disabled by default (gated by the
`toolkit.telemetry.ecosystemping.enabled` preference)

Differential Revision: https://phabricator.services.mozilla.com/D21521
2019-03-25 12:58:16 +00:00
Andreea Pavel
5770a5f2de Backed out 3 changesets (bug 1529232) for failing xpcshell at test_EcosystemTelemetry.js on a CLOSED TREE
Backed out changeset 1a0669e032ff (bug 1529232)
Backed out changeset 3c600bf98e37 (bug 1529232)
Backed out changeset 9c9c6c36db7b (bug 1529232)
2019-03-25 05:59:37 +02:00
Jan-Erik Rediger
7da0b19358 Bug 1529232 - Implement pre-account ping r=chutten,gfritzsche,markh
It's missing some details and is disabled by default (gated by the
`toolkit.telemetry.ecosystemping.enabled` preference)

Differential Revision: https://phabricator.services.mozilla.com/D21521
2019-03-24 17:24:05 +00:00
arthur.iakab
4e70d00439 Backed out 3 changesets (bug 1529232) for xpcshell failures on test_TelemetryController.js CLOSED TREE
Backed out changeset f2935b75f9dc (bug 1529232)
Backed out changeset 8ca8be52ca57 (bug 1529232)
Backed out changeset ed20a4120896 (bug 1529232)
2019-03-22 22:26:23 +02:00
Jan-Erik Rediger
c3b360dc3e Bug 1529232 - Implement pre-account ping r=chutten,gfritzsche,markh
It's missing some details and is disabled by default (gated by the
`toolkit.telemetry.ecosystemping.enabled` preference)

Differential Revision: https://phabricator.services.mozilla.com/D21521
2019-03-21 22:29:44 +00:00
Chris H-C
e030bd84ee Bug 1522853 - Document that Telemetry prefers non-String APIs where possible. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D18862
2019-02-07 07:46:22 +00:00
Jan-Erik Rediger
6b4191b093 Bug 1524502 - Add template and instructions on how to file a mentored bug r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D18547
2019-02-04 15:36:48 +00:00
Raphael Pierzina
b9b9e03533 Bug 1522045 - Update Telemetry preferences documentation for ping server; r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D17656
2019-01-28 08:50:04 +00:00
Georg Fritzsche
87086a86b3 Bug 1515973 - Add Telemetry review guidelines to in-tree docs. r=chutten 2019-01-22 14:20:56 +01:00
Jan-Erik Rediger
3ceb6126de Bug 1505991 - Add new preference to disable ping throttling r=Dexter
Marionette tests have a hard time properly overwriting the module's
Policies that handle this in xpcshell tests currently.

A preference on the other hand can be easily set from the outside, is
persistent across restarts of the test instance and easily checked.

Differential Revision: https://phabricator.services.mozilla.com/D14458
2018-12-13 17:26:41 +00:00
Carl Corcoran
3521d45716 Bug 1435827 part 8/9: Adding untrusted modules telemetry ping and documentation r=janerik
This code adds the actual registration and sending of the untrusted modules
telemetry ping, finishing the basic feature.

Differential Revision: https://phabricator.services.mozilla.com/D6244
2018-11-02 07:40:50 +00:00
Chris H-C
c6bde30248 bug 1500066 - Control the Telemetry IPC batch timeout by pref r=Dexter
This allows tests to cut the time between accumulations being made in child
processes and them showing up in snapshots in the parent process.
For instance, setting it to 10ms instead of 2000ms takes test_ChildEvents.js
from 12s down to 10s on my local dev machine.

This patch also sets the default during telemetry xpcshell tests to 10ms.

Differential Revision: https://phabricator.services.mozilla.com/D9712
2018-10-30 18:04:36 +00:00
Thi Huynh
f42641a9c9 Bug 1458125 - Document the valid log levels for toolkit.telemetry.log.level r=chutten
MozReview-Commit-ID: GpScw6r7heY

Differential Revision: https://phabricator.services.mozilla.com/D3162
2018-08-14 12:47:16 +00:00
Christian Holler
08b96099f2 Bug 1471647 - Add a pref to override the Telemetry update channel. r=Dexter
MozReview-Commit-ID: 4pRYWT8R8bB
2018-06-28 15:05:11 +02:00
Chris H-C
31f2359a9a bug 1463439 - Add a pref to enable 'event' ping. Defaults to true, except for GV. r=Dexter
When it's false we also disable collecting events completely, in case the
reason we're disabling it is due to storage issues.

GeckoView doesn't presently support Events, so the 'event' ping is disabled by
default for that platform.

MozReview-Commit-ID: 9eKAtRiuER0
2018-05-29 12:24:02 -04:00
Chris H-C
c2e941221a bug 1460595 - Document the event ping r=Dexter,janerik
MozReview-Commit-ID: ES8jW1xOQUd
2018-05-10 13:30:11 -04:00
Jan-Erik Rediger
df18a22db1 Bug 1454606 - Document scalar semantics during persistence deserialization. r=Dexter
MozReview-Commit-ID: 4EHl1atJwea
2018-05-29 12:53:53 +02:00
Gurzau Raul
968f272529 Backed out 3 changesets (bug 1454606) for assert failure on /build/src/obj-firefox/dist/include/js/Value.h
Backed out changeset bac711e0ab42 (bug 1454606)
Backed out changeset 1df93e12f6ec (bug 1454606)
Backed out changeset b126c9d96aaf (bug 1454606)
2018-05-30 17:45:01 +03:00
Jan-Erik Rediger
ecc19e46a7 Bug 1454606 - Document scalar semantics during persistence deserialization. r=Dexter
MozReview-Commit-ID: 4EHl1atJwea
2018-05-29 12:53:53 +02:00
Gurzau Raul
1d481dba50 Backed out 3 changesets (bug 1454606) for bustage on /toolkit/components/telemetry/TelemetryScalar.cpp on a CLOSED TREE
Backed out changeset 6be2c9f129c9 (bug 1454606)
Backed out changeset 114fd49040b6 (bug 1454606)
Backed out changeset 2889aa95e455 (bug 1454606)
2018-05-30 13:55:37 +03:00
Jan-Erik Rediger
778b5b2a1f Bug 1454606 - Document scalar semantics during persistence deserialization. r=Dexter
MozReview-Commit-ID: 4EHl1atJwea
2018-05-29 12:53:53 +02:00
Alessio Placitelli
c21716182e Bug 1459143 - Add basic documentation for GeckoView. r=chutten,gfritzsche,janerik
MozReview-Commit-ID: Lhx5dqQGZEs
2018-05-18 11:40:04 +02:00
Chris H-C
7f34d84825 bug 1451814 - Document Event Summarization in the Event Documentation r=Dexter
MozReview-Commit-ID: HbUghNQnFPo
2018-04-13 14:20:36 -04:00
Dão Gottwald
f5c05ef4cb Bug 1352497 - Remove about:healthreport. r=gfritzsche,nechen
MozReview-Commit-ID: 4FQ5aL2XrU5
2017-11-28 11:38:15 +01:00
Cosmin Sabou
8fea5b9512 Backed out changeset be86ccde4f4a (bug 1352497) for bc failures on Windows 7 debug with e10s at docshell/test/browser/browser_bug1309900_crossProcessHistoryNavigation.js r=backout a=backout 2017-11-26 01:36:44 +02:00
Dão Gottwald
b0974e6bab Bug 1352497 - Remove about:healthreport. r=gfritzsche,nechen
MozReview-Commit-ID: 8aPg9oDFIlu
2017-11-22 13:51:08 +01:00
Alessio Placitelli
6f7a5cde09 Bug 1400852 - Fix various warnings when building Telemetry in-tree docs. r=chutten
MozReview-Commit-ID: EksxR3Xwrc5
2017-11-15 10:20:04 +01:00
Chris H-C
781513edeb bug 1406394 - Update Telemetry docs for preference changes r=Dexter
MozReview-Commit-ID: D5Qw2Reuc5o
2017-11-09 09:38:24 -05:00
Chris H-C
8f2cbcd8e0 bug 1406394 - Small correctness/readability fixes in Telemetry docs r=Dexter
MozReview-Commit-ID: BXu9oXqVgKQ
2017-11-09 09:37:54 -05:00
Chris H-C
0c91bf7d11 bug 1412312 - Document mozconfig defines in in-tree docs r=Dexter
Put them in internals/Preferences since it is definitely an internal, and they
have complex interactions with preferences.

Not seen here: updates to Preferences for the recent changes. That's covered in
bug 1406394

MozReview-Commit-ID: 7X0d4ZmHbLw
2017-11-09 17:36:59 -05:00
Alessio Placitelli
100390f189 Bug 1406392 - Make nsITelemetry.canRecordExtended true on pre release channels. r=chutten
MozReview-Commit-ID: 2FR5dekXbeV
2017-10-16 12:28:38 +02:00
Francesco Lodolo (:flod)
1dfe31be21 Bug 1399924 - Fix typos, update feedback instructions in Telemetry documentation r=chutten
MozReview-Commit-ID: 2tPzt0ESvEF
2017-09-14 20:05:57 +02:00
Anthony Miyaguchi
27fa9d8684 Bug 1390095 - Send a duplicate of a users first shutdown ping with pingsender. r=Dexter 2017-09-05 17:49:45 -07:00
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
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
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
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
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
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
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
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
Wes Kocher
3f83b41f7e Backed out 2 changesets (bug 1330833) for windows 64 xpcshell failures a=backout
Backed out changeset 466565fa382a (bug 1330833)
Backed out changeset 927194e7769d (bug 1330833)

MozReview-Commit-ID: GB4KsH29xYC
2017-02-16 17:20:54 -08:00
Marco Castelluccio
a7e3f95164 Bug 1330833 - Add the new "modules" (DLLs) ping type. r=Dexter,mstange,jorendorff, data-review=bsmedberg 2017-02-16 17:09:32 +00:00