fune/third_party/python/glean_parser
Jan-Erik Rediger e9bbd20895 Bug 1698518 - Upgrade Glean to get new time API. r=chutten
This also includes an upgrade of glean_parser to v2.5.0
This was done using the following command:

    ./mach vendor python glean_parser==2.5.0

Differential Revision: https://phabricator.services.mozilla.com/D108448
2021-03-18 11:21:27 +00:00
..
.circleci Bug 1698518 - Upgrade Glean to get new time API. r=chutten 2021-03-18 11:21:27 +00:00
.github Bug 1664306 - Bump vendored glean_parser version to 1.28.5 r=janerik 2020-09-22 15:21:55 +00:00
glean_parser Bug 1698518 - Upgrade Glean to get new time API. r=chutten 2021-03-18 11:21:27 +00:00
tools Bug 1635260 - Update vendored glean_parser to 1.28.0 r=janerik 2020-07-29 16:53:10 +00:00
.editorconfig
.flake8
.gitignore
.swiftlint.yml
AUTHORS.md Bug 1698518 - Upgrade Glean to get new time API. r=chutten 2021-03-18 11:21:27 +00:00
CHANGELOG.md Bug 1698518 - Upgrade Glean to get new time API. r=chutten 2021-03-18 11:21:27 +00:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md Bug 1698518 - Upgrade Glean to get new time API. r=chutten 2021-03-18 11:21:27 +00:00
LICENSE
Makefile Bug 1698518 - Upgrade Glean to get new time API. r=chutten 2021-03-18 11:21:27 +00:00
MANIFEST.in Bug 1698518 - Upgrade Glean to get new time API. r=chutten 2021-03-18 11:21:27 +00:00
PKG-INFO Bug 1698518 - Upgrade Glean to get new time API. r=chutten 2021-03-18 11:21:27 +00:00
README.md Bug 1698518 - Upgrade Glean to get new time API. r=chutten 2021-03-18 11:21:27 +00:00
requirements_dev.txt Bug 1698518 - Upgrade Glean to get new time API. r=chutten 2021-03-18 11:21:27 +00:00
setup.cfg Bug 1698518 - Upgrade Glean to get new time API. r=chutten 2021-03-18 11:21:27 +00:00
setup.py Bug 1698518 - Upgrade Glean to get new time API. r=chutten 2021-03-18 11:21:27 +00:00

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.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

$ 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