Parser tools for Mozilla's Glean telemetry.
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.
- How to Contribute. Please file bugs in bugzilla.
- User documentation for Glean.
glean_parserdeveloper documentation.
- Python 3.9 (or later)
$ 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