Tools for parsing the metadata for Mozilla's glean telemetry SDK
Перейти к файлу
Daniel Mueller 2f37479daf
[go server] enable configurable writer (#775)
2024-11-20 15:36:33 +01:00
.circleci CI: Setup Rust toolchain 2024-11-14 15:12:28 +01:00
.github Add codeowners 2024-07-15 12:50:46 +02:00
docs
glean_parser [go server] enable configurable writer (#775) 2024-11-20 15:36:33 +01:00
server_telemetry Send internal server metrics only in events ping 2024-05-08 11:49:01 +02:00
tests [go server] enable configurable writer (#775) 2024-11-20 15:36:33 +01:00
tools Apply auto-formatting 2024-03-05 22:44:42 +01:00
.editorconfig
.gitignore
.swiftlint.yml
AUTHORS.md
CHANGELOG.md [go server] enable configurable writer (#775) 2024-11-20 15:36:33 +01:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md Update release instructions to include nice-to-haves 2024-10-22 11:29:10 -04:00
LICENSE
MANIFEST.in
Makefile CI: Use newer `detekt` 2024-04-17 17:48:29 +02:00
README.md replace deprecated appdirs with platformdirs 2024-09-24 11:07:13 +02:00
pytest.ini
requirements_dev.txt Bump ruff from 0.7.0 to 0.7.2 2024-11-04 10:19:34 +01:00
setup.cfg
setup.py Allow earlier versions of platformdirs 2024-11-08 17:30:30 +01: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 SDKs. This includes producing generated code for various integrations, linting and coverage testing.

Documentation

Requirements

  • Python 3.8 (or later)

The following library requirements are installed automatically when glean_parser is installed by pip.

  • Click
  • diskcache
  • Jinja2
  • jsonschema
  • platformdirs
  • 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