[][src]Crate glean_core

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

Modules

ac_migration

A module containing glean-core code for supporting data migration (i.e. sequence numbers) from glean-ac. This is a temporary module planned to be removed in 2020, after the transition from glean-ac is complete.

metrics

The different metric types supported by the Glean SDK to handle data.

ping

Ping collection, assembly & submission.

storage

Storage snapshotting.

Structs

CommonMetricData

The common set of data shared across all different metric types.

Configuration

The Glean configuration.

Error

A specialized Error type for this crate's operations.

Glean

The object holding meta information about a Glean instance.

Enums

ErrorType

The possible error types for metric recording.

Lifetime

The supported metrics' lifetimes.

Functions

test_get_num_recorded_errors

Get the number of recorded errors for the given metric and error type.

Type Definitions

Result

A specialized Result type for this crate's operations.