glean / mozilla.telemetry.glean.private

Package mozilla.telemetry.glean.private

Types

BooleanMetricType

class BooleanMetricType

This implements the developer facing API for recording boolean metrics.

CounterMetricType

class CounterMetricType

This implements the developer facing API for recording counter metrics.

CustomDistributionMetricType

data class CustomDistributionMetricType : HistogramBase

This implements the developer facing API for recording custom distribution metrics.

DatetimeMetricType

class DatetimeMetricType

This implements the developer facing API for recording datetime metrics.

DistributionData

data class DistributionData

This class represents the structure of a distribution according to the pipeline schema. It is meant to help serialize and deserialize data to the correct format for transport and storage, as well as including a helper function to calculate the bucket sizes.

EventMetricType

class EventMetricType<ExtraKeysEnum : Enum<ExtraKeysEnum>>

This implements the developer facing API for recording events.

HistogramBase

interface HistogramBase

A common interface to be implemented by all the histogram-like metric types supported by the Glean SDK.

HistogramType

enum class HistogramType

Enumeration of the different kinds of histograms supported by metrics based on histograms.

JweData

data class JweData

A representation of a JWE value.

JweMetricType

class JweMetricType

This implements the developer facing API for recording JWE metrics.

LabeledMetricType

class LabeledMetricType<T>

This implements the developer facing API for labeled metrics.

Lifetime

enum class Lifetime

Enumeration of different metric lifetimes.

MemoryDistributionMetricType

class MemoryDistributionMetricType : HistogramBase

This implements the developer facing API for recording memory distribution metrics.

MemoryUnit

enum class MemoryUnit

Enumeration of different resolutions supported by the MemoryDistribution metric type.

NoExtraKeys

enum class NoExtraKeys

An enum with no values for convenient use as the default set of extra keys that an EventMetricType can accept.

NoReasonCodes

enum class NoReasonCodes

An enum with no values for convenient use as the default set of reason codes.

PingType

class PingType<ReasonCodesEnum : Enum<ReasonCodesEnum>> : PingTypeBase

This implements the developer facing API for custom pings.

PingTypeBase

open class PingTypeBase

The base class of all PingTypes with just enough to track their registration, so we can create a heterogeneous collection of ping types.

QuantityMetricType

class QuantityMetricType

This implements the developer facing API for recording quantity metrics.

RecordedEventData

data class RecordedEventData

Deserialized event data.

RecordedExperimentData

data class RecordedExperimentData

Deserialized experiment data.

StringListMetricType

class StringListMetricType

This implements the developer facing API for recording string list metrics.

StringMetricType

class StringMetricType

This implements the developer facing API for recording string metrics.

TimeUnit

enum class TimeUnit

Enumeration of different resolutions supported by the Timespan and DateTime metric types.

TimespanMetricType

class TimespanMetricType

This implements the developer facing API for recording timespans.

TimingDistributionMetricType

class TimingDistributionMetricType : HistogramBase

This implements the developer facing API for recording timing distribution metrics.

UuidMetricType

class UuidMetricType

This implements the developer facing API for recording UUID metrics.