Parser tools for Mozilla's glean telemetry.
Parses the metrics.yaml files for the glean telemetry SDK and produces
output for various integrations.
The full documentation is available here.
- Python 3.7 (or later)
The following library requirements are installed automatically when glean_parser is installed by pip.
- appdirs
- Click
- diskcache
- inflection
- Jinja2
- jsonschema
- PyYAML
$ glean_parser --helpRead in metrics.yaml, translate to kotlin format, and output to output_dir:
$ glean_parser translate -o output_dir -f kotlin metrics.yamlCheck a glean ping against the ping schema:
$ glean_parser check < ping.json