Tools for parsing the metadata for Mozilla's glean telemetry SDK
Перейти к файлу
Jan-Erik Rediger fd7bf35b4b Bump to version 3.4.0 2021-05-28 16:34:25 +02:00
.circleci Don't rely on setup.py for installation anymore 2021-05-28 10:41:17 +02:00
.github Bug 1703818: Update HISTORY.rst to CHANGELOG.md (#306) 2021-04-08 11:00:35 -04:00
docs Don't rely on setup.py for installation anymore 2021-05-28 10:41:17 +02:00
glean_parser For Kotlin skip generating `GleanBuildInfo.kt` when requested (with `with_buildinfo=false`) 2021-05-28 16:31:53 +02:00
tests For Kotlin skip generating `GleanBuildInfo.kt` when requested (with `with_buildinfo=false`) 2021-05-28 16:31:53 +02:00
tools Rename data_categories to data_sensitivity (#202) 2020-07-21 19:07:52 -04:00
.editorconfig Initial commit from cookiecutter 2018-10-15 09:48:45 -04:00
.flake8 Add .flake8 configuration 2019-08-22 15:39:34 -04:00
.gitignore Use pre-built detekt 2019-10-22 14:56:16 -04:00
.swiftlint.yml Lint generated swift files (if swiftlint is available) 2019-09-16 14:25:38 +02:00
AUTHORS.md Bug 1691116: Convert (most) rst files to markdown (#273) 2021-02-16 12:45:51 -05:00
CHANGELOG.md Bump to version 3.4.0 2021-05-28 16:34:25 +02:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct file (#52) 2019-04-01 09:30:27 +02:00
CONTRIBUTING.md Don't rely on setup.py for installation anymore 2021-05-28 10:41:17 +02:00
LICENSE Initial commit from cookiecutter 2018-10-15 09:48:45 -04:00
MANIFEST.in Bug 1691116: Convert (most) rst files to markdown (#273) 2021-02-16 12:45:51 -05:00
Makefile Don't rely on setup.py for installation anymore 2021-05-28 10:41:17 +02:00
README.md Clarify in README that bugs are filed in bugzilla 2021-04-08 09:35:44 -04:00
requirements_dev.txt Bump sphinx from 3.5.4 to 4.0.1 (#331) 2021-05-17 09:23:52 -04:00
setup.cfg Fix pytest warning (#265) 2021-01-22 17:06:31 -05:00
setup.py Don't install jsonschema 4. 2021-05-28 16:05:25 +02:00

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 SDK. This includes producing generated code for various integrations, linting and coverage testing.

Documentation

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