android-components / mozilla.components.service.glean.private / CommonMetricData

CommonMetricData

interface CommonMetricData (source)

This defines the common set of data shared across all the different metric types.

Properties

Name Summary
category abstract val category: String
disabled abstract val disabled: Boolean
identifier open val identifier: String
lifetime abstract val lifetime: Lifetime
name abstract val name: String
sendInPings abstract val sendInPings: List<String>

Functions

Name Summary
shouldRecord open fun shouldRecord(logger: Logger): Boolean

Inheritors

Name Summary
BooleanMetricType data class BooleanMetricType : CommonMetricData
This implements the developer facing API for recording boolean metrics.
CounterMetricType data class CounterMetricType : CommonMetricData
This implements the developer facing API for recording counter metrics.
CustomDistributionMetricType data class CustomDistributionMetricType : CommonMetricData, HistogramMetricBase
This implements the developer facing API for recording custom distribution metrics.
DatetimeMetricType data class DatetimeMetricType : CommonMetricData
This implements the developer facing API for recording datetime metrics.
EventMetricType data class EventMetricType<ExtraKeysEnum : Enum<ExtraKeysEnum>> : CommonMetricData
This implements the developer facing API for recording events.
LabeledMetricType data class LabeledMetricType<T> : CommonMetricData
This implements the developer facing API for labeled metrics.
MemoryDistributionMetricType data class MemoryDistributionMetricType : CommonMetricData, HistogramMetricBase
This implements the developer facing API for recording memory distribution metrics.
QuantityMetricType data class QuantityMetricType : CommonMetricData
This implements the developer facing API for recording quantity metrics.
StringListMetricType data class StringListMetricType : CommonMetricData
This implements the developer facing API for recording string list metrics.
StringMetricType data class StringMetricType : CommonMetricData
This implements the developer facing API for recording string metrics.
TimespanMetricType data class TimespanMetricType : CommonMetricData
This implements the developer facing API for recording timespans.
TimingDistributionMetricType data class TimingDistributionMetricType : CommonMetricData, HistogramMetricBase
This implements the developer facing API for recording timing distribution metrics.
UuidMetricType data class UuidMetricType : CommonMetricData
This implements the developer facing API for recording uuids.