Commit Graph

154 Commits

Author SHA1 Message Date
Chris H-C
4f36a6c565 Bug 1768714 - Use add_setup for setup task in FOG xpcshell tests r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D147431
2022-05-26 15:32:32 +00:00
Chris H-C
a0c6f025d7 Bug 1767016 - Be a little more clear about when and how to edit metrics.rs r=Dexter DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D147430
2022-05-26 14:43:40 +00:00
Jan-Erik Rediger
5442d156db Bug 1768611 - Document how to use local glean_parser. r=chutten DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D145948
2022-05-11 09:26:21 +00:00
Chris H-C
6f10ed9034 Bug 1763235 - Update metrics.yamls to file-level tags, new front matter r=perry.mcmanis,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D145141
2022-05-04 14:16:19 +00:00
Alessio Placitelli
42232827c3 Bug 1766980 - Add test coverage for the URL FOG type. r=chutten
This adds the required test coverage for the new type
and updates the GIFFT docs.

Depends on D145215

Differential Revision: https://phabricator.services.mozilla.com/D145216
2022-05-02 16:05:56 +00:00
Chris H-C
1c0d9092cc Bug 1764549 - Don't forget to update glean-ffi's version r=TravisLong
Depends on D143749

Differential Revision: https://phabricator.services.mozilla.com/D143750
2022-04-14 20:35:08 +00:00
Chris H-C
0b70e659ac Bug 1763593 - GIFFT mirroring is now fallible r=janerik
We need to clear state at shutdown that we hold for GIFFT mirroring purposes.
However, more data can come in even later (there's nothing stopping it. Plus,
Glean can meaningfully record later given its shutdown happens in a later
phase), so the naive approach of lazy-instantiate and RunOnShutdown-clear
doesn't work.

Since Telemetry is only good to AppShutdownTelemetry, we now fail to mirror to
it after AppShutdownTelemetry and clear state in the immediately-next phase.

Also, data can come in earlier than we have a main thread to dispatch to,
requiring some careful finagling of threads to ensure our cleanup routine
is appropriately registered.

Differential Revision: https://phabricator.services.mozilla.com/D143522
2022-04-14 15:17:29 +00:00
Chris H-C
8c9ac18dca Bug 1759863 - Test new timing_distribution raw API r=TravisLong,bas
And document it.

Depends on D142290

Differential Revision: https://phabricator.services.mozilla.com/D142465
2022-03-31 20:17:03 +00:00
Cristian Tuns
52188369e8 Backed out 2 changesets (bug 1759863) for causing build bustages CLOSED TREE
Backed out changeset 45242f5e8a43 (bug 1759863)
Backed out changeset f49fc149b138 (bug 1759863)
2022-03-31 16:05:06 -04:00
Chris H-C
09c1273f31 Bug 1759863 - Test new timing_distribution raw API r=TravisLong,bas
And document it.

Depends on D142290

Differential Revision: https://phabricator.services.mozilla.com/D142465
2022-03-31 19:48:20 +00:00
criss
5ae547c9ea Backed out 2 changesets (bug 1759863) for causing build bustages. CLOSED TREE
Backed out changeset cf0fcf2f2bca (bug 1759863)
Backed out changeset 3b3f1eda4f7d (bug 1759863)
2022-03-31 20:52:29 +03:00
Chris H-C
3995995b19 Bug 1759863 - Test new timing_distribution raw API r=TravisLong,bas
And document it.

Depends on D142290

Differential Revision: https://phabricator.services.mozilla.com/D142465
2022-03-31 17:31:34 +00:00
Mitchell Hentges
eb3080a220 Bug 1724274: Move virtualenv dependency manifests to python/virtualenvs r=ahal
This is needed for a few reasons:
* All mach commands can use virtualenvs, not just `build`-related
  commands, so the files don't make sense to be in `build/`.
* When locking is added, more files associated with virtualenvs will be
  added, and this will change will ease the related directory structure
  setup.
* This removes the need for a redundant "_virtualenv_packages" keyword
  as part of the manifest filenames.

Differential Revision: https://phabricator.services.mozilla.com/D140382
2022-03-24 14:04:34 +00:00
Chris H-C
76b4164140 Bug 1754518 - Add Getting Started docs for FOG r=janerik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D139150
2022-02-22 16:53:22 +00:00
Chris H-C
ccac134682 Bug 1752357 - Document Instrumentation Test Best Practices r=janerik DONTBUILD
...and file and link to bugs where we intend to improve it.

