зеркало из https://github.com/mozilla/gecko-dev.git
0afdad78d1
This version bump is required by the Rust glean-core version bump to v33.3.3. Depends on D96834 Differential Revision: https://phabricator.services.mozilla.com/D96835 |
||
---|---|---|
.. | ||
.circleci | ||
.github | ||
glean_parser | ||
tools | ||
.editorconfig | ||
.flake8 | ||
.gitignore | ||
.swiftlint.yml | ||
AUTHORS.rst | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.rst | ||
HISTORY.rst | ||
LICENSE | ||
MANIFEST.in | ||
Makefile | ||
PKG-INFO | ||
README.rst | ||
requirements_dev.txt | ||
setup.cfg | ||
setup.py |
README.rst
============ Glean Parser ============ Parser tools for Mozilla's Glean telemetry. Features -------- Parses the ``metrics.yaml`` files for the Glean telemetry SDK and produces output for various integrations. Documentation ------------- The full documentation is available `here <https://mozilla.github.io/glean_parser/>`__. Requirements ------------ - Python 3.6 (or later) The following library requirements are installed automatically when glean_parser is installed by `pip`. - appdirs - Click - diskcache - Jinja2 - jsonschema - PyYAML Additionally on Python 3.6: - iso8601 Usage ----- .. code-block:: console $ glean_parser --help Read in `metrics.yaml`, translate to kotlin format, and output to `output_dir`: .. code-block:: console $ glean_parser translate -o output_dir -f kotlin metrics.yaml Check a Glean ping against the ping schema: .. code-block:: console $ glean_parser check < ping.json