Commit Graph

173 Commits

Author SHA1 Message Date
Chris H-C
70edf37291 Bug 1802933 - Update the Use a Local Glean instructions for cargo-vet r=TravisLong DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D163362
2022-11-30 19:02:45 +00:00
Chris H-C
4b5957c1e1 Bug 1767055 - Support Glean metrics in Artifact Builds r=nalexander,janerik
If there's no `COMPILE_ENVIRONMENT`, generate jogfile.json during build.
It contains information about all the metrics and pings.

If we are both not MOZILLA_OFFICIAL _and_ mozilla::IsDevelopmentBuild,
we look for the jogfile on the first use of the Glean or GleanPings global.

If we find the jogfile, we load our metric and ping info from there,
making it available to JS.

JOG isn't instrumented as it only does anything when !MOZILLA_OFFICIAL,
which is exactly the condition for disabling ping upload (see rust feature
`glean_disable_upload`), so we wouldn't expect to ever hear anything.

Differential Revision: https://phabricator.services.mozilla.com/D160540
2022-11-03 14:08:27 +00:00
Cosmin Sabou
fcbabfb45f Backed out changeset a66be20c8f9f (bug 1767055) for gtest failures on FOGFixture.TestJogfile. CLOSED TREE 2022-11-02 22:12:06 +02:00
Chris H-C
42bf882616 Bug 1767055 - Support Glean metrics in Artifact Builds r=nalexander,janerik
If there's no `COMPILE_ENVIRONMENT`, generate jogfile.json during build.
It contains information about all the metrics and pings.

If we are both not MOZILLA_OFFICIAL _and_ mozilla::IsDevelopmentBuild,
we look for the jogfile on the first use of the Glean or GleanPings global.

If we find the jogfile, we load our metric and ping info from there,
making it available to JS.

JOG isn't instrumented as it only does anything when !MOZILLA_OFFICIAL,
which is exactly the condition for disabling ping upload (see rust feature
`glean_disable_upload`), so we wouldn't expect to ever hear anything.

Differential Revision: https://phabricator.services.mozilla.com/D160540
2022-11-02 16:52:07 +00:00
Iulian Moraru
852c772a56 Backed out changeset 7e6ddb806ce0 (bug 1767055) for causing gtest failures on FOGFixture.TestJogfile. CLOSED TREE 2022-11-02 16:48:23 +02:00
Chris H-C
e1ce6eff23 Bug 1767055 - Support Glean metrics in Artifact Builds r=nalexander,janerik
If there's no `COMPILE_ENVIRONMENT`, generate jogfile.json during build.
It contains information about all the metrics and pings.

If we are both not MOZILLA_OFFICIAL _and_ mozilla::IsDevelopmentBuild,
we look for the jogfile on the first use of the Glean or GleanPings global.

If we find the jogfile, we load our metric and ping info from there,
making it available to JS.

JOG isn't instrumented as it only does anything when !MOZILLA_OFFICIAL,
which is exactly the condition for disabling ping upload (see rust feature
`glean_disable_upload`), so we wouldn't expect to ever hear anything.

Differential Revision: https://phabricator.services.mozilla.com/D160540
2022-11-02 12:49:00 +00:00
Chris H-C
dc97794aa6 Bug 1797494 - Opt Firefox Desktop into Glean's 10^6 preinit queue r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D160410
2022-10-27 14:08:21 +00:00
Chris H-C
e01e97a473 Bug 1794123 - Update the Glean SDK Update documentation r=perry.mcmanis,janerik DONTBUILD
While we're here, quote the gtest arg for shells that greedily glob.

Differential Revision: https://phabricator.services.mozilla.com/D159436
2022-10-17 15:04:40 +00:00
Jan-Erik Rediger
f64efa480c Bug 1790046 - Split up metrics_index into lists by product. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D157434
2022-09-20 15:10:10 +00:00
Andreea Pavel
fb54a47509 Backed out changeset 8f84cc961e80 (bug 1790046) for multiple failures on a CLOSED TREE 2022-09-20 14:50:21 +03:00
Jan-Erik Rediger
134690d500 Bug 1790046 - Split up metrics_index into lists by product. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D157434
2022-09-20 09:36:21 +00:00
Chris H-C
6870201be3 Bug 1784283 - Specify which getting started doc the Using FOG doc is talking about r=janerik,sylvestre DONTBUILD
Otherwise we may link to the Getting Started (with NSS) doc.

Differential Revision: https://phabricator.services.mozilla.com/D154570
2022-08-15 12:48:21 +00:00
Chris H-C
6d325f238f Bug 1780211 - Explain Telemetry enum conjugation in GIFFT docs r=perry.mcmanis DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D152281
2022-07-20 18:09:41 +00:00
Chris H-C
ec8059bf47 Bug 1756057 - For GTest create FOGFixture for ensuring FOG is properly set up for your test case r=janerik
Depends on D147449

Differential Revision: https://phabricator.services.mozilla.com/D147450
2022-07-20 14:54:57 +00:00
smolnar
826704c92f Backed out 4 changesets (bug 1756057) for causing xpc failures in toolkit/components/glean/tests/xpcshell/test_FOGInit.js CLOSED TREE
Backed out changeset 9a0c99591eb4 (bug 1756057)
Backed out changeset 414e2fb866f2 (bug 1756057)
Backed out changeset f56dc6857da7 (bug 1756057)
Backed out changeset 76096ec38942 (bug 1756057)
2022-07-18 18:51:20 +03:00
Chris H-C
49c594369c Bug 1756057 - For GTest create FOGFixture for ensuring FOG is properly set up for your test case r=janerik
Depends on D147449

Differential Revision: https://phabricator.services.mozilla.com/D147450
2022-07-18 14:24:33 +00:00
Mark Banner
c800705d4a Bug 1775087 - Update notification email addresses for existing search related telemetry. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D149861
2022-06-22 06:38:18 +00:00
Chris H-C
7d0f9c3e50 Bug 1698184 - Fix local Glean SDK instruction typo r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D149403
2022-06-21 20:34:57 +00:00
Chris H-C
04bbc9c918 Bug 1698184 - Add docs for JOG r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D144967
2022-06-21 20:34:56 +00:00
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