Commit Graph
113 Commits
Author SHA1 Message Date
Chris H-C 8f88e149e3 Bug 2036590 - Update FOG preferences documentation for TOU r=janerik DONTBUILD
Since the implementation of Firefox's Terms of Use, the flipping of the
`uploadEnabled` pref is no longer the simple one-stop-shop for disabling
data collection. Now it only disables the data collection for pings that
don't have `follows_collection_enabled: false` set.

Differential Revision: https://phabricator.services.mozilla.com/D299365
2026-05-08 15:16:54 +00:00
Sylvestre Ledru 62b1ca8d05 Bug 2024589 - adjust the code: searchfox.org/mozilla-central is now redirecting to searchfox.org/firefox-main/ r=asuth,perftest-reviewers,necko-reviewers,jgraham,webcompat-reviewers,mozperftest-reviewers,geckoview-reviewers,extension-reviewers,credential-management-reviewers,devtools-reviewers,taskgraph-reviewers,releng-reviewers,desktop-theme-reviewers,win-reviewers,translations-reviewers,omc-reviewers,firefox-desktop-core-reviewers ,home-newtab-reviewers,core-sessionstore-reviewers,browser-installer-reviewers,profiles-reviewers,dom-worker-reviewers,geckodriver-reviewers,ai-platform-reviewers,Sasha,niklas,manuel,janerik,bhearsum,valentin,twisniewski,nchevobbe,emcminn,webrtc-reviewers,mjf,handyman,mconley,mossop,ahal,sparky,nrishel,robwu,ohall,dimi,hjones
Differential Revision: https://phabricator.services.mozilla.com/D288623
2026-04-30 13:28:49 +00:00
Dana Keeler c9fefd6ec4 Bug 2012590 - add support for permit_non_commutative_ipc to Quantity r=chutten,toolkit-telemetry-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D280681
2026-01-30 20:20:18 +00:00
Jan-Erik Rediger a294a0259a Bug 2004677 - Update steps to update the Glean SDK in app-services r=chutten DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D275428
2025-12-08 15:48:06 +00:00
Chris H-C 8f2ebc4c73 Bug 1978610 - Fix links in new metric type docs r=janerik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D259159
2025-08-06 19:06:19 +00:00
Chris H-C 6e0e8be155 Bug 1978610 - Remove old Python req'ts from glean_parser docs r=janerik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D258432
2025-08-06 19:06:15 +00:00
Chris H-C 03ad4b01bd Bug 1978610 - Update FOG dev testing docs r=janerik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D258431
2025-08-06 19:06:11 +00:00
Chris H-C 3d26d4733f Bug 1978610 - Correct FOG style guide on linking to other docs r=janerik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D258430
2025-08-06 19:06:08 +00:00
Chris H-C 460ae0bca0 Bug 1978610 - Remove out-of-date reference to Android not using glean_million_queue r=janerik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D258429
2025-08-06 19:06:04 +00:00
Chris H-C d2badc780e Bug 1978610 - Fix small typo in FOG metric id docs r=janerik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D258428
2025-08-06 19:06:00 +00:00
Chris H-C ab26d6f1dd Bug 1978610 - Update crate name and publication in FOG docs r=janerik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D258427
2025-08-06 19:05:57 +00:00
Jan-Erik Rediger 2de922e5a1 Bug 1950658 - Rely on a pref to tell us whether we should initialize Glean on shutdown r=TravisLong
Only once the user interacted with the telemetry reporting policy modal
we can be sure that the preference for collection is valid.
If it's not we don't initialize Glean and thus don't collect any data.

Differential Revision: https://phabricator.services.mozilla.com/D239753
2025-02-27 12:25:53 +00:00
Chris H-C 35a0babcdb Bug 1942336 - Document FOG's panoply of identifiers r=janerik DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D234751
2025-02-13 17:01:26 +00:00
Chris H-C 505e30131f Bug 1945537 - Document how to hackily test JOG fixes r=janerik DONTBUILD
Also, update the crate name for logging firefox_on_glean which I should've done
two years ago in bug 1765921.

