glean-parser
Parser tools for Mozilla's Glean telemetry
Decision gist · record as of 2026-08-14
Yes, if you are building or maintaining applications that use Mozilla's Glean telemetry framework. The package is actively maintained, has low install friction, and is production-stable. However, verify the license terms first, as the metadata does not clearly record the license under which it is distributed.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Low install friction with six common dependencies (click, diskcache, jinja2, jsonschema, platformdirs, pyyaml).
- Active maintenance with a release 24 days ago and last commit on 2026-08-11.
License · maintenance · safety
(unclear) — License status is unclear—no SPDX identifier or raw license text is recorded in the package metadata. Verify the actual license terms before adopting in proprietary or restricted-license projects.
last release 2026-07-21 (24 days) · last repo commit 2026-08-11 · 14 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 293,154 downloads/mo, #7,957 on PyPI
Alternatives
Verify before relying
pip install glean-parser
glean_parser translate -o output_dir -f kotlin metrics.yaml
glean_parser check < ping.json- Actual license under which glean-parser is distributed (metadata shows unclear status).
- Whether the package is suitable for production telemetry pipelines outside Mozilla infrastructure.
What it is and what it does
Glean Parser is a command-line tool and library for working with Mozilla's Glean telemetry framework. It reads telemetry configuration files in YAML format (metrics.yaml and pings.yaml) and translates them into generated code for various Glean SDK integrations—such as Kotlin—while also performing validation and linting against the Glean schema. The tool is built on common Python libraries (Jinja2 for templating, jsonschema for validation, PyYAML for config parsing) and exposes both CLI commands and a programmatic API.
It is typically used by teams instrumenting applications with Glean telemetry to validate their metric definitions before deployment and to generate the boilerplate code needed to integrate those metrics into their SDKs. The package is actively maintained and supports modern Python versions (3.9 through 3.13).
Use it for
- Validate metrics.yaml and pings.yaml files against Glean schema before committing to a repository.
- Generate Kotlin code from telemetry configuration for Android applications using Glean.
- Lint telemetry definitions to catch configuration errors early in the development cycle.
- Integrate telemetry validation into CI/CD pipelines for Glean-instrumented projects.
- Check incoming Glean ping payloads against the ping schema for correctness.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or maintaining applications that use Mozilla's Glean telemetry framework.
The package is actively maintained, has low install friction, and is production-stable. However, verify the license terms first, as the metadata does not clearly record the license under which it is distributed.
Install
glean-parser on PyPI
Before you install
Low install friction with six common dependencies (click, diskcache, jinja2, jsonschema, platformdirs, pyyaml). Active maintenance with a release 24 days ago and last commit on 2026-08-11.
Requires Python 3.9 or later.
License in practice
License status is unclear—no SPDX identifier or raw license text is recorded in the package metadata. Verify the actual license terms before adopting in proprietary or restricted-license projects.
Quickstart
pip install glean-parser
glean_parser translate -o output_dir -f kotlin metrics.yaml
glean_parser check < ping.json
Verify before relying
- Actual license under which glean-parser is distributed (metadata shows unclear status).
- Whether the package is suitable for production telemetry pipelines outside Mozilla infrastructure.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesclickdiskcachejinja2jsonschemaplatformdirspyyaml |
| Maintenance | Actively maintained 24 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 293,154 / month, #7,957 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9 |
Evidence: glean_parser-20.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “glean telemetry parser”
- glean-parserParses and validates Glean telemetry configuration files…
- glean-sdkGlean SDK is Mozilla's telemetry collection library that lets…
- glean-api-clientA Python SDK for accessing Glean's REST API, providing type-hinted…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also glean-sdk · opentelemetry-semantic-conventions-ai · glean-api-client · azureml-telemetry · tree-sitter-kotlin · azure-cli-telemetry · azure-monitor-opentelemetry · opentelemetry-instrumentation-threading · openlit · opentelemetry-semantic-conventions