$npx skillfedfor your agent

glean-sdk

Mozilla's Glean Telemetry SDK: The Machine that Goes 'Ping!'

With conditionsPyPI MonitoringReleased Jun 2026221.0K downloads / moPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — glean_sdk-69.0.0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl · glean_sdk-69.0.0-py3-none-macosx_10_12_x86_64.whl · glean_sdk-69.0.0-py3-none-macosx_11_0_arm64.whl
v69.0.0 · released 2026-06-22 · Python >=3.9 · 2 runtime deps: semver, glean-parser

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Glean core requires Rust 1.90.0 or later for development/building from source.
  • Medium install friction due to pre-built wheels for multiple platforms (macOS, Linux, Windows, ARM).

License · maintenance · safety

(unclear) — 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.

last release 2026-06-22 (53 days) · last repo commit 2026-08-14 · 460 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 221,043 downloads/mo, #9,285 on PyPI

Verify before relying

pip install glean-sdk

from glean import Glean
Glean.initialize(app_id='my_app', app_version='1.0.0')
  • 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
Same gist for agents: .md · .json

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 on this page. Verify before relying on it.

With conditions

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

glean-sdk on PyPI

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.

Requires Python 3.9 or later. Glean core requires Rust 1.90.0 or later for development/building from source.

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')

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

LicenseNot declared unclear
Python supportSupports the current Python release >=3.9
Install frictionMedium. Platform-specific wheel
Runtime dependencies
2 packages
semverglean-parser
MaintenanceActively maintained 53 days since the last release
Last repo commit
First released
Downloads221,043 / month, #9,285 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Rust

Evidence: glean_sdk-69.0.0-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl; glean_sdk-69.0.0-py3-none-macosx_10_12_x86_64.whl; glean_sdk-69.0.0-py3-none-macosx_11_0_arm64.whl; glean_sdk-69.0.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; glean_sdk-69.0.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; glean_sdk-69.0.0-py3-none-manylinux_2_34_x86_64.whl; glean_sdk-69.0.0-py3-none-win_amd64.whl; glean_sdk-69.0.0-py3-none-win_arm64.whl

Tags

Capabilities
telemetry collection sdkmozilla glean telemetrystructured event trackingapplication usage metricsdata collection pipelinetelemetry validationping-based telemetry
Topics
telemetrymozilladata-collection

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 › “telemetry collection sdk”

  • glean-sdkGlean SDK is Mozilla's telemetry collection library that lets…
  • iterative-telemetrySends anonymized telemetry data from Iterative tools, collecting…
  • opentelemetry-distroProvides a Python distribution package for OpenTelemetry that bundles…

Give your agent the search over MCP, or paste the wish link into any chat.

More Monitoring packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
opentelemetry-semantic-conventions Worth it
PyPI · Monitoring · released Jul 2026

Provides generated Python code for OpenTelemetry semantic conventions, enabling standardized attribute naming and constant definitions for instrumentation and telemetry collection.

Install it if you are using OpenTelemetry and want to follow semantic conventions correctly.

Apache-2.0pure Python · 3.10+
542.9Mdownloads / mo
opentelemetry-sdk Worth it
PyPI · Monitoring · released Jul 2026

Provides the reference implementation of the OpenTelemetry API for collecting and exporting traces, metrics, and logs from Python applications.

Apache-2.0pure Python · 3.10+
521.8Mdownloads / mo
opentelemetry-api With conditions
PyPI · Monitoring · released Jul 2026

Provides the abstract API and interfaces for OpenTelemetry instrumentation in Python, defining how to emit traces, metrics, and logs without tying code to a specific SDK implementation.

Apache-2.0pure Python · 3.10+
463.8Mdownloads / mo
opentelemetry-exporter-otlp-proto-http Worth it
PyPI · Monitoring · released Jul 2026

Exports OpenTelemetry observability data to an OpenTelemetry Collector using Protobuf-encoded messages over HTTP.

Install it if you are using OpenTelemetry in Python and need to send data to a Collector over HTTP.

Apache-2.0pure Python · 3.10+
409.9Mdownloads / mo
opentelemetry-instrumentation Worth it
PyPI · Monitoring · released Jul 2026

Provides automatic instrumentation commands and programmatic APIs to inject distributed tracing into Python applications without code changes, detecting and instrumenting packages used by your program.

Install it if you need distributed tracing without code changes and have compatible instrumented packages in your environment.

Apache-2.0pure Python · 3.10+
393.5Mdownloads / mo

See also glean-api-client · glean-parser · mozilla-taskgraph · mozlog · azureml-telemetry · mozrunner · mozdevice · mozfile · kanaries-track · mozprofile