Crate glean_core[][src]

Expand description

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

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

Ping collection, assembly & submission.

Storage snapshotting.

API definitions for the different metric types supported by the Glean SDK.

Manages the pending pings queue and directory.

Structs

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

The Glean configuration.

A specialized Error type for this crate’s operations.

The object holding meta information about a Glean instance.

Enums

A list enumerating the categories of errors in this crate.

The possible error types for metric recording. Note: the cases in this enum must be kept in sync with the ones in the platform-specific code (e.g. ErrorType.kt) and with the metrics in the registry files.

Different kinds of histograms.

The supported metrics’ lifetimes.

Functions

Returns a timestamp corresponding to “now” with millisecond precision.

Gets a reference to the global Glean object.

Sets or replaces the global Glean object.

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

Type Definitions

A specialized Result type for this crate’s operations.