Commit Graph

5088 Commits

Author SHA1 Message Date
Andreea Pavel
97e7fbb91f Merge mozilla-inbound to mozilla-central. a=merge 2018-07-05 19:26:15 +03:00
Daniel Stenberg
0e01b892ce bug 1470813 - Telemetry::DNS_TRR_RACE2 adds two new categories r=francois
... compared to DNS_TRR_RACE, to also count when either of the resolves
were more than 100 milliseconds faster.

MozReview-Commit-ID: FNZa7ZVuJPv
2018-07-04 23:26:00 +03:00
Daniel Stenberg
efc1e5d391 bug 1472659 - add Telemetry::DNS_TRR_FIRST and Telemetry::DNS_TRR_DISABLED r=mcmanus
To help evaluate TRRfirst sucess/error rates.

MozReview-Commit-ID: Ljrbed6UDG2
2018-07-02 13:50:21 +02:00
Coroiu Cristina
34c5df272d Merge inbound to mozilla-central a=merge 2018-07-05 03:14:19 +03:00
Gurzau Raul
e356d5eb97 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-04 19:33:40 +03:00
Ryan Hunt
18528405a6 Bug 1470528 - Implement CONTENT_FRAME_TIME for the non-webrender codepath. r=sotaro, data-review=francois
This commit adds the CONTENT_FRAME_TIME metric which tracks the time from the beginning
of a paint in the content process until it is presented in the compositor.

There is existing logging for frame latency which tracks from the beginning of a refresh
tick until the frame is presented. This is undesirable for this probe as javascript and
layout can run in this time period. So this probe uses the existing infrastructure for
logging frame latency, but uses a start time from BeginTransaction in layer manager.

MozReview-Commit-ID: 5z9LS3tsZTY
2018-06-26 13:40:10 -05:00
Alessio Placitelli
58a9c703ac Bug 1472627 - Enable the deferred error handling for event parsing. r=janerik,chutten
While ParseError was used throughout the codebase, errors were detected
but not reported due to the missing |atexit| handler. This also makes
string checking only run when strict checks are enabled.

Differential Revision: https://phabricator.services.mozilla.com/D1910
2018-07-03 13:12:43 +00:00
Michael Ratcliffe
e39cdc2571 Bug 1472627 - Fix event name and field name lengths in Events.yaml r=miker
MozReview-Commit-ID: 5O2Vw8OE7be
2018-07-02 13:03:08 +01:00
Jan-Erik Rediger
0f10479fe5 Bug 1472228 - Copy event data to be accessible by user content. r=Dexter
Previously accessing the "canUpload" attribute in user code was not
possible, as it was blocked due to security constraints.
By explicitely copying it, the object is accessible in user code and
HybridContentTelemetry correctly reads the attribute.

Unfortunately the tests in
tests/browser/browser_HybridContentTelemetry.js don't have this issue,
as apparently their content process runs with higher privileges.

This change was tested locally to work as expected.

MozReview-Commit-ID: HbNH4wEyOA

Differential Revision: https://phabricator.services.mozilla.com/D1879
2018-07-02 07:44:50 +00:00
Michael Ratcliffe
3425d92fb6 Bug 1463092 - Instrument inspection of 'Jump to Source' in the Web Console with event telemetry r=jdescottes
MozReview-Commit-ID: DF54uBCDX1n
2018-06-22 16:56:51 +01:00
Michael Ratcliffe
bb80691cf9 Bug 1470432 - Land approved debugger.html telemetry event probes in Events.yaml r=miker
MozReview-Commit-ID: LD1mNET7xPk
2018-06-22 14:44:02 +01:00
Michael Ratcliffe
4cdcaa9765 Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n
2018-06-29 16:36:24 +01:00
whirish
3ee71635ab Removed histogram from Histograms.json (Bug 1472163) r=Gijs
MozReview-Commit-ID: 7qP17zMhcQR
2018-06-29 18:41:08 -07:00
Jan-Erik Rediger
237755eebb Bug 1466518 - Store current timestamp as profile directory scan date in a scalar. r=chutten
Depends on D1577

