Commit Graph

45 Commits

Author SHA1 Message Date
Wes Kocher
07f40c2e55 Backed out 3 changesets (bug 1302681) for build failures in TelemetryEvent.cpp a=backout
Backed out changeset 9c0bdff48a0a (bug 1302681)
Backed out changeset 8e79158a7a1c (bug 1302681)
Backed out changeset 7068c8d4448c (bug 1302681)

MozReview-Commit-ID: Y7pfsOJRqe
2017-07-27 12:53:32 -07:00
Georg Fritzsche
d2624a667d Bug 1302681 - Part 3: Update documentation to cover dynamic events. r=Dexter 2017-07-27 07:19:00 -04:00
Georg Fritzsche
0b899d6c40 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-07-26 07:49: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
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
Alessio Placitelli
0a43851840 Bug 1339023 - Make Telemetry in-tree docs index page point to the updated Histogram docs. r=gfritzsche
MozReview-Commit-ID: HIcv5AJIPhM
2017-02-13 12:06:41 +01:00
Alessio Placitelli
1ce0872f02 Bug 1292531 - Document Histogram usage in in-tree docs. r=gfritzsche
MozReview-Commit-ID: DzZO2r1fVLc
2017-02-10 09:40:00 -05:00
Wes Kocher
310c9f7cd6 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7py654uXbYD
2017-02-07 16:55:50 -08:00
Alessio Placitelli
4d2759557d Bug 1301364 - Add short code samples to the Scalar docs. r=gfritzsche
MozReview-Commit-ID: E1lyvQzJOn9
2017-02-07 07:55:00 -05:00
Georg Fritzsche
e4a66ce19d Bug 1302666 - Update Telemetry documentation for Event Telemetry. r=dexter, f=sunahsuh 2017-02-01 13:45:40 +01:00
Chris H-C
8e606f4fbd bug 1333797 - Require 'record_in_processes' values in Scalars.yaml r=Dexter
Having "main" be the default value is a very sensible choice, but one that is a
little opaque if you aren't into reading Telemetry code.

Just require a value here, and this will encourage correct use as it can be
caught and policed in data-review.

MozReview-Commit-ID: ASaWGuPAc9a
2017-01-25 14:10:22 -05:00
Iaroslav (yarik) Sheptykin
382220cc08 Bug 1299772: Document stack capturing API. r=gfritzsche
MozReview-Commit-ID: Jar6vyj0RzV
2017-01-30 21:11:37 +01:00
Alessio Placitelli
8fb257f7bf Bug 1278556 - Update the documentation. r=gfritzsche 2017-01-13 01:47:00 +01:00
Alessio Placitelli
bdca4b000a Bug 1309256 - Add documentation for BrowserUsageTelemetry. r=gfritzsche
MozReview-Commit-ID: GVclrfo5Zhl
2016-11-09 00:18:00 +01:00
Alessio Placitelli
9570ca1a73 Bug 1277806 - Update the docs. r=gfritzsche 2016-09-14 02:59:00 +02:00
Georg Fritzsche
df7f39deed Bug 1301313 - Add submission constraints to Telemetry custom ping documentation. r=dexter 2016-09-09 00:43:25 +07:00
Georg Fritzsche
d5fa51beea Bug 1277810 - Part 4 - Bonus - Add 'code-block' syntax highlighting where possible. r=dexter 2016-08-09 13:52:28 +02:00
Georg Fritzsche
fbae057319 Bug 1277810 - Part 2 - Flesh out docs/collection/. r=dexter, f=chutten,mreid 2016-08-09 13:52:27 +02:00
Georg Fritzsche
fa5a8465ff Bug 1277810 - Part 1 - Restructure Telemetry client documentation. r=dexter, f=chutten 2016-08-09 13:52:27 +02:00