Module glean_core::metrics
source · Expand description
The different metric types supported by the Glean SDK to handle data.
Structs
- A boolean metric.
- A counter metric.
- A custom distribution metric.
- Representation of a date, time and timezone.
- A datetime metric.
- A Denominator metric (a kind of count shared among Rate metrics).
- A snapshot of all buckets and the accumulated sum of a distribution.
- An event metric.
- A labeled metric.
- Experimental: A histogram buffer associated with a specific instance of a
CustomDistributionMetric
. - Experimental: A histogram buffer associated with a specific instance of a
MemoryDistributionMetric
. - Experimental: A histogram buffer associated with a specific instance of a
TimingDistributionMetric
. - A memory distribution metric.
- Developer-facing API for recording rate metrics with external denominators.
- An object metric.
- Stores information about a ping.
- A quantity metric.
- A rate value as given by its numerator and denominator.
- A rate metric.
- Represents the recorded data for a single event.
- Deserialized experiment data.
- Represents a list of metrics and an associated boolean property indicating if the metric is enabled from the remote-settings configuration store.
- A string list metric.
- A string metric.
- A text metric.
- Identifier for a running timer.
- A timespan metric.
- A timing distribution metric.
- A URL metric.
- An UUID metric.
Enums
- Different kinds of histograms.
- Represents any valid JSON value.
- Different resolutions supported by the memory related metric types (e.g. MemoryDistributionMetric).
- The available metrics.
- Different resolutions supported by the time related metric types (e.g. DatetimeMetric).
Traits
- A
MetricType
describes common behavior across all metrics.
Type Aliases
- A labeled boolean.
- A labeled counter.
- A labeled custom_distribution.
- A labeled memory_distribution.
- A labeled quantity
- A labeled string.
- A labeled timing_distribution.