Differential Revision: https://phabricator.services.mozilla.com/D139128
2022-02-22 16:53:22 +00:00
Chris H-C
b4f0748057 Bug 1752201 - Remove 'early adopter' language from FOG docs r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D137064
2022-02-02 14:48:27 +00:00
Chris H-C
af78a5fbe2 Bug 1751241 - If Glean's given large or negative values, don't mirror them to Telemetry r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D136532
2022-01-24 21:26:42 +00:00
Sandor Molnar
e0745166a5 Backed out 2 changesets (bug 1751241) for causing xpc failures in toolkit/components/glean/tests/xpcshell/test_GIFFT.js CLOSED TREE
Backed out changeset 403e96a8429b (bug 1751241)
Backed out changeset 7d047cf994cc (bug 1751241)
2022-01-24 19:11:52 +02:00
Chris H-C
17c74a79e7 Bug 1751241 - If Glean's given large or negative values, don't mirror them to Telemetry r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D136532
2022-01-24 16:41:43 +00:00
Florian Quèze
02b789706d Bug 1745511 - Expand FOG IPC to GMP process, r=bryce,chutten,media-playback-reviewers,alwu.
Differential Revision: https://phabricator.services.mozilla.com/D133550
2022-01-19 13:31:17 +00:00
Cristian Tuns
09099c11ef Backed out 2 changesets (bug 1745511) for causing mochitest failures on GeckoChildProcessHost.cpp CLOSED TREE
Backed out changeset 620e4b9d8b61 (bug 1745511)
Backed out changeset 0fadea77038a (bug 1745511)
2022-01-19 07:24:42 -05:00
Florian Quèze
c1505dc115 Bug 1745511 - Expand FOG IPC to GMP process, r=bryce,chutten,media-playback-reviewers,alwu.
Differential Revision: https://phabricator.services.mozilla.com/D133550
2022-01-18 22:24:10 +00:00
Chris H-C
9ac159a1e8 Bug 1678331 - Add developer docs for what to log and how in FOG r=janerik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D135633
2022-01-17 15:50:36 +00:00
Alexandru Michis
6b0888bb3b Backed out changeset 19b1136a92ec (bug 1745511) for causing mochitest failures in GMPServiceParent.cpp
CLOSED TREE
2022-01-13 18:49:34 +02:00
Florian Quèze
8fb191e021 Bug 1745511 - Expand FOG IPC to GMP process, r=bryce,chutten.
Differential Revision: https://phabricator.services.mozilla.com/D133550
2022-01-13 13:44:22 +00:00
James Graham
033c128ce6 Bug 1748845 - Update source-relative links in glean docs, r=firefox-source-docs-reviewers,chutten,sylvestre
These were broken since the update to MyST.

Differential Revision: https://phabricator.services.mozilla.com/D135387
2022-01-11 10:48:22 +00:00
Chris H-C
069a63f68f Bug 1748904 - Fix use of now-obsolete eval_rst directives in docs r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D135252
2022-01-06 20:21:24 +00:00
Chris H-C
00a9e1c51c Bug 1748642 - Push out unfortunately-idealistic timeline in FOG docs r=janerik DONTBUILD
Depends on D135136

Differential Revision: https://phabricator.services.mozilla.com/D135142
2022-01-06 14:46:31 +00:00
Chris H-C
258a2df516 Bug 1748642 - Fix missing repositories.yaml link in FOG Migration docs r=janerik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D135136
2022-01-06 14:46:30 +00:00
Florian Quèze
52ec666a9b Bug 1745444 - Expand FOG IPC to Socket process, to collect CPU time used there, r=chutten,necko-reviewers,valentin.
Differential Revision: https://phabricator.services.mozilla.com/D133491
2021-12-15 22:18:32 +00:00
Narcis Beleuzu
a8e91af26f Backed out 4 changesets (bug 1745444) for GTest failures on IHistory.Test . CLOSED TREE
Backed out changeset b3a2dc754e16 (bug 1745444)
Backed out changeset 7b9d52dff930 (bug 1745444)
Backed out changeset 15d9a79cc305 (bug 1745444)
Backed out changeset 497572ee54af (bug 1745444)
2021-12-15 20:50:24 +02:00
Florian Quèze
6471c9335c Bug 1745444 - Expand FOG IPC to Socket process, to collect CPU time used there, r=chutten,necko-reviewers,valentin.
Differential Revision: https://phabricator.services.mozilla.com/D133491
2021-12-15 16:27:56 +00:00
Chris H-C
7a5557d320 Bug 1745660 - Flush FOG IPC every 100k samples r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D133664
2021-12-13 20:18:57 +00:00
Jan-Erik Rediger
2d1dbd7fb9 Bug 1744674 - Update to Glean v42.3.0 & glean_parser v4.3.1 r=chutten
Also updates the docs on how to update the glean_parser in-tree.
Also adds a `no_lint` exception to test pings to avoid breaking the
build.

