Commit Graph

67 Commits

Author SHA1 Message Date
Alejandro Rodriguez
e4e7fae200 Bug 1422849 - Drop support for full display versions in Histograms.json, Scalar.yaml and Events.yaml. r=chutten 2018-01-24 19:36:12 -05:00
Margareta Eliza Balazs
9a5ad6de55 Backed out changeset 2b3180f034b0 (bug 1422849) for f8 lint failure in /builds/worker/checkouts/gecko/toolkit/components/telemetry/parse_histograms.py:319:14 on a CLOSED TREE 2018-01-24 17:26:14 +02:00
Alejandro Rodriguez
f708c645d1 Bug 1422849 - Drop support for full display versions in Histograms.json, Scalar.yaml and Events.yaml r=chutten 2018-01-23 19:09:32 -05:00
Chris H-C
8233e0ee38 Revert "Bug 1363725 - Change inconsistent occurrence of 'all_child', 'all_childs' to 'all_children' and 'AllChilds' to 'AllChildren' in code and docs." r=Dexter
This reverts commit c238437964d1bfedd389ae72fd0da0f5f119211a.

It caused upstream processing headaches. We'll need to address those before
relanding.

MozReview-Commit-ID: Ae2d8iMPQuz
2018-01-12 10:37:02 -05:00
Hardik Tyagi
2499d0665f Bug 1363725 - Change inconsistent occurrence of 'all_child', 'all_childs' to 'all_children' and 'AllChilds' to 'AllChildren' in code and docs. r=chutten 2018-01-10 03:16:34 +05:30
Alessio Placitelli
c3db62d496 Bug 1417473 - Add the docs for hybrid content telemetry. r=chutten,gfritzsche
MozReview-Commit-ID: 2qEiZcNU7SB
2017-11-29 16:37:30 +01:00
Csoregi Natalia
7aedfa322e Backed out 3 changesets (bug 1417473) for failing browser_HybridContentTelemetry.js. r=backout on a CLOSED TREE
Backed out changeset 27db7bf978be (bug 1417473)
Backed out changeset a365a5a59ad1 (bug 1417473)
Backed out changeset 443747e39abe (bug 1417473)
2018-01-05 13:45:25 +02:00
Alessio Placitelli
7c21439afa Bug 1417473 - Add the docs for hybrid content telemetry. r=chutten,gfritzsche
MozReview-Commit-ID: 2qEiZcNU7SB
2017-11-29 16:37:30 +01:00
Ryan Leake
ad05c6de74 Bug 1278247 - Enforce consistent naming for Telemetry gen-* python scripts. r=Dexter
MozReview-Commit-ID: C5HM3Piy2QL
2017-11-22 12:09:33 +00:00
Alessio Placitelli
42ce129c3e Bug 1413270 - Document how to interpret use counter data. r=chutten
This patch adds a new section to the use counters Telemetry docs
that explains how one should think of the data gathered using them.

MozReview-Commit-ID: 5mYIYubWxaz
2017-11-21 14:28:55 +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
Alessio Placitelli
e05e0359d9 Bug 1400852 - Document the "expired" field for dynamic event registration. r=chutten
MozReview-Commit-ID: EvYptz0u8k9
2017-11-15 10:07:08 +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
Georg Fritzsche
44eb2bb7e2 Bug 1414638 - Remove expiry_date property for Telemetry events. r=dexter 2017-11-08 12:36:33 +01:00
Georg Fritzsche
2d741966e2 Bug 1408975 - Allow to register new addon events for an existing category. r=dexter 2017-11-08 12:36:33 +01:00
Alessio Placitelli
d9ee9ffc5f Bug 1409323 - Allow to register new addon scalars for an existing category. r=chutten
If we attempt to register again an old dynamic scalar, check if the new
definition makes it expired. If so, update the expiration state and propagate
the new "expired" scalar to the content proecesses.

MozReview-Commit-ID: A2LFN1irw4i
2017-10-17 16:00:12 +02:00
Alessio Placitelli
fdceb69955 Bug 1395835 - Rename "group" to "category" in the scalar code and docs. r=chutten
MozReview-Commit-ID: HQ3I2cfEaa
2017-09-27 10:12:13 +02:00
Alessio Placitelli
3a2f79e541 Bug 1401611 - Add label constrains to the histograms documentation. r=chutten
MozReview-Commit-ID: HKGg8ToaJhu
2017-09-25 15:21:03 +02:00
Alessio Placitelli
e24412e896 Bug 1393801 - Enable dynamic scalar registration. f=gfritzsche,r=billm,chutten
MozReview-Commit-ID: JlRk7hLV5QD
2017-08-29 13:05:40 +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
Alessio Placitelli
5329b408e3 Bug 1343855 - Part 2 - Add support for key whitelists in keyed histograms. r=gfritzsche, data-review=francois
MozReview-Commit-ID: H2pE3VivWIX
2017-05-17 04:10:00 +02:00
Aryeh Gregor
66970c3337 Bug 1391326 - Update docs for custom use counters; r=froydnj
Bug 1175033 added a new type of use counter, but didn't update the .rst
documentation.

MozReview-Commit-ID: BijO3FYG6VN
2017-08-17 20:45:41 +03:00
Georg Fritzsche
32ef5ba3ce Bug 1302681 - Part 3: Update documentation to cover dynamic events. r=dexter 2017-07-27 07:19:00 -04:00
Georg Fritzsche
9385f14125 Bug 1302681 - Part 1: Extend Event Telemetry core for recording from addons. r=dexter
To cut down on complexity, we don't require specifying any expiry versions.
Given that these events will be recorded non-persistently from off-train add-ons, they can be expired by shipping new add-on releases.

We also start to use the new "record on release" terminology here instead of opt-in/opt-out, but are not changing the internal functionality yet.

Technically, this is implemented by keeping a separate registry for the dynamic event information.
Built-in & dynamic events are tracked with separate numeric ids, so introduce a common identifier for both, an EventKey.
For actual event storage, the events are treated the same as built-in events. They are simply bucketed into the 'dynamic' process storage.
This approach ends up duplicating code paths that use the event info, but keeps a single implementation for recording, storage & serialization.
2017-08-03 07:03:00 -04: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
Georg Fritzsche
5b44df997a Bug 1376599 - Allow annotating experiments with a type. r=Dexter 2017-06-28 17:18:00 -04: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
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
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
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
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
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
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
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
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
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
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
Alessio Placitelli
9cf522342c Backed out changeset 3bb2c974b5dc due to Browser Console spamming (bug 1334469) 2017-02-23 18:23:50 +01:00