MozReview-Commit-ID: ADAXwJlIVQN

Differential Revision: https://phabricator.services.mozilla.com/D1578
2018-06-30 12:00:20 +00:00
Tiberius Oros
c0aa035fc1 Backed out changeset d2afa568a6ba (bug 1466518) for linting opt failure on a CLOSED TREE 2018-06-30 13:32:58 +03:00
Jan-Erik Rediger
f199442f7c Bug 1466518 - Store current timestamp as profile directory scan date in a scalar. r=chutten
Depends on D1577

MozReview-Commit-ID: ADAXwJlIVQN

Differential Revision: https://phabricator.services.mozilla.com/D1578
2018-06-29 13:12:43 +00:00
Andrew Osmond
c5e259392a Bug 1472145 - Part 2. Add telemetry to track how frequently WebP images are used. r=tnikkel data-r=chutten
This patch adds three telemetry scalars to track how WebP is used. All
of these scalars are updated when we do the MIME type confirmation for
an imgRequest when the first data comes in. We know at this point we
decided to load the given content, so there should be minimal false
positives for data the browser loaded but never displayed.

The first two scalars are merely whether or not WebP was observed. One
is for probes, which are tiny WebP images suggested by the Google WebP
FAQ to probe for different aspects of WebP support (lossy, animated,
etc). We want to count this separately as actual WebP content that the
website wishes us to display. Probes will give a measure of how many
users visit websites that probe for WebP support, and content will give
a measure of how many websites don't care and just give us WebP images
regardless.

The third scalar is intended to give a relative measure of how many WebP
images we are being served relative to all other image types. We expect
the ratio to be small, but it would be good to confirm this from the
data.
2018-06-29 20:30:08 -04:00
Coroiu Cristina
6768c68fe4 Backed out changeset 57c6388be227 (bug 1466880) for devtools failures at devtools/client/responsive.html/test/browser/browser_telemetry_activate_rdm.js on a CLOSED TREE 2018-06-29 20:42:35 +03:00
Michael Ratcliffe
a2bf2cce74 Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n
2018-06-29 16:36:24 +01:00
Gurzau Raul
333607dd1b Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-29 18:23:21 +03:00
Gurzau Raul
754b698e46 Merge inbound to mozilla-central. a=merge 2018-06-29 18:15:07 +03:00
Julian Descottes
25568e32a1 Bug 1470128 - Instrument inspector shadowdom support;r=pbro
MozReview-Commit-ID: JCknoaPiSlR
2018-06-25 14:33:21 +02:00
Carl Corcoran
848e7883f6 Bug 1467734: Add ability to remove frames from CombinedStacks; r=Dexter
MozReview-Commit-ID: EudrP5G3iaJ
2018-06-08 12:49:32 +02:00
Issei Horie
c4875c4ec4 Bug 1469522: Remove savedPings from simpleMeasurements. r=Dexter 2018-06-24 22:10:19 +09:00
Kiran
4c419470f4 bug 1427765 - Add gtest coverage for accumulating using strings r=chutten
MozReview-Commit-ID: CSXigsG8TI0
2018-06-28 15:10:37 -04:00
Andrew Halberstadt
66db90f18e Bug 1471620 - Skip python-tests locally that don't run with python 3 in CI r=davehunt
This will make sure that when running |mach python-test --python 3| locally,
we only run the tests that also run in CI with python 3 (and therefore pass
presumably).

MozReview-Commit-ID: 3OBr9yLSlSq
2018-06-27 11:10:02 -04:00
Cosmin Sabou
bea485195c Merge mozilla-central to autoland. a=merge 2018-06-28 13:11:09 +03:00
Cosmin Sabou
bb987de702 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-28 13:04:23 +03:00
Masayuki Nakano
15d49f9c62 Bug 1215818 - part 3: Add telemetry probe to collect IM share on Linux r=m_kato
Different from Windows and macOS, we cannot check if active keyboard layout
works as "IME" actually.  Therefore, this patch add the telemetry probe
to the dispatcher of eCompositionStart.  However, composition string is also
used by some Wester keyboard layouts which have dead keys.  So, the meaning
of the result is deferent from the other platforms, but it must be useful
information which IM (e.g., fcitx, ibus) is used by most users.

