Expand description
API definitions for the different metric types supported by the Glean SDK.
Individual metric types implement this trait to expose the specific metrics API. It can be used by wrapping implementations to guarantee API conformance.
Structs§
- Object
Error - This type represents all possible errors that can occur when serializing or deserializing an object from/to JSON.
Enums§
- Event
Recording Error - The possible errors when parsing to an extra key.
- Histogram
Type - Different kinds of histograms.
- NoExtra
Keys - Default of no extra keys for events.
Traits§
- Boolean
- A description for the
BooleanMetric
type. - Counter
- A description for the
CounterMetric
type. - Custom
Distribution - A description for the
CustomDistributionMetric
type. - Datetime
- A description for the
DatetimeMetric
type. - Dual
Labeled Counter - A description for the
DualLabeledCounterMetric
type. - Event
- A description for the
EventMetric
type. - Extra
Keys - Extra keys for events.
- Labeled
- A description for the
LabeledMetric
type. - Memory
Distribution - A description for the
MemoryDistributionMetric
type. - Numerator
- A description for the
NumeratorMetric
subtype of theRateMetric
type. - Object
Serialize - An object that can be serialized into JSON.
- Ping
- A description for the
PingType
type. - Quantity
- A description for the
QuantityMetric
type. - Rate
- A description for the
RateMetric
type. - String
- A description for the
StringMetric
type. - String
List - A description for the
StringListMetric
type. - Text
- A description for the
TextMetric
type. - Timespan
- A description for the
TimespanMetric
type. - Timing
Distribution - A description for the
TimingDistributionMetric
type. - Url
- A description for the
UrlMetric
type. - Uuid
- A description for the
UuidMetric
type.