2f37479daf | ||
---|---|---|
.circleci | ||
.github | ||
docs | ||
glean_parser | ||
server_telemetry | ||
tests | ||
tools | ||
.editorconfig | ||
.gitignore | ||
.swiftlint.yml | ||
AUTHORS.md | ||
CHANGELOG.md | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
LICENSE | ||
MANIFEST.in | ||
Makefile | ||
README.md | ||
pytest.ini | ||
requirements_dev.txt | ||
setup.cfg | ||
setup.py |
README.md
Glean Parser
Parser tools for Mozilla's Glean telemetry.
Features
Contains various utilities for handling metrics.yaml
and pings.yaml
for the
Glean SDKs. This includes producing generated
code for various integrations, linting and coverage testing.
Documentation
- How to Contribute. Please file bugs in bugzilla.
- User documentation for Glean.
glean_parser
developer documentation.
Requirements
- Python 3.8 (or later)
The following library requirements are installed automatically when
glean_parser
is installed by pip
.
- Click
- diskcache
- Jinja2
- jsonschema
- platformdirs
- PyYAML
Usage
$ glean_parser --help
Read in metrics.yaml
, translate to Kotlin format, and
output to output_dir
:
$ glean_parser translate -o output_dir -f kotlin metrics.yaml
Check a Glean ping against the ping schema:
$ glean_parser check < ping.json