Bug 1592935 - Document how to test exfiltrated Gecko metrics in samples-browser. r=janerik

Differential Revision: https://phabricator.services.mozilla.com/D52155

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Alessio Placitelli 2019-11-07 14:11:04 +00:00
Родитель b7c3599997
Коммит e9a5754ce0
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -242,8 +242,8 @@ Testing your metrics
At this time, the procedure for testing that metrics are correctly exfiltrated from GeckoView to Glean SDK-enabled products is a bit involved.
1. After adding your metric as described in the previous section, substitute the locally built GeckoView in your local copy of `Android Components <https://github.com/mozilla-mobile/android-components/>`__ as described in the `GeckoView docs <https://mozilla.github.io/geckoview/contributor/geckoview-quick-start#dependency-substiting-your-local-geckoview-into-a-mozilla-project>`__.
2. Build Android Components and publish to a local Maven repository as `documented here <https://mozac.org/contributing/testing-components-inside-app>`__.
3. Use the local version of Android Components in your local Mozilla application (e.g. Fenix) as `documented here <https://mozac.org/contributing/testing-components-inside-app>`__.
2. In Android Components, follow the `instructions to enable upload <https://github.com/mozilla-mobile/android-components/tree/master/samples/browser#glean-sdk-support>`__ in the `samples-browser` application.
3. Build Android Components and the `samples-browser` application.
4. Use the Glean SDK `debugging features <https://mozilla.github.io/glean/book/user/debugging.html>`__ to either dump the `metrics` ping or send it to the `Glean Debug View <https://docs.telemetry.mozilla.org/concepts/glean/debug_ping_view.html>`__.
.. note::