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
BooleanMetrictype. - Counter
- A description for the
CounterMetrictype. - Custom
Distribution - A description for the
CustomDistributionMetrictype. - Datetime
- A description for the
DatetimeMetrictype. - Dual
Labeled Counter - A description for the
DualLabeledCounterMetrictype. - Event
- A description for the
EventMetrictype. - Extra
Keys - Extra keys for events.
- Labeled
- A description for the
LabeledMetrictype. - Memory
Distribution - A description for the
MemoryDistributionMetrictype. - Numerator
- A description for the
NumeratorMetricsubtype of theRateMetrictype. - Object
Serialize - An object that can be serialized into JSON.
- Ping
- A description for the
PingTypetype. - Quantity
- A description for the
QuantityMetrictype. - Rate
- A description for the
RateMetrictype. - String
- A description for the
StringMetrictype. - String
List - A description for the
StringListMetrictype. - Text
- A description for the
TextMetrictype. - Timespan
- A description for the
TimespanMetrictype. - Timing
Distribution - A description for the
TimingDistributionMetrictype. - Url
- A description for the
UrlMetrictype. - Uuid
- A description for the
UuidMetrictype.