MozReview-Commit-ID: A7vYuGtcrRw
2018-06-20 14:55:46 +09:00
Masayuki Nakano
ee04e1f992 Bug 1215818 - part 2: Add telemetry probe to collect IME usage on macOS r=m_kato
This patch adds a telemetry probe to collect Input Source ID or Bundle ID of
IME when an IME open mode is selected by user.  Input Source ID includes
input mode of IME, but Bundle ID does not so.  In most languages, we need
to collect the former, but only for Japanese IME, we need to collect the
latter because non-Japanese IME's input mode is "how to input characters".
So, the input mode is important.  However, Japanese IME's input mode is
"to input which type of characters".  So, Japanese IME user may use multiple
input modes but we need only the IME mode.  If we'd collect number of
each input mode users of Japanese language, it'd be difficult to count
how many users actually used typical Japanese IME since somebody may use
only a mode, some others may use only different modes.

So, this patch collects Input Source ID when non-Japanese IME is open and
Bundle ID when Japanese IME is open.

MozReview-Commit-ID: CltLrWVGyRk
2018-06-20 11:33:42 +09:00
Masayuki Nakano
f80162ab1c Bug 1215818 - part 1: Add telemetry probe to collect TIP names of TSF which are actually used by the users r=jimm,m_kato
We always struggle with a lot of IME bugs on Windows.  Currently, any IME
vendors should've already released TIP for TSF rather than legacy IMM-IME
since IMM-IME is not available on UWP apps.  Additionally, due to API
limitation, it's difficult to get human-friendly name of IMM-IME.  So, let's
collect only TIP names of TSF on Windows.  This must be enough.

Note that we cannot get common-English name even though the API to retrieve
TIP name taking language code.  Therefore, a TIP may be collected with
different name, e.g., one is Japanese name and the other is English name.
If we collect GUIDs of TIP, we can avoid this issue.  However, it's
difficult to collect both GUID and human-friendly name since Telemetry
key is up to 72 characters.

Currently, I give up to avoid this duplicated issue.  Perhaps, this is not
so serious issue since most TIP users must match language of TIP and their
system language settings.  Therefore, this patch collects Locale ID of
TIP and description of it.  Locale ID is necessary because some TIPs may be
named same name for different languages.  For example, both Japanese and
Hangul IMEs of Microsoft are named as "Microsoft IME".

MozReview-Commit-ID: IeSxfeqS62a
2018-06-19 21:00:01 +09:00
Ciure Andrei
98a9298be7 Backed out 1 changesets (bug 1466880) for devtools perfails browser_exit_button.js CLOSED TREE
Backed out changeset e52c11b8f8ec (bug 1466880)
2018-06-28 01:52:52 +03:00
Andreas Farre
b524a1b2b7 Bug 1468843 - Change telemetry to only record docgroup count for http(s). r=nika,data-review=chutten
Rename TOTAL_DOCGROUPS_PER_TABGROUP to
TOTAL_HTTP_DOCGROUPS_PER_TABGROUP, that collects telemetry for all
docgroups per tabgroup, but only for uris with http:// or https://
schemes.

