Expand description
The different metric types supported by the Glean SDK to handle data.
Structs§
- Boolean
Metric - A boolean metric.
- Counter
Metric - A counter metric.
- Custom
Distribution Metric - A custom distribution metric.
- Datetime
- Representation of a date, time and timezone.
- Datetime
Metric - A datetime metric.
- Denominator
Metric - A Denominator metric (a kind of count shared among Rate metrics).
- Distribution
Data - A snapshot of all buckets and the accumulated sum of a distribution.
- Event
Metric - An event metric.
- Labeled
Metric - A labeled metric.
- Local
Custom Distribution - Experimental: A histogram buffer associated with a specific instance of a
CustomDistributionMetric. - Local
Memory Distribution - Experimental: A histogram buffer associated with a specific instance of a
MemoryDistributionMetric. - Local
Timing Distribution - Experimental: A histogram buffer associated with a specific instance of a
TimingDistributionMetric. - Memory
Distribution Metric - A memory distribution metric.
- Numerator
Metric - Developer-facing API for recording rate metrics with external denominators.
- Object
Metric - An object metric.
- Ping
Type - Stores information about a ping.
- Quantity
Metric - A quantity metric.
- Rate
- A rate value as given by its numerator and denominator.
- Rate
Metric - A rate metric.
- Recorded
Event - Represents the recorded data for a single event.
- Recorded
Experiment - Deserialized experiment data.
- Remote
Settings Config - Represents a list of metrics and an associated boolean property indicating if the metric is enabled from the remote-settings configuration store.
- String
List Metric - A string list metric.
- String
Metric - A string metric.
- Text
Metric - A text metric.
- TimerId
- Identifier for a running timer.
- Timespan
Metric - A timespan metric.
- Timing
Distribution Metric - A timing distribution metric.
- UrlMetric
- A URL metric.
- Uuid
Metric - An UUID metric.
Enums§
- Histogram
Type - Different kinds of histograms.
- Json
Value - Represents any valid JSON value.
- Memory
Unit - Different resolutions supported by the memory related metric types (e.g. MemoryDistributionMetric).
- Metric
- The available metrics.
- Time
Unit - Different resolutions supported by the time related metric types (e.g. DatetimeMetric).
Traits§
- Metric
Identifier - A
MetricIdentifierdescribes an interface for retrieving an identifier (category, name, label) for a metric - Metric
Type - A
MetricTypedescribes common behavior across all metrics.
Type Aliases§
- Labeled
Boolean - A labeled boolean.
- Labeled
Counter - A labeled counter.
- Labeled
Custom Distribution - A labeled custom_distribution.
- Labeled
Memory Distribution - A labeled memory_distribution.
- Labeled
Quantity - A labeled quantity
- Labeled
String - A labeled string.
- Labeled
Timing Distribution - A labeled timing_distribution.