Differential Revision: https://phabricator.services.mozilla.com/D133077
2021-12-13 11:24:50 +00:00
Narcis Beleuzu
d5f770f02c Backed out changeset 7ca282be411f (bug 1744674) for python failures on test_site_compatibility.py. CLOSED TREE 2021-12-11 01:08:45 +02:00
Florian Queze
3d358fc2aa Bug 1744162 - Expand FOG IPC to RDD process, to collect CPU and GPU time used there, r=chutten,jrmuizel.
Differential Revision: https://phabricator.services.mozilla.com/D132749
2021-12-10 12:20:10 +00:00
Jan-Erik Rediger
f7e7766bdb Bug 1744674 - Update to Glean v42.3.0 & glean_parser v4.3.1 r=chutten
Also updates the docs on how to update the glean_parser in-tree.
Also adds a `no_lint` exception to test pings to avoid breaking the
build.

Differential Revision: https://phabricator.services.mozilla.com/D133077
2021-12-09 09:30:20 +00:00
Chris H-C
cf606bb7e9 Bug 1729026 - Test that GPU-process FOG metrics work r=Dexter,nical
Differential Revision: https://phabricator.services.mozilla.com/D132406
2021-12-01 14:35:08 +00:00
Chris H-C
1f48010242 Bug 1729026 - Add support for GPU-process Glean metrics via FOG r=Dexter,nical
Differential Revision: https://phabricator.services.mozilla.com/D124840
2021-12-01 14:35:08 +00:00
Chris H-C
cf1dbf4350 Bug 1741674 - Advise in each metrics.yaml that we have docs for adding metrics r=TravisLong,nalexander
Depends on D131639

Differential Revision: https://phabricator.services.mozilla.com/D131640
2021-11-22 20:07:38 +00:00
Chris H-C
c3bbf0819e Bug 1737157 - Allow recording but not uploading in FOG tests r=janerik
See https://firefox-source-docs.mozilla.org/toolkit/components/glean/dev/preferences.html#test-only-preferences
for details.

Differential Revision: https://phabricator.services.mozilla.com/D129553
2021-11-18 19:03:24 +00:00
Sandor Molnar
bcfa357df6 Backed out changeset c859ac601495 (bug 1737157) for causing xpc failures in glean/tests/xpcshell/test_FOGPrefs. CLOSED TREE 2021-11-17 20:21:26 +02:00
Chris H-C
6514eae905 Bug 1737157 - Allow recording but not uploading in FOG tests r=janerik
See https://firefox-source-docs.mozilla.org/toolkit/components/glean/dev/preferences.html#test-only-preferences
for details.

Differential Revision: https://phabricator.services.mozilla.com/D129553
2021-11-17 15:55:35 +00:00
Sylvestre Ledru
bb153e4e07 Bug 1714788 - doc: Fix a Pygments warning r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Warning:
lexer name 'bz_comment_text' is not known

Depends on D131047

Differential Revision: https://phabricator.services.mozilla.com/D131095
2021-11-16 07:59:49 +00:00
Bryce Seager van Dyk
3d084396e7 Bug 1740794 - Fix relative references to other docs in gifft doc. r=chutten DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131013
2021-11-15 15:28:02 +00:00
Marian-Vasile Laza
2b23f11620 Backed out changeset edefcf1ad9a5 (bug 1737157) for causing xpcshell failures on test_FOGPrefs.js. CLOSED TREE 2021-11-11 05:47:27 +02:00
Chris H-C
33aeebbf76 Bug 1737157 - Allow recording but not uploading in FOG tests r=janerik
See https://firefox-source-docs.mozilla.org/toolkit/components/glean/dev/preferences.html#test-only-preferences
for details.

Differential Revision: https://phabricator.services.mozilla.com/D129553
2021-11-10 21:51:27 +00:00
Cristian Tuns
8f163de49f Backed out changeset 26b8a60c88f4 (bug 1737157) for causing xpcshell failures. CLOSED TREE 2021-11-10 10:07:34 -05:00
Chris H-C
99a7f51410 Bug 1737157 - Allow recording but not uploading in FOG tests r=janerik
See https://firefox-source-docs.mozilla.org/toolkit/components/glean/dev/preferences.html#test-only-preferences
for details.

Differential Revision: https://phabricator.services.mozilla.com/D129553
2021-11-10 14:19:56 +00:00
criss
a6dbc6349e Backed out changeset 3ded83469acf (bug 1737157) for causing failures on test_FOGPrefs.js. CLOSED TREE 2021-11-09 00:19:14 +02:00