Rename ACTIVE_DOCGROUPS_PER_TABGROUP to
ACTIVE_HTTP_DOCGROUPS_PER_TABGROUP, that collects telemetry for active
docgroups per tabgroup, but only for uris with http:// or https://
schemes.
2018-06-26 00:20:00 +03:00
Ryan Hunt
d4ca63272b Bug 1460753 - Remove TelemetryScrollProbe. r=smaug
The probe is expired and there's no clear owner here so let's remove this
for now.
2018-06-26 17:31:27 -05:00
Felipe Gomes
1924ac19ef Bug 1470956 - Remove the E10S_STATUS and E10S_BLOCKED_FROM_RUNNING telemetry probes. r=chutten 2018-06-27 00:28:16 -03: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
Julian Descottes
0e0f26b797 Bug 1451734 - Add basic telemetry for application panel (open count, active time);r=ladybenko,miker
MozReview-Commit-ID: KONx4KdDhTU
2018-05-25 16:10:33 +02:00
Kartikaya Gupta
7485aab84c Bug 1470901 - Add telemetry probes for measuring WebRender paint phases. r=chutten
MozReview-Commit-ID: G1QYIdYNP9P
2018-07-04 07:52:19 -04:00
Daniel Stenberg
b0ad871d4d bug 1470215 let Telemetry::DNS_NATIVE_QUEUING measure queue times r=mcmanus
MozReview-Commit-ID: 77FE4SJOXMG
2018-06-25 08:03:44 +02:00
Jan-Erik Rediger
c22b419c66 Bug 1470897 - Catch invalid data, show a warning and continue processing. r=chutten
MozReview-Commit-ID: GbbBarULSOR

Differential Revision: https://phabricator.services.mozilla.com/D1951
2018-07-04 19:14:51 +00:00
Michael Ratcliffe
7cd40111d4 Bug 1466880 - Track toolbox session id in event telemetry probes r=yulia
MozReview-Commit-ID: SC6Vm4Qn7n
2018-06-22 14:08:47 +01:00
Erica Wright
5a19fd4644 Bug 1471523 - Update Events.yaml for about:welcome events. r=ursula
MozReview-Commit-ID: 1Znb0QIWCSn
2018-06-27 10:32:31 -04:00
Coroiu Cristina
331883145f Backed out changeset ec11cc05b667 (bug 1467734) for xpcshell failures at toolkit/components/telemetry/tests/unit/test_TelemetryLateWrites.js 2018-06-27 16:01:55 +03:00
Carl Corcoran
67f23cdd72 Bug 1467734: Add ability to remove frames from CombinedStacks; r=Dexter
MozReview-Commit-ID: EudrP5G3iaJ
2018-06-08 12:49:32 +02:00
Jan Beich
651d5aa464 Bug 1470938 - Unbreak build without GeckoProfiler after bug 1448040. r=dthayer
MozReview-Commit-ID: I7xAvNtNwe
2018-06-25 16:47:35 +00:00
Arjun Krishna Babu
bab66c537d Bug 1469233 - remove pingsOverdue from simpleMeasurements; r=Dexter
pingsOverdue is a telemetry-specific data field that is not used anymore.
Therefore it is being removed from both the docs and TelemetrySession.jsm

The logic that exports and computes the overdue pings count, and all related
code, is also removed.

Associated test failure (due to performing the above) is fixed by removing the
offending test code.

MozReview-Commit-ID: DZUapvZbC9U
2018-06-20 18:51:09 +05:30
Chris H-C
d09d07021f bug 1460595 - Remove events from main pings and, thus, TelemetrySession r=Dexter
This requires we take unsent event records out of about:telemetry since its
"Current Payload" view only looks at the "main" ping.

MozReview-Commit-ID: GLs2EYvFaAF
2018-06-06 11:05:29 -04:00
Chris H-C
bb068f9c38 bug 1460595 - Test the 'event' ping r=Dexter
MozReview-Commit-ID: 2SJCgXOQNEW
2018-05-15 16:43:28 -04:00
Chris H-C
a3857d65cb bug 1460595 - Add meta-telemetry to record how many event pings we're sending r=Dexter,janerik
MozReview-Commit-ID: 7kxmvItSzEU
2018-05-14 10:43:18 -04:00
Chris H-C
8040da08bf bug 1460595 - Implement the 'event' ping r=Dexter,janerik
MozReview-Commit-ID: HQAk8jmouyI
2018-05-14 09:57:30 -04:00