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

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.2.1.tar.gz (147.5 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.2.1-py2.py3-none-any.whl (32.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: glean_parser-1.2.1.tar.gz
  • Upload date:
  • Size: 147.5 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.33.0 CPython/3.7.2

File hashes

Hashes for glean_parser-1.2.1.tar.gz
Algorithm Hash digest
SHA256 c9cff75be92c520f2f79a2abbb43a765df5a374c031b1b24a2ac42ca4f0576d2
MD5 59b5ff455c7b2a86f441d2ff3c71f554
BLAKE2b-256 e8e37056b81f7f158d482ee783674d6be565654f4b13803beca7d12dbba4ffb4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: glean_parser-1.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 32.1 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.33.0 CPython/3.7.2

File hashes

Hashes for glean_parser-1.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ab3586e0add6f67d1ca54f756f427c71231783e6c685f7f6420738628c20edd7
MD5 20f85da0250fa11fc60270389a75dab5
BLAKE2b-256 bbcb05df018eebe97f1645c946bdc85a49948a89802a22262a134f2febdb4427

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