Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tools for parsing the metadata for Mozilla's glean telemetry SDK

License

Notifications You must be signed in to change notification settings

Iinh/glean_parser

 
 

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

About

Tools for parsing the metadata for Mozilla's glean telemetry SDK

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 88.8%
  • Kotlin 4.2%
  • C# 2.2%
  • Swift 1.9%
  • HTML 1.7%
  • Makefile 1.2%