common_test.rs |
|
1782 |
configuration.rs |
|
9770 |
core_metrics.rs |
|
1595 |
lib.rs |
Glean is a modern approach for recording and sending Telemetry data.
It's in use at Mozilla.
All documentation can be found online:
## [The Glean SDK Book](https://mozilla.github.io/glean)
## Example
Initialize Glean, register a ping and then send it.
```rust,no_run
# use glean::{ConfigurationBuilder, ClientInfoMetrics, Error, private::*};
let cfg = ConfigurationBuilder::new(true, "/tmp/data", "org.mozilla.glean_core.example").build();
glean::initialize(cfg, ClientInfoMetrics::unknown());
let prototype_ping = PingType::new("prototype", true, true, true, true, true, vec!(), vec!());
prototype_ping.submit(None);
``` |
10370 |
net |
|
|
private |
|
|
system.rs |
Detect and expose `target_arch` as a constant |
3836 |
test.rs |
|
48595 |