Crate glean_core

source ·
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

Re-exports§

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§

Enums§

  • An error returned from callbacks.
  • 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.

Traits§

  • Trait for metrics that can be nested inside a labeled metric.
  • A callback handler that receives the base identifier of recorded events The identifier is in the format: .
  • A callback object used to trigger actions on the foreign-language side.

Functions§

Type Aliases§