--- id: glean-sdk version: "69.0.0" license: unclear license_treatment: unclear maintenance: active --- # glean-sdk — Mozilla's Glean Telemetry SDK: The Machine that Goes 'Ping!' License: unclear · Maintenance: active · Downloads: 221.0K/mo ## What it is and what it does Glean SDK is Mozilla's production telemetry framework, providing Python bindings to a Rust-backed core library. It enables applications to define, collect, and transmit structured telemetry data (events, counters, timings, and other metrics) through a standardized schema-driven approach. The SDK handles validation, batching, and transmission of telemetry pings to Mozilla's data infrastructure. The package depends on semver for version handling and glean-parser for schema validation. It ships as pre-built wheels for major platforms (macOS, Linux, Windows) and architectures (x86_64, ARM64), reducing installation friction. The library is actively maintained by Mozilla's data platform team and has been in production use since 2019. Use it for: - Collect structured telemetry from Python applications to understand user behavior and feature adoption - Validate telemetry schemas at build time using glean-parser before runtime data collection - Send batched usage metrics and performance data to Mozilla's telemetry pipeline for analysis - Track application events, crashes, and performance metrics in a privacy-respecting, schema-validated way - Integrate telemetry collection into desktop or server applications without building custom instrumentation ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Glean SDK is Mozilla's telemetry collection library that lets applications gather, validate, and send structured usage data to Mozilla's data pipeline. Yes, if you need to send telemetry to Mozilla's infrastructure or adopt a schema-driven telemetry framework. The SDK is actively maintained, has no known vulnerabilities, and ships with pre-built wheels for common platforms. The main caveat is that license treatment is unclear in the package metadata—verify the actual license (likely MPL 2.0 per the repository) before use in proprietary contexts. ## Install pip install glean-sdk uv add glean-sdk poetry add glean-sdk ## Installing glean-sdk Before you install: Medium install friction due to pre-built wheels for multiple platforms (macOS, Linux, Windows, ARM). Requires Python 3.9+. Active maintenance with recent commits and a stable release history since 2019. License in practice: License treatment is unclear in the package metadata, though the repository indicates Mozilla Public License v2.0. Verify the actual license terms before use in proprietary or restricted contexts. Quickstart: pip install glean-sdk from glean import Glean Glean.initialize(app_id='my_app', app_version='1.0.0') Requires Python 3.9 or later. Glean core requires Rust 1.90.0 or later for development/building from source. Verify before relying: - Exact scope and completeness of telemetry metrics supported beyond the SDK book documentation - Data retention and privacy guarantees for telemetry sent to Mozilla's pipeline - Whether glean-parser dependency is required at runtime or only for schema validation workflows ## Package facts - License: not declared (unclear) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 221.0K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags telemetry collection sdk, mozilla glean telemetry, structured event tracking, application usage metrics, data collection pipeline, telemetry validation, ping-based telemetry, telemetry, mozilla, data-collection [View on SkillFed](https://skillfed.io/packages/glean-sdk) · [View on PyPI](https://pypi.org/project/glean-sdk/)