Differential Revision: https://phabricator.services.mozilla.com/D236716
2025-02-04 15:52:22 +00:00
Jan-Erik Rediger e3569c74aa Bug 1939696 - mach glean subcommand to use local/remote Glean checkout for local dev r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D233078
2025-01-24 15:46:53 +00:00
Chris H-C 6ac9b09366 Bug 1929979 - Support labeled_quantity metrics in FOG r=TravisLong
Also, while we're here, update the instructions for new metric types.

Differential Revision: https://phabricator.services.mozilla.com/D229043
2024-11-15 14:34:59 +00:00
Chris H-C 12627e3f27 Bug 1786077 - Document how to update application-services when updating Glean's major version number r=TravisLong,janerik
Differential Revision: https://phabricator.services.mozilla.com/D228094
2024-11-11 13:07:48 +00:00
Jan-Erik Rediger abbb973409 Bug 1928630 - Update glean_parser to v15.2.1 r=janerik,mach-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D228092
2024-11-11 13:07:47 +00:00
Chris H-C 108f86ab56 Bug 1923035 - Support non-commutative operations in child processes for boolean and labeled_boolean metrics r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D225864
2024-10-17 19:07:21 +00:00
Dennis Schubert c76d3e9022 Bug 1917900 - Fix minor typo in JOG docs. r=chutten DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D221700
2024-09-10 18:14:10 +00:00
Chris H-C cccbcc3d54 Bug 1909515 - Update the using a local glean docs r=TravisLong DONTBUILD
This accounts for changes in workspace versioning _and_ wildcard audits.

Differential Revision: https://phabricator.services.mozilla.com/D217821
2024-07-26 16:42:26 +00:00
Chris H-C e91087eba0 Bug 1907945 - Update docs on adding new labeled metric types to FOG r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D217607
2024-07-25 13:40:55 +00:00
Chris H-C 85b4052c71 Bug 1900085 - Disable builtin Glean pings during tests r=TravisLong,perftest-reviewers,sparky,search-reviewers,jteow
This patch specifically disables "baseline" and "events" pings through not
telling Glean about user (in)activity, which triggers their submission.
"baseline" should matter less, but if an "events" ping is submitted during a
test it could contain a test's recorded events that it will later want to
assert are present.

"metrics" pings are already suppressed in automation via the `MOZ_AUTOMATION`
envvar. So update the docs to note that.

"deletion-request" pings are permitted at all times for all reasons and are not
included in the builtin pings we're disabling.

Differential Revision: https://phabricator.services.mozilla.com/D212315
2024-06-04 18:15:26 +00:00
Perry McManis bb309a3a1d Bug 1873661 - Crash in automation when someone misuses instrumentation APIs r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D198182
2024-01-16 16:51:26 +00:00
ogiorgis d916e7edbe Bug 1840493 - doc/rst: fix some languages declaration r=firefox-source-docs-reviewers,webdriver-reviewers,necko-reviewers,geckoview-reviewers,devtools-reviewers,profiler-reviewers,championshuttler,whimboo,nchevobbe,julienw,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D196268
2023-12-13 18:32:20 +00:00
unknown b50d72da71 Bug 1861657 - Include Utility in list of supported processes in FOG r=gerard-majax DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D192075
2023-10-30 15:15:34 +00:00
Jan-Erik Rediger b10b8b5901 Bug 1854164 - FOG docs: mention Bindings.conf entry r=chutten DONTBUILD
Also fixing the webIdlBindings link

