Skip to main content

Parser tools for Mozilla's Glean telemetry

Project description

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

History

Unreleased

1.4.1 (2019-08-28)

  • Documentation only.

1.4.0 (2019-08-27)

  • Added support for generating markdown documentation from metrics.yaml files.

1.3.0 (2019-08-22)

  • quantity metric type has been added.

1.2.1 (2019-08-13)

  • BUGFIX: includeClientId was not being output for PingType.

1.2.0 (2019-08-13)

  • memory_distribution metric type has been added.

  • custom_distribution metric type has been added.

  • labeled_timespan is no longer an allowed metric type.

1.1.0 (2019-08-05)

  • Add a special all_pings value to send_in_pings.

1.0.0 (2019-07-29)

  • First release to start following strict semver.

0.1.0 (2018-10-15)

  • First release on PyPI.

Project details


Release history Release notifications | RSS feed

This version

1.4.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

glean_parser-1.4.2.tar.gz (150.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glean_parser-1.4.2-py2.py3-none-any.whl (35.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file glean_parser-1.4.2.tar.gz.

File metadata

  • Download URL: glean_parser-1.4.2.tar.gz
  • Upload date:
  • Size: 150.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.35.0 CPython/3.7.2

File hashes

Hashes for glean_parser-1.4.2.tar.gz
Algorithm Hash digest
SHA256 3c16cb146f6c3e6f7dddab67f303021dd23fb5efa5a12da6ea3f8bd970c98334
MD5 174ee28d3cebcc994890600d753ef194
BLAKE2b-256 f3c9169c76972883b44c60a6033cd38b6cf993fc0d595801c9de9f9798d5e751

See more details on using hashes here.

File details

Details for the file glean_parser-1.4.2-py2.py3-none-any.whl.

File metadata

  • Download URL: glean_parser-1.4.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 35.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.35.0 CPython/3.7.2

File hashes

Hashes for glean_parser-1.4.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fcea41aaafb69294ff162ccec8badfe38341534fd0c63ebdede95ddfe501bfa3
MD5 e9c7411db415333bea3dec89adc7374f
BLAKE2b-256 71e6b3ebd8a1dd9c176650f90c98b44969ad828b4eb35941f2c8961113386a86

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page