Skip to content
Tools for parsing the metadata for Mozilla's glean telemetry SDK
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.github Initial commit from cookiecutter Oct 15, 2018
docs
glean_parser Bump version: 0.23.1 → 0.23.2 Apr 18, 2019
tests
.editorconfig
.gitignore
AUTHORS.rst
CODE_OF_CONDUCT.md
CONTRIBUTING.rst
HISTORY.rst
LICENSE
MANIFEST.in
Makefile
README.rst
requirements_dev.txt
setup.cfg
setup.py
tox.ini

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.

Requirements

  • 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

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
You can’t perform that action at this time.