Differential Revision: https://phabricator.services.mozilla.com/D188965
2023-09-25 10:59:38 +00:00
Chris H-C 8f9098eeda Bug 1848708 - Update 'new metric type' dev docs for refactor r=perry.mcmanis,janerik
Differential Revision: https://phabricator.services.mozilla.com/D187937
2023-09-19 17:39:11 +00:00
Narcis Beleuzu 48b97a9a32 Backed out 7 changesets (bug 1848708) for bustages on TimingDistribution.cpp
Backed out changeset e63a855c0acf (bug 1848708)
Backed out changeset 242478709593 (bug 1848708)
Backed out changeset f1a77753fa0c (bug 1848708)
Backed out changeset d230a932c850 (bug 1848708)
Backed out changeset 1261ba650483 (bug 1848708)
Backed out changeset 06061d509ab5 (bug 1848708)
Backed out changeset 726d5138b1d2 (bug 1848708)
2023-09-19 19:18:00 +03:00
Chris H-C 72750be6cb Bug 1848708 - Update 'new metric type' dev docs for refactor r=perry.mcmanis,janerik
Differential Revision: https://phabricator.services.mozilla.com/D187937
2023-09-19 15:03:57 +00:00
ogiorgis 0c5d75ef6a Bug 1621950 - fix some myst ref warnings r=firefox-source-docs-reviewers,devtools-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D173843
2023-03-30 08:01:22 +00:00
Chris H-C 883bd05ed2 Bug 1823696 - Don't use COMPILE_ENVIRONMENT in FOG when you instead mean MOZ_ARTIFACT_BUILDS r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D173286
2023-03-28 17:06:26 +00:00
Chris H-C 70949c29a3 Bug 1820241 - Use MOZ_ARTIFACT_BUILDS to determine if FOG needs JOG r=glandium,janerik
FOG needs to trigger JOG (artifact build support for runtime-defined metrics.
Allows changes and additions to metrics.yamls to be usable from JS without a
compile step) when running an Artifact Build.

So we take `MOZ_ARTIFACT_BUILDS` and pop it into a pref for FOG's use in C++.

Differential Revision: https://phabricator.services.mozilla.com/D173211
2023-03-28 17:06:26 +00:00
Abhishek Tiwari fb233a882c Bug 1798549 - Added Moz_Automation section in Defines. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D172363
2023-03-13 16:00:18 +00:00
Chris H-C 76d0e047b2 Bug 1737520 - Stop forbidding custom ping submission in Android r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D172318
2023-03-13 14:02:39 +00:00
Chris H-C 962364f97a Bug 1803584 - Update FOG docs to reflect new clippy concord r=perry.mcmanis
Differential Revision: https://phabricator.services.mozilla.com/D170252
2023-02-21 18:16:13 +00:00
Chris H-C df6ff414d5 Bug 1762281 - Clarify FOG prefs and defines docs r=perry.mcmanis
Differential Revision: https://phabricator.services.mozilla.com/D168159
2023-02-02 22:04:15 +00:00
Chris H-C 7219c265df Bug 1805427 - Turn on Glean's trim_data_to_registered_pings r=janerik
FOG gets to learn which app ids register which pings, allowing it to tell the
Glean SDK to trim all data not associated with those pings.

This will keep other app_ids' custom pings' events from growing without bound.

Alas, this does not come with tests as the trim behaviour is very internal to
the SDK. As such we'll have to rely on the SDK's tests.

Depends on D164604

Differential Revision: https://phabricator.services.mozilla.com/D164605
2023-01-16 18:51:19 +00:00
Sandor Molnar c3c918717b Backed out 4 changesets (bug 1805427) for causing xpc failures in toolkit/components/extensions/test/xpcshell/test_ext_scripting_persistAcrossSessions.js CLOSED TREE
Backed out changeset 9231b82f6a8b (bug 1805427)
Backed out changeset 9308ede8e265 (bug 1805427)
Backed out changeset b1c44a7274c5 (bug 1805427)
Backed out changeset 39a8c4bff42f (bug 1805427)
2022-12-15 18:43:29 +02:00
Chris H-C c7502a4d4f Bug 1805427 - Turn on Glean's trim_data_to_registered_pings r=janerik
FOG gets to learn which app ids register which pings, allowing it to tell the
Glean SDK to trim all data not associated with those pings.

This will keep other app_ids' custom pings' events from growing without bound.

Alas, this does not come with tests as the trim behaviour is very internal to
the SDK. As such we'll have to rely on the SDK's tests.

Depends on D164604

Differential Revision: https://phabricator.services.mozilla.com/D164605
2022-12-15 14:04:54 +00:00
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
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