common_test.rs |
|
1898 |
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!(), true);
prototype_ping.submit(None);
``` |
12027 |
net |
|
|
private |
|
|
system.rs |
Detect and expose `target_arch` as a constant |
3836 |
test.rs |
include_info_sections |
48243 |