115 stable releases (27 major)

new 64.2.0 Apr 28, 2025
64.0.0 Mar 18, 2025
63.1.0 Jan 30, 2025
63.0.0 Nov 28, 2024
0.0.0 Dec 4, 2018

#1 in #glean

Download history 199/week @ 2025-01-05 222/week @ 2025-01-12 161/week @ 2025-01-19 315/week @ 2025-01-26 382/week @ 2025-02-02 264/week @ 2025-02-09 315/week @ 2025-02-16 278/week @ 2025-02-23 277/week @ 2025-03-02 364/week @ 2025-03-09 369/week @ 2025-03-16 251/week @ 2025-03-23 371/week @ 2025-03-30 619/week @ 2025-04-06 395/week @ 2025-04-13 268/week @ 2025-04-20

1,674 downloads per month

MPL-2.0 license

1MB
16K SLoC

Glean

The Glean SDK is a modern approach for a Telemetry library and is part of the Glean project.

glean

This library provides a Rust language bindings on top of glean-core, targeted to Rust consumers.

Documentation

All documentation is available online:

Example

use glean::{ConfigurationBuilder, Error, metrics::*};

let cfg = ConfigurationBuilder::new(true, "/tmp/data", "org.mozilla.glean_core.example").build();
glean::initialize(cfg)?;

let prototype_ping = PingType::new("prototype", true, true, vec![]);

glean::register_ping_type(&prototype_ping);

prototype_ping.submit(None);

License

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/

Dependencies

~6.5–9.5MB
~168K SLoC