fune/toolkit/components/glean/pytest
Chris H-C 280af19463 Bug 1688281 - Add IPC support to FOG Labeled Counters r=janerik
Since the submetric deals with IPCPayload, the submetric needs to know its
label. We could add that to CounterMetric::Child, but adding an optional label
to the child variant of CounterMetric looked strange.

So instead, I introduce the Labeled*Metric types.
Well, LabeledStringMetric and LabeledBooleanMetric are just re-exports.
But LabeledCounterMetric knows its label in non-parent processes.
And in parent processes it just acts like a normal CounterMetric, thanks to the
metric traits.

To figure out how to handle all these types it encouraged me to remove lambdas
from the MLA FFI and solve it with hygienic identifier capture instead. Bonus.

Here's hoping I don't regret this additional level of abstraction later.

Differential Revision: https://phabricator.services.mozilla.com/D107667
2021-03-10 17:51:30 +00:00
..
metrics_expires_number_test.yaml
metrics_expires_versions_test.yaml
metrics_test.yaml Bug 1676508 - Use snake_case naming for categories in the JS API. r=chutten 2020-11-12 14:40:04 +00:00
metrics_test_output Bug 1688281 - Add IPC support to FOG Labeled Counters r=janerik 2021-03-10 17:51:30 +00:00
metrics_test_output_cpp Bug 1675277 - Update the FOG pytest expected files r=janerik 2021-02-02 16:53:49 +00:00
metrics_test_output_js Bug 1695197 - Turn FOG into a GNop* on Android. r=chutten 2021-03-04 11:15:13 +00:00
pings_test.yaml
pings_test_output Bug 1681731 - Generate code to allow automatic registration of custom pings. r=chutten 2021-01-11 08:33:50 +00:00
pings_test_output_cpp Bug 1673660 - C++ and JS API for Glean Custom Pings r=janerik,webidl,smaug 2020-12-14 16:50:07 +00:00
pings_test_output_js Bug 1673660 - C++ and JS API for Glean Custom Pings r=janerik,webidl,smaug 2020-12-14 16:50:07 +00:00
python.ini Bug 1646165 - Implement code generation for the JavaScript API. r=chutten,emilio 2020-10-21 11:39:35 +00:00
test_glean_parser_cpp.py Bug 1673660 - C++ and JS API for Glean Custom Pings r=janerik,webidl,smaug 2020-12-14 16:50:07 +00:00
test_glean_parser_js.py Bug 1673660 - C++ and JS API for Glean Custom Pings r=janerik,webidl,smaug 2020-12-14 16:50:07 +00:00
test_glean_parser_rust.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00